Changing where the model & persistence projects are generated

Posts   
 
    
costab
User
Posts: 36
Joined: 21-Aug-2010
# Posted on: 10-Jun-2011 02:15:48   

What is the easiest way to change the folders where the model and persistence projects are created?

By default, assuming I have the llblgen pro project in directory x they will be created in (and I leave the destination root folder set to .) :

x\model x\persistence

I want them to be created in: x\app_name.model x\app_name.persistence

I tried to set the 'additional destination folder' parameter on the Task queue to execute but llblgen pro creates:

x\app_name.model\model

where I set the 'additional destination folder' to app_name.model. I want the content to be right under app_name.model not under app_name.model\model.

I dug up more and there are some parameters for the various tasks on Task Queue to execute', where I can override the folder that gets created but I have to go individually to each task and change the folder name. I find this painful and I thought that there must be a global setting somewhere that I cannot find to allow me to globally change that directory.

Thank you

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 10-Jun-2011 05:22:24   

You have various options:

A. At Project -> Project Properties -> Output Settings, you can change the destination folder namaes.

B. If you want to add a root folder, you can set it up in the Additional Parameters of the Task Group (i.e. SD.Tasks.Adapter.DatabaseGeneric).

C. You can modify individually the parameters in each task as you saw. To ease this tass, you could create a new .preset based on the one you are using, then open it into a notepad and do a find/replace.

David Elizondo | LLBLGen Support Team
costab
User
Posts: 36
Joined: 21-Aug-2010
# Posted on: 11-Jun-2011 00:55:28   

Thank you. I ended up doing C.