Hi Matt,
If Eclipse doesn't pick it up, you ought to be able to specify the
link to the Jar file directly:
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement
location="some/path/to/ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
HTH,
Ian
On Thu, Aug 13, 2009 at 11:39 AM, Matt Muller<[email protected]> wrote:
> Hi Ian, thanks for the info.
>
> I can get this working from the command line but it doesnt seem to run from
> eclipse.
>
> I put the .jar in the ant lib dir.
>
> I have this line in my build.xml
>
> <taskdef resource="net/sf/antcontrib/antlib.xml"/>
>
> but get this error
>
> [taskdef] Could not load definitions from resource
> net/sf/antcontrib/antlib.xml. It could not be found.
>
> Any ideas?
>
> I'm running 1.7.x
>
> cheers,
>
> MaTT
>
> On Wed, Aug 12, 2009 at 10:45 PM, Ian Thomas <[email protected]> wrote:
>
>> Hi Matt,
>> I use the Ant-contrib tasks for all that sort of thing.
>>
>> Includes foreach, if, all sorts of handy extensions.
>>
>> http://ant-contrib.sourceforge.net/
>>
>> HTH,
>> Ian
>>
>> On Wed, Aug 12, 2009 at 9:04 PM, Matt Muller<[email protected]>
>> wrote:
>> > Hi, does anyone know how to loop an ANT task(s)?
>> >
>> > I want the create 10 dirs on my web server all with the same app but each
>> > with a unique flashvar.
>> >
>> > Ideally I could do this without creating 10 individual nodes for each
>> task.
>> >
>> > thanks,
>> >
>> > MaTT
>> > _______________________________________________
>> > Flashcoders mailing list
>> > [email protected]
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders