Thursday, May 8, 2008
Every one wants to be on stage...even bugs
I just read a post by Lukas Hasik ( http://blogs.sun.com/lukas/entry/failed_demos_at_javaone ) talking about failed demos at javaone and already we have three failed demos....the question that raised is dis...why did the bugs all want to appear at the presentation time? No matter how much QA u do..u cant seem to get a bug-free code and at presentation they all keep coming up....well i guess this blog answer that.....Let me know what you feel ok?
Building Java FX using Netbeans 6.1
For some of you using netbeans 6.1 and having problems with Java FX, here is the solution....first you can't find Java FX under plugins as is usually the case with 6.0.1 and older...The reason for this is that the Netbeans beta update URL is set to 6.1 and you have to manually change that...instructions to do that are available here
https://openjfx.dev.java.net/javafx-nb60-plugin-install.html
I also found this site on the netbeans plugin portal http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily/ i guess the claim this secondlink is d 6.1 build of JavaFX(I've not tried it)
But if you like to play with the raw source like myself...here is what to do....
Now you have javafx compiled and the jar file should be in the folder $JFXFOLDER/openjfx-compiler/dist/lib...you can easily add this to your path so that you dont reference this folder anytime you want to compile a Java FX program...using your own build
https://openjfx.dev.java.net/javafx-nb60-plugin-install.html
I also found this site on the netbeans plugin portal http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily/ i guess the claim this secondlink is d 6.1 build of JavaFX(I've not tried it)
But if you like to play with the raw source like myself...here is what to do....
- Download the latest source from https://openjfx.dev.java.net/source/browse/openjfx/ using svn
- If you want the tar.gz format use this link https://openjfx.dev.java.net/servlets/ProjectDocumentList
- After downloading the source.....open Netbeans and select Open Project
- Navigate to the folder where jfx is download...Netbeans sees the folder as a Netbeans Project...Open it..Netbeans will complain of some dependencies files missing....just ignore it
- For some GodKnowsWhat reason..this project does not build successfully under Netbeans..You need to make some changes to the bootstrap.xml file.
- Open the folder where jfx is downloaded and open the file bootstrap.xml with your favourite XML editor (which I guess is Netbeans..I use Netbeans)
- On the navigator tab you will see Ant Targets...double click on ant..Netbeans automatically points you to the target ant
- Put a comment on lines 93 to 98 (use html comments).
- Now download the latest ant build from http://www.apache.org/dist/ant/binaries/
- Extract the contents to $JFXFOLDER/bootstrap/ant-1.7.0/ where JFXFOLDER is d folder in which you have your jfx files
- Next create a folder ant-1.7.0 in d folder $JFXFOLDER/tools/
- Now build the project...the project should run smoothly without any problem...it will also download all the necessary files and folders and put them where they should be......
- So that Netbeans wont download these files next time I want to build the project...Sorry I cant have XML code in here....mail me to get the modified bootstrap.xml
Subscribe to:
Posts (Atom)