Re: Project Sample plugin devt: templating?

geertjan wielenga <[email protected]> Fri, 04 Nov 2016 12:44:06 +0100
Newsgroups gmane.comp.java.netbeans.devel
Organization Oracle Corporation
Message-ID <[email protected]>
This should still work:

https://blogs.oracle.com/geertjan/entry/extension_to_extended_java_project

https://blogs.oracle.com/geertjan/entry/extension_to_extended_java_project1

Gj

On 2-11-2016 22:55, djey wrote:
> Hi,
>
> I am creating a netbeans plugin in order to allow users to create a java project according to a given structure, using a given set of libs and so on...
>   
> I've followed the NetBeans Project Sample Module Tutorial and the base is there and working.
>
> But now I would want to go further and to use templating in order to, for instance, update the default class name to the name of the project (set in the wizard)...
>
> But I can't find any documentation on how to do this. Is it even possible to use freemarker for such tasks, the same way as it is possible for File Template as described in File Template Module Tutorial?
>
> Thanks in advance,
>
>
>
>