summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHristo Iliev2010-10-18 09:51:35 (EDT)
committer Steve Powell2010-10-18 09:52:24 (EDT)
commit4aa0afb3af59be11d943d0d515705ccf19be108c (patch)
tree256b10f2f2e91efd4cfb8b94bdf8ce340526b4f5
parentf5ce40938b5d4230e888e7db962786f964583cfc (diff)
downloadorg.eclipse.virgo.virgo-build-4aa0afb3af59be11d943d0d515705ccf19be108c.zip
org.eclipse.virgo.virgo-build-4aa0afb3af59be11d943d0d515705ccf19be108c.tar.gz
org.eclipse.virgo.virgo-build-4aa0afb3af59be11d943d0d515705ccf19be108c.tar.bz2
Bug 328030 - Build fails - ANT not found (on windows)1.32
-rw-r--r--common/common.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/common.xml b/common/common.xml
index 1e50686..0f9560d 100644
--- a/common/common.xml
+++ b/common/common.xml
@@ -162,7 +162,12 @@
<sequential>
<echo>exec-ant for target "${exec-ant-target}" executed</echo>
<exec executable="ant" dir="${basedir}"
- failonerror="true">
+ failonerror="true" osfamily="unix">
+ <arg line="${exec-ant-target}"/>
+ <arg line="-Dci.build=${ci.build} ${exec-args}"/>
+ </exec>
+ <exec executable="ant.bat" dir="${basedir}"
+ failonerror="true" osfamily="windows">
<arg line="${exec-ant-target}"/>
<arg line="-Dci.build=${ci.build} ${exec-args}"/>
</exec>