You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by ae...@apache.org on 2007/01/05 16:43:07 UTC
svn commit: r493053 - /webservices/muse/trunk/build.xml
Author: aeberbac
Date: Fri Jan 5 07:43:06 2007
New Revision: 493053
URL: http://svn.apache.org/viewvc?view=rev&rev=493053
Log:
Added support for adding a specific build tag, this is ignored by default so unless you are writing a script to make a nightly build you can safely ignore this
Modified:
webservices/muse/trunk/build.xml
Modified: webservices/muse/trunk/build.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/build.xml?view=diff&rev=493053&r1=493052&r2=493053
==============================================================================
--- webservices/muse/trunk/build.xml (original)
+++ webservices/muse/trunk/build.xml Fri Jan 5 07:43:06 2007
@@ -70,8 +70,17 @@
<get src="${APACHE_LICENSE_URL}" dest="${APACHE_LICENSE_FILE}"/>
</target>
+ <!-- Add a build tag to the version in the main pom.xml. If there was no build
+ tag specified then skip this step (but still do the dependencies) -->
+ <target name="update_version" depends="checkout" if="BUILD_TAG">
+ <replaceregexp file="modules/pom.xml"
+ match="([0-9]+.[0-9]+.[0-9]+)-[^<]*"
+ replace="\1-${BUILD_TAG}"
+ byline="true"/>
+ </target>
+
<!-- initialize properties -->
- <target name="init" depends="checkout">
+ <target name="init" depends="update_version">
<!-- the executable for maven, mvn.bat on windows, mvn otherwise -->
<condition property="MAVEN_EXECUTABLE" value="mvn.bat" else="mvn">
<os family="windows"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org