cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: build error, cocoon 2.1.7, ant 1.6.2, linux
Date Tue, 05 Apr 2005 14:22:03 GMT

Upayavira wrote:
> Marc Salvetti wrote:
> 
>> Hello,
>>
>> my isp have the error
>> ./build.sh
>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>> org/apache/tools/ant/launch/Launcher
>>
>> when trying to build cocoon 2.1.7 on linux Redhat enterprise 3.0
>> he has ant 1.6.2 installed,
>>
>> does anyone know about this error ?
> 
> 
> Try
> export ANT_HOME=
> 
> As Cocoon has its own Ant within it, which should be used, so you don't 
> want ANT_HOME to be pointing to the ISP's one.

This question seemes to come up at least once a week.

Wouldn't it be better if build.sh just backed up ANT_HOME, unsets it, 
does it's thing and restores it ? Or am I missing something?

Regards
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message