ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: ant-contrib question
Date Fri, 04 Jan 2008 23:14:21 GMT
On 1/4/08, Z W <mpc8250@gmail.com> wrote:
> I'm trying to use tasks in ant-contrid.
> So I downloaded ant-contrib-1.0b3-bin and put ant-contrib-1.0b3.jar file in
> $ANT_HOME\lib
> [...]
> xmlns:ac="antlib:net.sf.antcontrib">
> [...]
> [antlib:org.apache.tools.ant] Could not load definitions from resource
> org/apache/tools/ant/antlib.xml. It could not be found.

It's not complaining about Ant-Contrib's antlib.xml, but Ant's one,
which is rather strange.

Putting Ant-Contrib's jar in $ANT_HOME/lib and doing
xmlns:ac="antlib:net.sf.antcontrib" should work (no need for a
<taskdef>), so there's most likely something else at play, probably a
classpath issue somehow... --DD

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


Mime
View raw message