Skip to main content

Building fx files with maven

2 replies [Last post]
Joined: 2008-06-12

I'm working on a system that uses a javafx-based GUI.

Does anyone have any idea how to get the fx files to build using maven? The only thing missing from the jar file that maven builds is the classes in the FX file. Right now I'm able to build the entire system using Netbeans, but that's not entirely advantageous to our development environment.

I'm moving to invoke the FX classes using a java proxy.

Any other pointers?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-07-12

See maven-compiler-plugin:

Joined: 2008-04-22

If you want to interpret them at runtime then just move them into the src/main/resources folder.

If you want to compile them then you might want to use the ant-run plugin and execute the javafxc from within a self-made build script...