Planet JFX

Ant task

118pages on
this wiki
Add New Page
Add New Page Talk0

Location, Availability Edit

Included in the compiler source & binaries is an [Ant] task that aids in compiling JavaFX Script programs.

Its fully qualified class name is:

Usage Example Edit

A usage example can be seen in the "chris" subfolder of the compiler source sandbox folder.

Importing the task into your ant file looks like this:

       <property name="javafxc.home" value="change/me"/>
       <property name="javafxc.class.path" 
       <taskdef resource="" classpath="${javafxc.class.path}"/>

And actually calling the compiler looks like this:

   	<javafxc srcdir="." destdir="." includes="**/*.fx"

The javafxc task takes the same parameters as Ant's javac task, plus the compilerclasspath parameter.

Also on Fandom

Random Wiki