Rechtacek'sMy notices, hints or tipsWho Am I? |
|
|
Friday Dec 05, 2008
Improved handling of file templates in NetBeans 7.0
NetBeans allows IDE users (or users of application built of top of NetBeans RCP) to use predefined templates of files for creating standard files (e.g. Java classes, Swing forms, Configurations etc.). Besides this, users would like to save own files as a template for further usage or customize predefined templates to their taste. During recent NetBeans releases we got a lot of feedback about file templates handling, unluckily many of them were bug reports or other complaints. A pretty good summary did Petr Pisl in his blog http://blogs.sun.com/netbeansphp/entry/how_to_manage_templates_in. On base of that, on bug reports and using RFEs is Issuezilla I created a wikipage FileTemplatesOpenIssues where I did a evaluation of troubles in file templates handling and link up problems with corresponding issues in Issuezilla. So, and now some better news In detail, which parts will be better:
Posted at 05:30PM Dec 05, 2008 by Rechtacek's in NetBeans | Comments[4] |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thanks for doing this, Jirka. It will make working with customized templates much easier!
Posted by Tom Wheeler on December 05, 2008 at 07:01 PM CET #
This improvement is really needed.
Posted by Landing Page Templates on December 06, 2008 at 11:33 PM CET #
Hi Jiri,
is it possible to store templates in the project folder. I have defined a new license template and set the "project-license" property in the "project.xml" file of my fre-form Java project. I can now create a new license template, but it will be sored on my personal .netbeans directory under "config/Templates/Licenses/license-sap.txt". If other users open the project, they will get an error message when they create new files, because the license file can not be found on there machines.
Is there a way to store templates in the project directory (preferably under "nbproject/") such that everybody can use these templates?
Thank you and best regards,
Volker
Posted by Volker H. Simonis on January 08, 2009 at 05:13 PM CET #
Hi Volker,
I'm afraid I can help you with this problem. I'll discuss it with guys working on NetBeans project support and let you know.
Regards,
Jiri
Posted by Jiri Rechtacek on January 11, 2009 at 03:24 PM CET #