Build of Orbeon CS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build of Orbeon CS

Jens Thorsten Stumpf
Hi out there!

I'm trying to build the target Orbeon Forms 4.7.1 CE on a Jekins Build Server.

In the target "classes" I get the errors below (marked red):

classes:
   [scalac] Compiling 1 source file to /usr/share/jenkins/workspace/Orbeon/build/classes
   [scalac] Compiling 0 scala and 538 java source files to /usr/share/jenkins/workspace/Orbeon/build/classes
   [scalac] Compiling 450 source files to /usr/share/jenkins/workspace/Orbeon/build/classes
   [scalac] Compiling 1 source file to /usr/share/jenkins/workspace/Orbeon/build/classes
   [scalac] warning: there were 21 deprecation warning(s); re-run with -deprecation for details
   [scalac] one warning found
    [javac] /usr/share/jenkins/workspace/Orbeon/build.xml:369: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 538 source files to /usr/share/jenkins/workspace/Orbeon/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /usr/share/jenkins/workspace/Orbeon/src/main/java/org/orbeon/oxf/xforms/XFormsUtils.java:114: error: reference to Base64 is ambiguous
    [javac]                 return "X3" + Base64.encode(bytesToEncode, false);
    [javac]                               ^
    [javac]   both class java.util.Base64 in java.util and class org.orbeon.oxf.util.Base64 in org.orbeon.oxf.util match
    [javac] /usr/share/jenkins/workspace/Orbeon/src/main/java/org/orbeon/oxf/xforms/XFormsUtils.java:117: error: reference to Base64 is ambiguous
    [javac]                 return "X4" + Base64.encode(gzipByteArray, false);
    [javac]                               ^
    [javac]   both class java.util.Base64 in java.util and class org.orbeon.oxf.util.Base64 in org.orbeon.oxf.util match
    [javac] /usr/share/jenkins/workspace/Orbeon/src/main/java/org/orbeon/oxf/xforms/XFormsUtils.java:420: error: reference to Base64 is ambiguous
    [javac]                 resultBytes1 = Base64.decode(encodedString);
    [javac]                                ^
    [javac]   both class java.util.Base64 in java.util and class org.orbeon.oxf.util.Base64 in org.orbeon.oxf.util match
    [javac] /usr/share/jenkins/workspace/Orbeon/src/main/java/org/orbeon/oxf/xforms/XFormsUtils.java:425: error: reference to Base64 is ambiguous
    [javac]                 gzipByteArray = Base64.decode(encodedString);
    [javac]                                 ^
    [javac]   both class java.util.Base64 in java.util and class org.orbeon.oxf.util.Base64 in org.orbeon.oxf.util match
    [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] 4 errors
    [javac] 4 warnings
BUILD FAILED
/usr/share/jenkins/workspace/Orbeon/build.xml:369: Compile failed; see the compiler error output for details.

The environment:
* CentOS 6
* Java 1.8 (also checked with 1.7)
* ANT 1.9.4

What am I missing?

Thanks in advance,

JT

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Build of Orbeon CS

Aaron Spike


On Tuesday, December 9, 2014 4:10:23 PM UTC-6, Jens Thorsten Stumpf wrote:
The environment:
* Java 1.8 (also checked with 1.7)

Are you sure you got these same errors with Java 1.7? I don't think java.util.Base64 was added until 1.8.

http://docs.oracle.com/javase/8/docs/technotes/guides/lang/enhancements.html#jdk8

Aaron Spike 

This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].