Re: Java template folder
Tomas Zezula <[email protected]> Thu, 31 Jul 2003 10:22:54 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
On Wed, 2003-07-30 at 18:59, Peter Wisnovsky wrote: > I'd like to have my module add some templates to the list provided by > the Java module (e.g. "Applet", "Class", etc.). I used to do this by > having templates in my layer file in the folder > > <folder name="Templates"> > <folder name="Classes"> > > Instead this created another "Classes" dir in the AllTemplates folder; > I tried changing this to imitate the path in java-nature.xml to > > <folder name="Templates"> > <folder name="SourceFiles"> > <folder name="Classes"> > > but now they end up in AllTemplates/SourceFiles/Classes. Is it still > possible to add templates to the Java module's directory? Yes,it is, but in the current implementation you have to put the templates into the nature. You have to either create your own nature or reopen other nature and put your templates into the folder Templates/SourceFiles/Classes. Tomas > > Peter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >