Now that we have JavaFX 1.2 for Linux the stress is over. Putting my project under Hudson was straightforward:
- Install the JavaFX SDK on the server and take note of the installation path (in my case /home/fgiudici/javafx-sdk1.2).
- Configure a freeform job under Hudson and set all the usual Ant stuff.
- Just add "platforms.JavaFX_1.2_SDK_.fxhome=/home/fgiudici/javafx-sdk1.2" in the Ant Properties tab
The platform name, of course, depends on the name you gave to it. Have a look in your $HOME/.netbeans/6.5/build.properties to see how it is encoded.
That's it. Of course, this works for JavaFX projects made with NetBeans.