Re: Customize Java FX Project Template in NetBeans v8

geertjan wielenga <[email protected]> Thu, 23 Mar 2017 22:05:51 +0100
Newsgroups gmane.comp.java.netbeans.devel
Organization Oracle Corporation
Message-ID <[email protected]>
OK, let's discuss it on Skype.

Geertjan


On 23-3-2017 8:39, helasz wrote:
> Thanks geertjan!
>
> In the attached compressed file you will find two further compressed files:
>
> 1) multipleUI.zip
> this is the complete source of the Java FX Application which I would like to turn into a Project Template.
>
> 2) muiPanelVisual.zip
> These are the two files I guess I need to customize in the resulting project template. I can post if necessary the whole template project Netbeans 8.2 did create for me (2 MB compressed file)
>
> I think I need to carry out two tasks here:
>
> a) change strings (Application class name, package name, some of the folder names) wherever they appear in the source files (among them in build.xml, test packages, etc.) -> I guess this might be done with a sort of linux' sed command, but there might be more convenient alternatives I am not aware of
>
> b) create (alter the original) folder structure of the new project accordingly
>
> I would probably be able to code these two tasks in Java, but I am sure somebody has already done that before (better than me), so I would prefer to use a code which has been tested.
>
> I have a Skype account but I have not used it for a couple of years, so I need to revisit installation, settings, etc. I will be able t ouse it out of working time (from 17:00 to 21:00 pm CE)
>
> Thanks,
> helasz
>
>
>
>
> Attachments:
> http://forums.netbeans.org//files/sampletemplate_376.zip
>