码迷,mamicode.com
首页 > 其他好文 > 详细

Install AntContrib

时间:2015-01-27 10:54:17      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:

link: http://www.neiland.net/blog/article/how-to-install-ant-contrib/

Step 1: Get ANT-Contrib And Install It

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.

Step 2: Configure Your Project

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.

Ant >= 1.6

<taskdef resource="net/sf/antcontrib/antlib.xml"/>

Ant < 1.6

<taskdef resource="net/sf/antcontrib/antcontrib.properties" />

Install AntContrib

标签:

原文地址:http://www.cnblogs.com/buhaiqing/p/4251919.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!