[jbosstools-commits] JBoss Tools SVN: r30941 - branches/jbosstools-3.2.x/build/aggregate/site.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Apr 28 16:21:23 EDT 2011
Author: nickboldt
Date: 2011-04-28 16:21:23 -0400 (Thu, 28 Apr 2011)
New Revision: 30941
Modified:
branches/jbosstools-3.2.x/build/aggregate/site/build.xml
Log:
add check that local path exists; if not, use http:// path instead
Modified: branches/jbosstools-3.2.x/build/aggregate/site/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/site/build.xml 2011-04-28 20:20:38 UTC (rev 30940)
+++ branches/jbosstools-3.2.x/build/aggregate/site/build.xml 2011-04-28 20:21:23 UTC (rev 30941)
@@ -274,6 +274,14 @@
<available file="/home/hudson/static_build_env/jbds/builds/staging" type="dir" />
<then>
<propertyregex override="true" property="location.cleaned" defaultvalue="@{location}" input="@{location}" regexp="../../" replace="/home/hudson/static_build_env/jbds/builds/staging/" />
+ <if>
+ <not>
+ <available file="${location.cleaned}" />
+ </not>
+ <then>
+ <propertyregex override="true" property="location.cleaned" defaultvalue="@{location}" input="@{location}" regexp="../../" replace="http://download.jboss.org/jbosstools/builds/staging/" />
+ </then>
+ </if>
</then>
<else>
<propertyregex override="true" property="location.cleaned" defaultvalue="@{location}" input="@{location}" regexp="../../" replace="http://download.jboss.org/jbosstools/builds/staging/" />
More information about the jbosstools-commits
mailing list