ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: New Task and Classpath
Date Thu, 28 Aug 2003 12:43:43 GMT
On Wed, 27 Aug 2003, Aloizio Pereira da Silva <aloizio@dcc.ufmg.br>
wrote:

> messages: [gerar_relatorio] java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Task

You need to add ant.jar to the <classpath> explicitly (or do that
inside of execute() as the <java> task that you use internally tries
to keep the environment clean of Ant's own classes.

Stefan

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


Mime
View raw message