by Heiko Böttger » Fri Oct 14, 2011 7:15 am
Yes, it is. To do this, you have to create an instance of a BuildConfig and register your templates as a TemplateGeneratorTask^using the buildTask-Relation. If you already have a buildconfig in use, you can skip the next paragraph.
The easiest way to do so, is creating the buildconfig with the "File->New->BuildConfig"-Wizard. Make sure you have selected the template project before opening it, allowing the wizard dialog to be preconfigured based selection on your selection.If the wizard is not there, you probably have to switch to the actifsource perspective first. Select all template you want do be used when building with this configuration.
After creating the buildconfig change the protected region comments by setting the commentStartTag and the commandEndTag. In your case both values should be #.
Now you have to apply the buildconfig (if not already done) to your targetfolder. Go to your targetproject, right click and open the properties-dialog. Select the "Target Folders"-tab on the "actifsource" propertypage and change the default entry to your buildconfig. After that step you have to add the actifsource packages containing the instance which are used for that build. These instances are returned when invoking the Build.allXXX-Functions. Close the dialog by pressing "Ok".
Best regards
Heiko Böttger