Last updated January 06, 2009 20:05, by Rémon Sinnema
= How to build the plugins from sources
== Requirements
* Install Eclipse IDE for Java EE Developers from [http://www.eclipse.org/downloads/].
* Install DeltaPack from [http://archive.eclipse.org/eclipse/downloads] - click on 3.4 link and download the package in the DeltaPack section.
* Download the SDK zip file from [javafx.com] (TBD - at the moment only the installer is available, you have to zip it back)
== Get the sources
* svn co https://kenai.com/svn/eplugin~subversion/trunk eplugin
== Run the build
* cd eplugin
* ant -DeclipseDir=<path> -Djavafx.sdk.build.url=<url_to_zip> clean build-windows [build-macosx] [build-linux]
for instance on my machine
* ant -DeclipseDir=c:\eclipse -Djavafx.sdk.build.url=file:///C:/sdk/javafx_sdk-1_0-${platform}.zip clean build-windows build-macosx
* where c:\sdk contains
** javafx_sdk-1_0-windows-i586.zip
** javafx_sdk-1_0-macosx-universal.dmg
You can also make use of the environment variable ECLIPSE_HOME. For instance, on my GNU/Linux machine:
* export ECLIPSE_HOME=/opt/eclipse
* ant -Djavafx.sdk.build.url=file:://opt/javafx/javafx_sdk_1.0-linux-i586.zip clean build
BTW, you can get the unofficial (!) GNU/Linux version of JavaFX 1.0 at [http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/ Silveira Neto's blog].





