Author: jcosta(a)redhat.com
Date: 2009-03-31 08:21:41 -0400 (Tue, 31 Mar 2009)
New Revision: 16241
Modified:
validator/tags/3.1.0.GA/build.xml
Log:
HV-136 - Added an 'unless' in the ivy targets, to skip the execution if the
property disable.ivy is set.
Modified: validator/tags/3.1.0.GA/build.xml
===================================================================
--- validator/tags/3.1.0.GA/build.xml 2009-03-31 12:10:50 UTC (rev 16240)
+++ validator/tags/3.1.0.GA/build.xml 2009-03-31 12:21:41 UTC (rev 16241)
@@ -120,7 +120,7 @@
<ant inheritall="false" dir="${basedir}/../entitymanager"
target="jar"/>
</target -->
- <target name="get.deps.core" depends="init"
description="retrieve the core dependencies">
+ <target name="get.deps.core" depends="init"
description="retrieve the core dependencies" unless="disable.ivy">
<ivy:resolve conf="default" />
<ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]"
conf="default" />
</target>
@@ -150,7 +150,7 @@
</copy>
</target>
- <target name="get.deps.test" depends="init"
description="retrieve the test dependencies">
+ <target name="get.deps.test" depends="init"
description="retrieve the test dependencies" unless="disable.ivy">
<ivy:resolve conf="test" />
<ivy:retrieve pattern="${ivy.dep.dir}/test/[artifact].[ext]"
conf="test" />
</target>