Building v2.2 of javafx-ui-controls: com.sun.javafx.css.parser.Css2Bin not found

Florian Brunner fbrunnerlist at gmx.ch
Mon May 21 06:40:41 PDT 2012


Hi Richard,

Thanks for your response.

Did you already have a chance to have a look at this?

Does Oracle have a continous integration server with a job for JavaFX v2.2 running? Is everything fine there? Or is it a bigger issue?

I just did a new checkout of the rt repository, but I'm getting the same error.

I'm using the following repositories:

http://hg.openjdk.java.net/openjfx/2.2/master
http://hg.openjdk.java.net/openjfx/2.2/master/rt

The class com.sun.javafx.css.parser.Css2Bin seems to be a part of javafx-ui-common. I tried to build that first, but I got other errors such as it didn't find the classes:
com.sun.javafx.sg.PGCanvas
com.sun.javafx.sg.GrowableDataBuffer

Where are these classes coming from?

Regards,
Florian

Am Freitag 18 Mai 2012, 18:31:28 schrieb Richard Bair:
> Hi Florian,
> 
> > I'm trying to build v2.2 of javafx-ui-controls, but I get the following error:
> > 
> > ------------------------------------------------------------------------------------------
> > Buildfile: <somePath>/open-jfx/master/rt/javafx-ui-controls/build.xml
> >  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
> > 
> > check-binary-css:
> > 
> > javafx-ui-controls-common.-pre-init:
> >    [mkdir] Created dir: /home/puce/Programming/Java/projectx/JavaFX-Apps/open-jfx/2.2/open-jfx/master/rt/javafx-ui-controls/build/classes/com/sun/javafx/scene/control/skin/caspian
> >     [java] Fehler: Hauptklasse com.sun.javafx.css.parser.Css2Bin konnte nicht gefunden oder geladen werden
> > 
> > BUILD FAILED
> > <somePath>/open-jfx/master/rt/javafx-ui-controls/build-common.xml:12: Java returned: 1
> 
> Let me update and give it a try.
> 
> > Should we use Ant or Maven to build the project or can we use any of the two?
> 
> I always use Ant, so I can make sure that works. I think maven support was added by contributions but I don't remember.
> 
> > Also note:
> > http://openjdk.java.net/projects/openjfx/ only mentions v2.1 but not v2.2
> 
> Doh!
> 
> > Another question:
> > JavaFX 2.1 has been released for Windows and Mac but not for Linux. 
> > Is there still work going on in the v2.1 repository or should we work on v2.2 now?
> 
> All the work is in 2.2 now, 2.1 has shipped. 2.2 by the way has just passed feature freeze, so we're in bug fix mode and then we'll be switching to 3.0 within the next month! 2.2 was a short release window.
> 
> Cheers
> Richard



More information about the openjfx-dev mailing list