Skip to main content

NetBeans 6.0: Compiling JavaFX Scripts

3 replies [Last post]
thetraveller
Offline
Joined: 2008-02-06
Points: 0

Hello,

I am running NetBeans 6.0 with the JavaFX plug-in. I've found it to be a really easy environment to quickly write and test my JavaFX script files.

However, when my JavaFX projects are "compiled," a jar file is created with "non-compiled" JavaFX source files.

How do I package a JavaFX project in NetBeans with "compiled" JavaFX files, rather than the source *.fx files?

This seems like a basic need, since it would prevent me from creating POJO's, which do compile into .class files in the JAR, to get sensitive information like database URLs, login credentials, etc.

Also, a general "hiding" of my intellectual property is also a nice thing.

Any feedback would be GREATLY appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
thetraveller
Offline
Joined: 2008-02-06
Points: 0

I went to the link mbien.

Thanks again for your feedback.

mbien
Offline
Joined: 2007-04-29
Points: 0

the JavaFX script plugin for NetBeans is not feature complete (milestone 3). The JavaFX script compiler is the next item in the TODO list.

http://javafx.netbeans.org/

thetraveller
Offline
Joined: 2008-02-06
Points: 0

So I can simply use JavaFXPad to compile it, once I'm done designing it in NetBeans?

Sorry to beat a dead horse, but is that correct? Then my source files will not be viewed?