Antcontrib <for> and <var unset=“true”> in ant?

二次信任 提交于 2019-12-08 06:40:31

问题


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

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


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/1307132/antcontrib-for-and-var-unset-true-in-ant

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!