Un-safe Adapter Templates

Posts   
 
    
Bashar
User
Posts: 108
Joined: 11-Nov-2004
# Posted on: 27-Aug-2005 15:18:30   

Dear Frans,

I was wondering, what is the possibility of you providing us un-safe adapter and self-service templates, in addition to the templates you're already providing?

Although it is easy to overwrite whatever files that need overwriting manually, I still think that it would be even easier if I had the template do it for me.

I also know that I can modify the templates my self, but then I'd be missing any updates to the templates or I'd have to do a lot of work everytime a new template is introduced.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 27-Aug-2005 17:58:31   

The safe/unsafe flag is in the generator config file simple_smile Every task which uses the TDL interpreter specifies a paramater 'failWhenExistent'. Normally this is set to 'false'. If it's set to true, the file won't be overwritten when it exists. Simply setting all these parameter definitions of failWhenExistent to false, will make the generator overwrite all files, unless they're readonly simple_smile

Frans Bouma | Lead developer LLBLGen Pro