SF.net SVN: ant-contrib: [124] ant-contrib/trunk/build.xml
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 124
http://ant-contrib.svn.sourceforge.net/ant-contrib/?rev=124&view=rev
Author: carnold
Date: 2007-07-26 13:21:25 -0700 (Thu, 26 Jul 2007)
Log Message:
-----------
Bug 1761534: Add no-ivy option to build.xml
Modified Paths:
--------------
ant-contrib/trunk/build.xml
Modified: ant-contrib/trunk/build.xml
===================================================================
--- ant-contrib/trunk/build.xml 2007-07-25 23:26:42 UTC (rev 123)
+++ ant-contrib/trunk/build.xml 2007-07-26 20:21:25 UTC (rev 124)
@@ -20,7 +20,7 @@
<property name="dist.dir" location="dist" />
<property name="target.stage.dir" location="${target.dir}/stage" />
- <target name="init">
+ <target name="init" unless="no-ivy">
<path id="ivy.lib.path">
<fileset dir="lib/ivy/jars" includes="ivy-1.3.1.jar"/>
<fileset dir="lib/commons-cli/jars" includes="commons-cli-1.0.jar"/>
@@ -35,15 +35,15 @@
classpathref="ivy.lib.path"/>
</target>
- <target name="configure" depends="init">
+ <target name="configure" depends="init" unless="no-ivy">
<ivy:configure file="ivy-conf.xml" />
</target>
- <target name="resolve" depends="configure">
+ <target name="resolve" depends="configure" unless="no-ivy">
<ivy:resolve />
</target>
- <target name="classpath" depends="resolve">
+ <target name="classpath" depends="resolve" unless="no-ivy">
<ivy:cachepath id="compile.classpath" type="jar" conf="provided" />
<ivy:cachepath id="runtime.classpath" type="jar" conf="default" />
<ivy:cachepath id="test.classpath" type="jar" conf="test" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/