scalagwt-library build failed

137 views
Skip to first unread message

Konstantin I.

unread,
May 27, 2013, 5:34:04 PM5/27/13
to scal...@googlegroups.com
Hi,

Was trying to build the library, here is the error

gwt-emul:
    [mkdir] Created dir: /private/prj/pet/scalagwt/scalagwt-library/build/classes/gwt-emul
    [javac] /private/prj/pet/scalagwt/scalagwt-library/build.xml:205: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 9 source files to /private/prj/pet/scalagwt/scalagwt-library/build/classes/gwt-emul
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] 1 warning
    [javac] /private/prj/pet/scalagwt/scalagwt-library/build.xml:213: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 137 source files to /private/prj/pet/scalagwt/scalagwt-library/build/classes/gwt-emul
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] /private/prj/pet/scalagwt/scalagwt-gwt/user/super/com/google/gwt/emul/java/lang/Enum.java:88: error: ordinal has private access in Enum
    [javac]     return this.ordinal - other.ordinal;
    [javac]                                ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 1 warning

BUILD FAILED
/private/prj/pet/scalagwt/scalagwt-library/build.xml:213: Compile failed; see the compiler error output for details.


Any hints?

Konstantin I.

unread,
May 27, 2013, 5:52:02 PM5/27/13
to scal...@googlegroups.com
Ok.

Looks like this is a Java issue. http://bugs.sun.com/view_bug.do?bug_id=6904536

Succeeded to compile against Java 6, but now am seeing this kind of warnings.

[scalacfork] /private/prj/pet/scalagwt/scalagwt-library/build/jdk2ikvm/library/scala/collection/mutable/ArrayOps.scala:40: warning: Cannot generate factory for type that is not stable (e.g. generic one). Leaving this call as-is. Probably will fail at runtime.
[scalacfork]       ClassManifest.fromClass(
[scalacfork]                              ^

Should I ignore them?


2013/5/28 Konstantin I. <kof...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Scala+GWT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalagwt/4HrYynktP7g/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to scalagwt+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Best regards,

Konstantin I. Golub
Java software developer

KOF...@gmail.com
Reply all
Reply to author
Forward
0 new messages