NAnt NAntContrib

liuxue.gu@hotmail.com · 2008年08月19日 · 16 次阅读

NAntContrib 为 NAnt 提供定制任务的工具。

NAntContrib is the project for tasks and tools that haven't made it into the main NAnt distribution yet or for whatever reason don't belong there

NAntContrib 官方主页: http://nantcontrib.sourceforge.net/

What's this? The Ant-Contrib project is a collection of tasks (and at one point maybe types and other tools) for Apache Ant.

This Software is distributed under the Apache Software License.

Installation [b] First you must install Apache Ant itself, most of the Ant-Contrib tasks require Ant 1.5 or higher to work properly, however, there are some tasks, specifically which require Ant 1.6. You can download Ant from Apache.[/b]

Then you need the Ant-Contrib tasks themselves. As there is no release of these tasks yet, you have to build them from sources. Fortunately this is easy, check out the sources (grab the ant-contrib module from CVS), change into the source directory of ant-contrib and type ant. After Ant has completed, you'll find ant-contrib-version.jar in the lib subdirectory.

You now have the choice:

Copy ant-contrib-version.jar to the lib directory of your Ant installation, or on your CLASSPATH environment variable. If you want to use one of the tasks in your project, add the line

[[i] 本帖最后由 laofo 于 2008-8-20 13:58 编辑 ]

[b] Logic Tasks[/b]

Other Tasks

需要 登录 后方可回复。