I'm trying to build JFX scene builder from openjfx sources but I'm can't find a valid howto or clear documentation, I've already read the official openjfx instruction that are not for scene builder but for the whole sdk, so I've installed mercurial and gradle but i have some question:
1) Can i build only the scene builder without building the whole SDK ?
2) I've tried to run gradle from apps/scenebuilder folder it run successfully but where to find the generated artifact ? I was expecting a target folder with a jar inside but nothing was generated.
3) I've googled around and found that it should be possible to download only the scene builder sources from mercurial but i can't find any valid mercurial repo.
any help will be highly appreciated, many thanks.
Ok,
It turned out that there's no need to build the whole SDK from openjfx to build the scene builder app I've solved this way:
1) Installed latest ant from apache official site
2) Gone into the apps/scenebuilder folder
3) Run ant -Dplatforms.JDK_1.8.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/ jar
This worked for me, the result of the build is in the "dist" folder and to run the just built scene builder i had to use
/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home//bin/java -cp /Users/fabiofrumento/openjfx/apps/scenebuilder/SceneBuilderKit/dist/SceneBuilderKit.jar:/Users/fabiofrumento/openjfx/apps/scenebuilder/SceneBuilderApp/dist/SceneBuilderApp.jar com.oracle.javafx.scenebuilder.app.SceneBuilderApp
Obviously the paths are to be customized for you installation.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments