You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Wolfgang Jeltsch <zs...@acme.softbase.org> on 2007/09/09 18:59:38 UTC

Lenya 2.0 build failed

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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Lenya 2.0 build failed

Posted by Richard Frovarp <Ri...@sendit.nodak.edu>.
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Lenya 2.0 build failed

Posted by Wolfgang Jeltsch <zs...@acme.softbase.org>.
Am Sonntag, 9. September 2007 18:59 schrieb Wolfgang Jeltsch:
> 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/bui
> >ld/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/too
> >ls/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/too
> >ls/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

Hello again,

the problem was that I inadvertently used GCJ.  I had installed Eclipse and 
this changed the default Java implementation from Sun’s one to GCJ.  Sorry 
for bothering you.

Best regards,
Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org