Jorg Heymans wrote:

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?

I always thought it did. Don't know why this should prevent it from working. Fancy taking a look?


Regards, Upayavira


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



Reply via email to