ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: ant-contrib question
Date Sun, 06 Jan 2008 15:13:36 GMT
On Jan 4, 2008 9:32 PM, Z W <mpc8250@gmail.com> wrote:
> Hi Gurus
>
> 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
>
> I also do the following
>
>
> <?xml version="1.0"?>
>
> <project name="test"
>
> default="main"
>
> xmlns:ac="antlib:net.sf.antcontrib">
>
>  :
>
> :
>
>
>
> But I'm getting this error
>
> [antlib:org.apache.tools.ant] Could not load definitions from resource
> org/apach
> e/tools/ant/antlib.xml. It could not be found.

This is currently always seen when verbose level logging is activated
- it is not a problem.


Just try to see if antcontrib is working.
<ac:if>
   <equals arg1="a" arg2="a"/>
   <then>
      <echo>Good!</echo>
  </then>
</ac:if>

Peter
>
>
> I'm using Ant 1.7
>
> Any help is appreciated.
>

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


Mime
View raw message