Skip to main content

How to build javafx.xml in current compiler version?

1 reply [Last post]
sleep
Offline
Joined: 2008-05-26
Points: 0

The javafx.xml has been removed from the main preview of the compiler. I still need it and James Weaver wrote that it is still somewhere in the svn repository and can be built. However, the main "ant all" task does not build it.

Is there a way to build the latest compiler and the xml library?

Thanks in advance!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sleep
Offline
Joined: 2008-05-26
Points: 0

Alright, I solved it ...

To anyone as clueless as me having the same problem, the standard compiler ant task builds the xml library into /runtime/build/classes/javafx/xml. Simply create an empty "javafx" folder somewhere and copy the "xml" directory into it. Then compress it into a jar:

jar cf javafx-xml.jar javafx

This gets you a file "javafx-xml.jar" which you can put into the "lib" folder of your project to compile and run.