wolip..atos.de wrote:
> Hello,
>
> where can i edit this java header?
>
> // Generated by the WOLips TemplateEngine Plug-in at 02.08.2005 16:27:56
>
Harald Niesche wrote on 07.09.2004 01:04:
> Sako! wrote:
>
>> this could be an Eclipse question, please tell me if so.
>
>
> It's not.
>
>> everytime i start a new Project in WOLips i get some standard classes
>> like Application.java, ... etc..
>> i would like to add some standard code lines like
>> * *
>>
>> * static * Logger logger = Logger.getLogger(Application. * class * );
>>
>> any idea how can i do that, that automatically the code will include
>> this code line?
>
>
> You can actually change the templates WOLips uses to generate these
> files, they should be in the templates folder inside the
> org.objectstyle.wolips.templateengine plugin (it's in the plugins folder
> of your eclipse installation).
>
> The template for Application.java is called Application.java.vm inside
> the woapplication folder. There is another one for d2w application in
> the folder d2w_application (sounds simple, doesn't it?).
>
> If you change these files you should keep a copy or you'll probably lose
> your changes when you update WOLips.
>
> Harald
>
The component templates are in the same place.
You're welcome.
Harald
-- Harald Niesche - theCo.de AG fon: +49 30 617897-28 fax: -10 h.niesch..heCo.de http://theCo.de
This archive was generated by hypermail 2.0.0 : Tue Aug 02 2005 - 12:00:35 EDT