Author: hossman
Date: Fri Aug 29 13:14:53 2008
New Revision: 690384
URL: http://svn.apache.org/viewvc?rev=690384&view=rev
Log:
merge changes in r690357: new ant prop to allow Hudson to explicitly specify
where to find svnversion
Modified:
lucene/solr/branches/branch-1.3/common-build.xml
Modified: lucene/solr/branches/branch-1.3/common-build.xml
URL:
http://svn.apache.org/viewvc/lucene/solr/branches/branch-1.3/common-build.xml?rev=690384&r1=690383&r2=690384&view=diff
==============================================================================
--- lucene/solr/branches/branch-1.3/common-build.xml (original)
+++ lucene/solr/branches/branch-1.3/common-build.xml Fri Aug 29 13:14:53 2008
@@ -38,6 +38,14 @@
<format property="dateversion" pattern="yyyy.MM.dd.HH.mm.ss" />
</tstamp>
+ <!--
+ we attempt to exec svnversion to get details build information
+ for jar manifests. this property can be set at runtime to an
+ explicit path as needed, or ant will just try to find it in the
+ default PATH. (this is useful for Hudson)
+ -->
+ <property name="svnversion.exe" value="svnversion" />
+
<!-- Java Version we are compatible with -->
<property name="java.compat.version" value="1.5" />
@@ -280,7 +288,7 @@
<!-- Creates a Manifest file for Jars and WARs -->
<target name="make-manifest">
<!-- If possible, include the svnversion -->
- <exec dir="." executable="svnversion" outputproperty="svnversion"
failifexecutionfails="false">
+ <exec dir="." executable="${svnversion.exe}" outputproperty="svnversion"
failifexecutionfails="false">
<arg line="."/>
</exec>