views:

363

answers:

3

What versions of Antcontrib support <for> and also <var unset="true" /> in Antcontrib?

(Or where can I go to find out that information?)

+1  A: 

The task docs are here, but they don't say which versions of the library support which functions. However, there haven't been any new releases for years, so I suspect you already have the latest.

Note that there is no <var unset="true"/>, it's <Variable unset="true"/>. Maybe that's your problem.

skaffman
@skaffman All the documentation for the Variable says var in all the examples: http://ant-contrib.sourceforge.net/tasks/tasks/variable_task.html
leeand00
@skaffman What about for did they change that to something else?
leeand00
No. It's right there in the docs link I posted.
skaffman
A: 

@leeand00 - Did you ever find out what version supports both the 'for' task and also 'unset' on var? I must say I do not understand the logic of removing the for task from the latest builds of ant-contrib, especially since the for-each task does NOT replace the functionality that was removed. Very sloppy work imo.

blitzen25
A: 

Version 1.0b2 has the for task, but you have to go in and uncomment it from the antcontrib.properties file in the jar. version 1.0b3 removes that task (from what I can tell). Not sure about unset, but 1.0b2 has the var task.

Hope that answers your question.

mike