ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: java.lang.NoClassDefFoundError after adding <permissions> element to a java task
Date Wed, 09 Jan 2008 13:49:54 GMT
Luciano Resende wrote:
> Thanks Martin, but all the necessary jars are in the CLASSPATH, and as
> mentioned on the e-mail, the program runs ok (no issues with
> noClassDefFoundError)... the noClassDefFoundError just start after
> adding the <permissions>... it seems that it loose the ability to read
> the classpath or it get lost...

try setting fork="true" for java. Ant's <java> task stops tasks from 
killing the current thread, as that would stop ant..the permissions you 
are trying to set probably dont help.

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message