omar wrote:
Greetings,
I am customizing some of the LLBL templates and I wish to keep these customizations in a copy of the original template file. This meens I have to modify the template set config file to bind the new template file instead of the original used one.
So it's best to copy that one too and make your changes in that file.
1- If I keep my customized copies of the templates in a seperate folder of LLBL's, how can I tell the LLBL desginer to use these templates
By using a different template config file. The generator config tells the code emitter task performer which template ID to use. The code emitter then loads the template bound to that ID and works with that template. Which template is bound to which ID is defined in the chosen template config. Please see the SDK documentation for details on this.
2- what are those lptTemplate files used for and how are they different from the other *.template files
.lpt templates are templates which have C# / VB.NET scripting lanuage ala codesmith and other code generators. These are in beta and very new. The .template templates are the templates you need for generating code and which use TDL, (template definition language), a pattern matching language. The template editor which is released soon as beta, will allow you to construct new template sets, edit tdl templates and .lpt templates and test templates in the editor, so working with templates is then very easy.