Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: Repeating a task for a list of directories

Peter Reilly

2008-03-10

Replies: Find Java Web Hosting

Author LoginPost Reply
The first has a "/" in front of the lib.
-> this is an absolute path.

Peter

On Mon, Mar 10, 2008 at 11:56 AM, Rob Wilson <netplay@(protected):
> I thought I would give some feedback, it seems that I made two mistakes...
>
> 1) I typed the incorrect version number, so this was why it could not find
> the explicitly named jar file.
>
> 2) even after fixing the jar name this syntax did not work...
>
>
> <taskdef resource="net/sf/antcontrib/antlib.xml">
>  <classpath>
>   <pathelement location="/lib/ant/ant-contrib-1.0b3.jar"/>
>  </classpath>
> </taskdef>
>
> (yes I did correct the jar name by this point!)
>
> but this did work...
>
>
> <taskdef resource="net/sf/antcontrib/antlib.xml">
>  <classpath>
>   <fileset dir="lib/ant" includes="*.jar"/>
>  </classpath>
> </taskdef>
>
> Does anyone know what was wrong with the first one?
>
> Cheers,
> Rob.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.