标签:
link: http://www.neiland.net/blog/article/how-to-install-ant-contrib/
So lets get started installing them. Go to the ant-contrib download page on sourceforge and get the 1.0b3 version zip file. Extract the zip file and copy "ant-contrib-1.0b3.jar" to your "{ant install dir}/lib" folder.
With the jar file installed in the ant lib directory the next step is to include the ant-contrib tasks in your project. To do this add a taskdef entry to your build file init code. The format of this depends on the version of ant you are running.
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
标签:
原文地址:http://www.cnblogs.com/buhaiqing/p/4251919.html