The "offending" code is in tools/target/init-build.xml:

cca. line 144:

<!-- compile the ant tasks -->
    <mkdir dir="${tools.tasks.dest}"/>
    <javac srcdir="${tools.tasks.src}"
           destdir="${tools.tasks.dest}"
           debug="off"
           optimize="on"
           deprecation="on"
           target="1.3"
           nowarn="on"
           compiler="${compiler}"
           classpathref="tasks.classpath"/>

and cca line 169:

<!-- compile the loader, used to change classpath especially for
           the CLI and Jetty -->
    <mkdir dir="${tools.loader.dest}"/>
    <javac srcdir="${tools.loader.src}"
           destdir="${tools.loader.dest}"
           debug="off"
           optimize="on"
           deprecation="on"
           target="1.3"
           nowarn="on"
           compiler="${compiler}"/>

I am not sure why we need to build this using a "fixed" target=1.3.

Try to change this and try again.

Best Regards,

Antonio Gallardo

Christian Rosenberger dijo:
> Hi,
>
> is the new Cocoon version 2.1.6 compatible to Java SDK 1.5.0?
>
> At my debian server the build process failed:
>
> #:/opt/cocoon-2.1.6# export JAVA_HOME=/usr/java/1.5.0/
> #:/opt/cocoon-2.1.6# ./build.sh
> Buildfile: build.xml
>
> init-tasks:
> Compiling 5 source files to /opt/cocoon-2.1.6/tools/anttasks
> javac: target release 1.3 conflicts with default source release 1.5
>
> BUILD FAILED
> /opt/cocoon-2.1.6/tools/targets/init-build.xml:159: Compile failed; see
> the
> comp
> iler error output for details.
>
> Total time: 1 second
>
> Which version of Cocoon will have built-in-support for 1.5.0?
>
> Any solution? The mails in the archive said, that this was fixed with
> current CVS version. (before 2.1.6 release)
>
> Regards,
> Christian Rosenberger
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to