On Jan 4, 2008 9:32 PM, Z W <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]