Author: nickboldt
Date: 2010-10-19 15:39:51 -0400 (Tue, 19 Oct 2010)
New Revision: 25920
Modified:
trunk/build/build.xml
Log:
support 5.2.0.SNAPSHOT jars
Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml 2010-10-19 17:00:56 UTC (rev 25919)
+++ trunk/build/build.xml 2010-10-19 19:39:51 UTC (rev 25920)
@@ -1354,6 +1354,13 @@
replace="\1"
override="true"
/>
+ <propertyregex property="artifact.id"
+ defaultvalue="${artifact.id}"
+ input="${artifact.id}"
+ regexp="([^_]+)_(\d+\.\d+\.\d+.SNAPSHOT)\.jar"
+ replace="\1"
+ override="true"
+ />
<var name="artifactJar" unset="true" />
</target>
@@ -1368,6 +1375,7 @@
<property name="artifactJar" value="@{artifactJar}" />
<property name="regexp.path"
value=".+/plugins/([^/]+.+\.jar)" />
</antcallback>
+ <echo level="verbose">Unzip @{artifactJar} into
${WORKINGDIR}/${COMPONENT}/plugins/${artifact.id}</echo>
<unzip src="@{artifactJar}"
dest="${WORKINGDIR}/${COMPONENT}/plugins/${artifact.id}"
overwrite="true" />
<var name="artifact.id" unset="true" />
</sequential>
Show replies by date