SVN diff due to "Code is generated on:"

Posts   
 
    
HenrikP
User
Posts: 1
Joined: 04-Jul-2006
# Posted on: 04-Jul-2006 00:42:31   

Hey Otis

Could you add a config section for the header of the templates, so that we can switch on/off what should be generated in the header of each file. Or you could move the header to a file that all the templates include. Then I only have to change one file.

By header I mean these lines:

/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: <[LLBLGenVersion]> // Code is generated on: <[Time]> // Code is generated using templates: <[TemplateName]> // Templates vendor: Solutions Design. // Templates version: <[TemplateVersion]> //////////////////////////////////////////////////////////////

Each time I refresh the files I get a ton of svn commits due to :

-// Code is generated on: 2. juli 2006 12:15:13 +// Code is generated on: 4. juli 2006 00:10:19

It’s not trivial to update all the templates and then be able to update to the latest version of llblgen at a later time, without re-editing all the template files again.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 04-Jul-2006 07:29:41   

You may set TdlEmitTimeDateInOutputFiles in the project properties to false. This is an inherited property from the preferences, so for future projects, also set it in the LLBLGen Pro preferences.

And then no timestamp will be emitted in the generated files.