ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
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                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message