ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Wilson" <>
Subject Re: Repeating a task for a list of directories
Date Mon, 10 Mar 2008 11:56:12 GMT
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">
    <pathelement location="/lib/ant/ant-contrib-1.0b3.jar"/>

(yes I did correct the jar name by this point!)

but this did work...

<taskdef resource="net/sf/antcontrib/antlib.xml">
    <fileset dir="lib/ant" includes="*.jar"/>

Does anyone know what was wrong with the first one?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message