Hello Shiv,
Here the steps I followed to create compile with Visage and JavaFX 2.0 (VisageFX):
- Check out Visage project and clean/build it;
- Check out VisageFX, solve the reference problem in Netbeans and clean/build it;
From now you are able to create JavaFX 2.0 apps using the old and good Visage. For this, what I did was the following steps:
- I took Visage build files and created a Visage "dist" in my machine. After this I set the VISAGE_HOME variable and put it in my path, so I'm able to call "visage" and "visagec" on command line;
- Now I can create .visage files, open with notepad++ and start creating code from what is done with VisageFX project.
- To compile it I use the following command:
# visagec - classpath .;{JavaFX 2.0 rt.jar file};{visagefx JAR file} filename
- To run it I use the following command:
# visage - classpath .;{JavaFX 2.0 rt.jar file};{visagefx JAR file} classname
Please, let me know if these instructions were helpful :)
--
William Antônio SiqueiraJava Support Analyst
Colaborador do JavaFree.org