Already tried it and didn't work

$ ant -f test.xml
Buildfile: test.xml
Trying to override old definition of task for
     [echo] Apache Ant version 1.6.3 compiled on April 28 2005

BUILD FAILED
C:\Temp\test.xml:8: The <antlib:net.sf.antcontrib:for> type doesn't support
the "end" attribute.

On Wed, Apr 14, 2010 at 11:52 PM, <jan.mate...@rzf.fin-nrw.de> wrote:

> > It did work with antconrib 1.0b3
> >
> > I just have another question, is there a way to override jar
> > in ant lib
> > directory
>
> Try
>
> <project xmlns:ac="antlib:net.sf.antcontrib">
>   <taskdef resource="net/sf/antcontrib/antlib.xml">
>    <classpath>
>      <pathelement location="-path-to-your-ac-jar"/>
>    </classpath>
>  </taskdef>
> </project>
>
>
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>

Reply via email to