diff options
author | carnold <[email protected]> | 2007-07-26 20:21:25 +0000 |
---|---|---|
committer | carnold <[email protected]> | 2007-07-26 20:21:25 +0000 |
commit | 6b4539391a1db90f755fb74196c909925aa609d8 (patch) | |
tree | f67eb888dcaf0d1082518282f4b9f1568d19f914 | |
parent | e04572cfad06338a829089e86295eafc8662ed33 (diff) |
Bug 1761534: Add no-ivy option to build.xml
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/ant-contrib/trunk@124 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rw-r--r-- | build.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" />
|