ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harkness, David" <>
Subject RE: Ant-Contrib
Date Wed, 20 Aug 2003 21:01:13 GMT
If you are already using other tasks from Ant Contrib, I assume you
probably already have this. But just in case, this is all I have in my
build.xml to be able to use the <if> task:

    <!-- Ant-contrib for "if" task -->
    <taskdef resource="net/sf/antcontrib/"

This creates the mappings for all the Ant Contrib tasks. If you do have
that, then perhaps the <switch> task actually needs some other external
JAR, though I can't imagine what it would be using that isn't already in

David Harkness
Sony Pictures Digital Networks
(310) 482-4756

-----Original Message-----
From: Vikas Phonsa [] 
Sent: Wednesday, August 20, 2003 1:53 PM
To: 'Ant Users List'
Subject: Ant-Contrib


What do I have to do in order to use ant-contrib. I have used that is
past and all I did was to add the ant-contrib jar to the classpath my
IDE uses to execute Ant.

But now after some weeks when I'm trying to use the "switch" task of
ant-contrib, ant can't find the task.

Build exception: file:C:/wsad_workspaces/br/test1/textexport.xml:72:
Could not create task or type of type: switch.

Ant could not find the task or a class this task relies upon.

Is there anything else besides setting the classpath that needs to be


-----Original Message-----
From: Antoine Levy-Lambert [] 
Sent: Wednesday, August 20, 2003 9:10 AM
To: Ant Users List; Neil Pitman
Subject: Re: Proposed correction to ant-FAQ

Thanks Neil,
changes submitted, will appear in the next 6 hours on the ant web site.
Cheers, Antoine
----- Original Message -----
From: "Neil Pitman" <>
To: "Ant Users List" <>
Sent: Wednesday, August 20, 2003 2:50 PM
Subject: Proposed correction to ant-FAQ

> Hello
> For the FAQ : "Ant creates WAR files with a lower-case web-inf or JAR
> with a lower-case meta-inf directory. "
> <current-answer>
> No it doesn't.
> You may have seen these lower-case directory names in WinZIP, but 
> WinZIP
> trying to be helpful (and fails). If WinZIP encounters a filename that

> is all upper-case, it assumes it has come from an old DOS box 
> andchanges the case to all lower-case for you.
> If you extract (or just check) the archive with jar, you will see that

> the names have the correct case.
> </current-answer>
> <additional-info>
> With WinZIP (version 8.1 at least), this can be corrected in the 
> configuration.  In the Options/Configuration menu, in the View tab,
> section, check the "Allow all upper case files names" box.  The 
> WEB-INF will look correct.
> </additional-info>
> _________________________________________
> Neil Pitman
> +1.514.863.5465
> ICQ#: 21101052
> _________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message