Hi All,
I'll openly admit that I'm stumped with "the best" way to implement support
for JavaFX in maven. However all existing support seems to be quite old
~13months (i.e. not based on the latest final releases of javafx, or a
little heavy to work with). In the hope of putting a few things on the table
perhaps I can get some of the brains trust to help me get a start.

JavaFX ship's with an ant taskdef for compilation only (does not include
javafxdoc). I have managed to get this to work without the installation of
an instance of JavaFX installed by keeping a local copy of the jar's in the
ant project. Maven could do just the same (although installing all these
jar's in the maven repo could be a problem (might be cause for an
install:javafx goal to be created).

Beyond getting all the required jar's for the classpath, there's also the
issue of the compilation itself from a maven plugin. Could we just embed an
ant task runner? do we use and <exec> wrapper? should we attempt to directly
interface like the (closed sourced) task def does?

I'm not sure what the best solution is here, especially when you want to
take into consideration consistency between developers and the JavaFX SDK
version.

Really keen to get this going!

Reply via email to