Dynamic folder creation using rootnamespace

Posts   
 
    
cbueno
User
Posts: 12
Joined: 05-Oct-2006
# Posted on: 09-Oct-2006 14:27:17   

Hi,

I want to know if there is some keyword to be used in Tasks parameters that return the name of Root NameSpace.

Example:

RootNameSpace: MyApp

Task SD.Task.Base.CreateAFolder

Parameter (example): destinationFolder: [rootNameSpace].SomethingMore

The expected final result:

destinationFolder: MyApp.SomethingMore

Jessynoo avatar
Jessynoo
Support Team
Posts: 296
Joined: 19-Aug-2004
# Posted on: 09-Oct-2006 16:32:26   

Hi,

from within the designer's project properties, you can set the dbgenericSubFolder and dbspecificSubFolder, which are the only parameters that get dynamically updated for the folder creator task (parameters are specific to each type of task). I guess keeping those in sync with your rootnamespace can do the trick.

Cheers

cbueno
User
Posts: 12
Joined: 05-Oct-2006
# Posted on: 09-Oct-2006 17:01:24   

Jessynoo wrote:

Hi,

from within the designer's project properties, you can set the dbgenericSubFolder and dbspecificSubFolder, which are the only parameters that get dynamically updated for the folder creator task (parameters are specific to each type of task). I guess keeping those in sync with your rootnamespace can do the trick.

Cheers

Hi,

Thanks.

I believe that your tip is the only way to do the trick.

The tag [rootNameSpace] could be added how part of Task Parameters. It will enable make some "tricks" concatenations, and create more custom directory and files names, anyway thank you again.

Cheers!

GabeNodland avatar
Posts: 65
Joined: 31-Dec-2004
# Posted on: 22-Mar-2007 18:18:08   

I know this is an old thread but..

I need a better way to have a dynamic folder structure for the CodeEmmiters that have the destinationFolder parameter, yeah it works fine for the vanilla stuff using the the [dbspecificSubFolder] and [dbgenericSubFolder].

However I would like my business layer to go into a folder that has the rootnamespace in it, and the only way I can see to do this, which I think is not good, is to modify every task by using presets.

Frans, is there a better way? can we get [rootNamespace] added?

Thanks,

Gabe

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 23-Mar-2007 03:51:17   

I'm not sure of the answer on this one, but could you post this in a new thread? If you are posting in reply to a thread please post a link to that thread. Thanks.

GabeNodland avatar
Posts: 65
Joined: 31-Dec-2004
# Posted on: 23-Mar-2007 04:29:10   

I'm not sure of the answer on this one, but could you post this in a new thread? If you are posting in reply to a thread please post a link to that thread. Thanks.

bclubb,

per your request, please disreguard the last message that reopened this thread

instead please refere to this new thread

Dynamic folder creation using rootnamespace #2 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=9422

Thanks,

Gabe