OpenJFX 2.2 repository
Kim Topley
kimtopley at gmail.com
Wed May 2 18:41:22 PDT 2012
OK, I am now getting the latest changes :-), but there are some problems.
If I clone the "controls" and "controls/rt" repos and then build, I get
this:
check-binary-css:
javafx-ui-controls-common.-pre-init:
[mkdir] Created dir:
/Users/kimtopley/OPENJFX/open-jfx/controls/rt/javafx-ui-controls/build/classes/com/sun/javafx/scene/control/skin/caspian
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/scenario/ToolkitAccessor
[java] at com.sun.javafx.Logging.getCSSLogger(Unknown Source)
[java] at com.sun.javafx.css.parser.CSSParser.<clinit>(Unknown Source)
[java] at com.sun.javafx.css.parser.Css2Bin.convertToBinary(Unknown
Source)
[java] at com.sun.javafx.css.parser.Css2Bin.main(Unknown Source)
[java] Caused by: java.lang.ClassNotFoundException:
com.sun.scenario.ToolkitAccessor
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] ... 4 more
BUILD FAILED
It looks like build-common.xml in rt/javafx-ui-controls is relying on the
setup of the closed part of the build. I can get around it by commenting
out the content of the -pre-init target in that makefile, the only effect
of which is to not create caspian.bss.
Having done, that, I then get errors for two @Overrides that apparently
aren't overriding anything:
[javac] Compiling 224 source files to
/Users/kimtopley/OPENJFX/open-jfx/controls/rt/javafx-ui-controls/build/classes
[javac]
/Users/kimtopley/OPENJFX/open-jfx/controls/rt/javafx-ui-controls/src/javafx/scene/control/Control.java:1132:
method does not override or implement a method from a supertype
[javac] @Deprecated @Override
[javac] ^
[javac]
/Users/kimtopley/OPENJFX/open-jfx/controls/rt/javafx-ui-controls/src/javafx/scene/control/Hyperlink.java:176:
method does not override or implement a method from a supertype
[javac] @Deprecated @Override
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
In fact the overridden method DOES exist on the Node class. The problem is
that the classpath for the compilation does not include javafx-ui-common,
so it's getting Node from jfxrt.jar, which is from the last JavaFX 2.2
build and does not have this method:
-classpath'
[javac]
'/Users/kimtopley/OPENJFX/open-jfx/controls/rt/javafx-ui-controls/build/classes:/Users/kimtopley/OPENJFX/open-jfx/controls/artifacts/sdk/rt/lib/jfxrt.jar'
I don't get this problem when building in Eclipse, because it sees all of
the source code.
Other than that, everything works.
Kim
On Wed, May 2, 2012 at 6:59 PM, Kevin Rushforth
<kevin.rushforth at oracle.com>wrote:
> Depends on what you mean by "this" repository.
>
> There are three forests, and open the "rt" repo in each of those forests
> is actively changing. Here is the "lay of the land"
>
> openjfx/2.2/master -- master forest
> rt
> tests
>
> openjfx/2.2/controls -- controls team forest
> rt
> tests
>
> openjfx/2.2/graphics -- graphics team forest
> rt
> tests
>
>
> The "rt" repo in the master forest is updated each week in conjunction
> with a new weekly beta build. This usually happens on Wednesday but
> sometimes is delayed until Thursday.
>
> The graphics and controls forests are updated continuously.
>
> For example, if you look at: http://hg.openjdk.java.net/**
> openjfx/2.2/controls/rt<http://hg.openjdk.java.net/openjfx/2.2/controls/rt>
>
> you will see that the most recent changeset was pushed about 40 minutes
> ago.
>
> -- Kevin
>
>
> Kim Topley wrote:
>
>> I was wondering how often this repository is updated? I have been doing
>> daily pulls and have seen nothing new for about a week.
>>
>>
>
More information about the openjfx-dev
mailing list