如何在Windows下安装蚂蚁的contrib? [英] How to install ant contrib under Windows?
问题描述
prelude:
蚂蚁的Contrib提供了一个很好的解释维基页面安装和发射([http://ant-contrib.sourceforge.net/#install] [1])。
Prelude: Ant-Contrib provides a very well explained wiki page for installation and launch ([http://ant-contrib.sourceforge.net/#install][1]).
事实上,只有两个步骤是必要的:
- 建立蚂蚁的contrib-0.3.jar(由蚂蚁DIST ...)
- 移动内置的.jar到您的Ant安装的lib目录,
Indeed, only two steps is necessary: - build ant-contrib-0.3.jar (by ant dist...), - move the built .jar into the lib directory of your Ant installation,
在自己的项目写使用它:
Use it by writing in your own project:
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
我的问题:
我成功打造的.jar(建立成功写入)。
但我不能找到生成JAR任何antcontrib.properties!
My problem: I succeeded to build the .jar (build successful is written). But I cannot find any "antcontrib.properties" in the jar built!
请求:
什么是我忘记了重要的事情?
它是更好地搜索任何蚂蚁的contrib-0.3.jar已建成?
谢谢
Request: What is the important thing I have forgotten? Is it better to search any ant-contrib-0.3.jar already built? Thanks
推荐答案
如果您下载该文件的 http://www.java2s.com/$c$c/JarDownload/ant-contrib-0.6.jar.zip ,有一个antcontrib.properties遏制。因此,也许安装指示或Ant构建文件是过时的。您是否尝试过使用Maven构建蚂蚁的Contrib?
If you download this file http://www.java2s.com/Code/JarDownload/ant-contrib-0.6.jar.zip, there's a antcontrib.properties contained. So maybe the installation instructions or the ant build file is out of date. Have you tried to use Maven for building the Ant-Contrib?
这篇关于如何在Windows下安装蚂蚁的contrib?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!