Bug 5071 - Not able to build using Java 1.6
: Not able to build using Java 1.6
Status: RESOLVED FIXED
: Java WS Core
globus_wsrf_core
: 4.0.4
: Sun Linux
: P3 critical
: 4.0.4
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-03-02 08:25 by
Modified: 2007-03-02 15:30 (History)


Attachments
Patch to build when Ant 1.7 and JDK 1.6 is used (1.46 KB, patch)
2007-03-02 14:57, Rachana Ananthakrishnan
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-03-02 08:25:44
Hi, 

On our Sun server (Dual Core AMD Opteron) with SLES10, Java 1.6, and Ant 1.7,
we are not able to build GT 4.0.4. We are getting this error message when it
tries to build the JAVA WS Core. So, please provide a binary distribution for
SLES10. 

Thank you. 

regards,
Samatha 

compileStubs:

jarStubs:

compile:
    [javac] Compiling 319 source files to
/home/globus/software/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/build/classes
    [javac]
/home/globus/software/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/src/org/globus/axis/description/ServiceDescUtil.java:52:
as of release 5, 'enum' is a keyword, and may not be used as an identifier
    [javac] (use -source 1.4 or lower to use 'enum' as an identifier)
    [javac] import org.apache.axis.enum.Scope;
    [javac]                        ^
    [javac]
/home/globus/software/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/src/org/globus/axis/providers/RPCProvider.java:24:
as of
release 5, 'enum' is a keyword, and may not be used as an identifier
    [javac] (use -source 1.4 or lower to use 'enum' as an identifier)
    [javac] import org.apache.axis.enum.Scope;
    [javac]                        ^
    [javac]
/home/globus/software/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/src/org/globus/wsrf/impl/ServiceResourceHome.java:17:
as
of release 5, 'enum' is a keyword, and may not be used as an identifier
    [javac] (use -source 1.4 or lower to use 'enum' as an identifier)
    [javac] import org.apache.axis.enum.Scope;
    [javac]                        ^
    [javac] 3 errors

BUILD FAILED
/home/globus/software/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/build.xml:212:
Compile failed; see the compiler error output for deta
ils.

Total time: 2 seconds

ERROR: Build has failed
------- Comment #1 From 2007-03-02 14:57:13 -------
Created an attachment (id=1197) [details]
Patch to build when Ant 1.7 and JDK 1.6 is used
------- Comment #2 From 2007-03-02 15:04:38 -------
Charles will add a link from the download page and platform notes.
------- Comment #3 From 2007-03-02 15:30:50 -------
Added note to <http://www.globus.org/toolkit/downloads/4.0.4/#source> and
<http://www.globus.org/toolkit/docs/4.0/admin/docbook/ch03.html#s-prereq-required>.
 Patch is available at
ftp://ftp.globus.org/pub/gt4/4.0/4.0.4/updates/src/java16.patch.  I modified it
to be relative to source-trees/wsrf so it can be applied from inside the
installer.