DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30883>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30883

Cocoon 2.1.5.1 build fails with JDK1.5.0-beta2

           Summary: Cocoon 2.1.5.1 build fails with JDK1.5.0-beta2
           Product: Cocoon 2
           Version: 2.1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Building cocoon fails with jdk1.5
ant 1.6.2 was compiled, not binary install.
Please help!

------- build output -----------
[EMAIL PROTECTED] cocoon-2.1.5.1]# ./build.sh
Buildfile: build.xml
 
init-tasks:
Compiling 5 source files to /home/sonic/rpm/cocoon-2.1.5.1/tools/anttasks
javac: target release 1.3 conflicts with default source release 1.5
 
BUILD FAILED
/home/sonic/rpm/cocoon-2.1.5.1/tools/targets/init-build.xml:159: Compile failed;
see the compiler error output for details.
 
Total time: 1 second


----- java version ---------
[EMAIL PROTECTED] targets]# java -version
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

------ ant version -----------
[EMAIL PROTECTED] targets]# ant -version
Apache Ant version 1.6.2 compiled on August 26 2004

------  init-build.xml -------
...
    <!-- Detecting the current jvm -->
    <condition property="target.vm" value="1.5">
      <equals arg1="1.5" arg2="${ant.java.version}"/>
    </condition>
    <condition property="target.vm" value="1.4">
      <equals arg1="1.4" arg2="${ant.java.version}"/>
    </condition>
    <condition property="target.vm" value="1.3">
      <not>
        <or>
          <equals arg1="1.4" arg2="${ant.java.version}"/>
          <equals arg1="1.5" arg2="${ant.java.version}"/>
        </or>
      </not>
    </condition>
...

Reply via email to