Wolfgang Jeltsch wrote:
Hello,
I checked out Lenya 2.0 an hour ago or so and tried to build it.
Unfortunately, the build failed shortly after it had begun. I got the
following messages:
Compiling 2 source files
to /home/wolfgang/Dokumente/Lenya/src/lenya-2.0.x/externals/cocoon_2_1_x/build/cocoon-2.1.11-dev/mocks
Compliance level '1.4' is incompatible with target level '1.5'. A compliance
level '1.5' or better is required
BUILD FAILED
/home/wolfgang/Dokumente/Lenya/src/lenya-2.0.x/src/targets/init-build.xml:64:
The following error occurred while executing this line:
/home/wolfgang/Dokumente/Lenya/src/lenya-2.0.x/src/targets/init-build.xml:73:
The following error occurred while executing this line:
/home/wolfgang/Dokumente/Lenya/src/lenya-2.0.x/externals/cocoon_2_1_x/tools/targets/compile-build.xml:62:
The following error occurred while executing this line:
/home/wolfgang/Dokumente/Lenya/src/lenya-2.0.x/externals/cocoon_2_1_x/tools/targets/compile-build.xml:51:
Compile failed; see the compiler error output for details.
What is that compliance level? Does the message mean that I have to use
JDK 1.4? But according to the Lenya website, JDK 1.5 is okay.
Best wishes,
Wolfgang
Looks like the compiler is being told to use version 1.4 of Java, yet
something at that path requires 1.5. Eclipse might default to using 1.4.
Using 1.6 I don't have any issues building. Are you sure your JAVA_HOME
and javac commands point to 1.5?
Although I don't see anything in the mocks module that would require 1.5.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]