Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
For Linux the pre-release of JavaFX 2.1 is all that is available. Trying to compile GroovyFX against the Linux download of JavaFX leads to:
[ant:groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[ant:groovyc] /home/users/russel/Repositories/Git/Clones/GroovyFX/groovyfx/src/main/groovy/groovyx/javafx/animation/GTimeline.groovy: 21: unable to resolve class com.sun.javafx.functions.Function0
[ant:groovyc] @ line 21, column 1.
[ant:groovyc] import com.sun.javafx.functions.Function0;
[ant:groovyc] ^
[ant:groovyc]
[ant:groovyc] /home/users/russel/Repositories/Git/Clones/GroovyFX/groovyfx/src/main/groovy/groovyx/javafx/animation/GTimeline.groovy: 29: unable to resolve class com.sun.javafx.functions.Function0
[ant:groovyc] @ line 29, column 1.
[ant:groovyc] class FunctionWrapper implements Function0 {
[ant:groovyc] ^
[ant:groovyc]
[ant:groovyc] /home/users/russel/Repositories/Git/Clones/GroovyFX/groovyfx/src/main/groovy/groovyx/javafx/factory/ColorFactory.groovy: 30: unable to resolve class com.sun.javafx.css.Value
[ant:groovyc] @ line 30, column 1.
[ant:groovyc] import com.sun.javafx.css.Value;
[ant:groovyc] ^
[ant:groovyc]
[ant:groovyc] /home/users/russel/Repositories/Git/Clones/GroovyFX/groovyfx/src/main/groovy/groovyx/javafx/factory/FontFactory.groovy: 21: unable to resolve class com.sun.javafx.css.Value
[ant:groovyc] @ line 21, column 1.
[ant:groovyc] import com.sun.javafx.css.Value;
[ant:groovyc] ^
[ant:groovyc]
[ant:groovyc] 4 errors
[ant:groovyc]
Version 0.1, which is what is on the git master branch, is compatible with JavaFX 2.0.x. To get JavaFX 2.1 compatibility, you need to switch to the develop branch, which will (hopefully soon) become the 0.2 release.
You may also want to check out http://pleasingsoftware.blogspot.com/2012/03/groovyfx-first-official-release.html
Sorry for the confusion.