Author: nickboldt
Date: 2010-05-11 10:29:10 -0400 (Tue, 11 May 2010)
New Revision: 22010
Modified:
branches/modular_build/genpom.xml
Log:
fix hudson path check
Modified: branches/modular_build/genpom.xml
===================================================================
--- branches/modular_build/genpom.xml 2010-05-11 13:58:51 UTC (rev 22009)
+++ branches/modular_build/genpom.xml 2010-05-11 14:29:10 UTC (rev 22010)
@@ -53,8 +53,14 @@
</target>
<!-- override for local build -->
- <available file="/qa/tools/opt" type="dir"
property="isJBossQA" />
- <target name="local" unless="isJBossQA">
+ <condition property="isInHudson" value="true">
+ <or>
+ <contains string="${user.dir}" substring="hudson" />
+ <contains string="${user.name}" substring="hudson" />
+ <contains string="${user.home}" substring="hudson" />
+ </or>
+ </condition>
+ <target name="local" unless="isInHudson">
<property name="WORKINGDIR" value="${basedir}" />
<property name="COMMON_TOOLS" value="${java.io.tmpdir}" />
</target>
Show replies by date