Author: nickboldt
Date: 2012-01-23 15:45:28 -0500 (Mon, 23 Jan 2012)
New Revision: 38045
Modified:
trunk/build/aggregate/build.xml
Log:
fix regex for new staging sites
Modified: trunk/build/aggregate/build.xml
===================================================================
--- trunk/build/aggregate/build.xml 2012-01-23 19:57:46 UTC (rev 38044)
+++ trunk/build/aggregate/build.xml 2012-01-23 20:45:28 UTC (rev 38045)
@@ -315,18 +315,18 @@
<if>
<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/" />
+ <propertyregex override="true"
property="location.cleaned" defaultvalue="@{location}"
input="@{location}" regexp="../../../../staging/"
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/" />
+ <propertyregex override="true"
property="location.cleaned" defaultvalue="@{location}"
input="@{location}" regexp="../../../../staging/"
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/" />
+ <propertyregex override="true"
property="location.cleaned" defaultvalue="@{location}"
input="@{location}" regexp="../../../../staging/"
replace="http://download.jboss.org/jbosstools/builds/staging/" />
</else>
</if>
<echo level="error">[${i}/${repository.children.size}] Site URL
= ${location.cleaned} (@{location})</echo>