mirror of https://github.com/apache/lucene.git
adding svnversion to Implementation-Version
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc61cf9adc
commit
817c3d5bab
|
@ -333,6 +333,11 @@
|
|||
|
||||
<!-- 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">
|
||||
<arg line="."/>
|
||||
</exec>
|
||||
|
||||
<!-- no description, don't advertise -->
|
||||
<mkdir dir="${dest}/META-INF/" />
|
||||
<manifest mode="replace" file="${dest}/META-INF/MANIFEST.MF">
|
||||
|
@ -369,7 +374,7 @@
|
|||
value="org.apache.solr"/>
|
||||
<!-- impl version can be any string -->
|
||||
<attribute name="Implementation-Version"
|
||||
value="${version} - ${user.name} - ${DSTAMP} ${TSTAMP}"/>
|
||||
value="${version} ${svnversion} - ${user.name} - ${DSTAMP} ${TSTAMP}"/>
|
||||
<attribute name="Implementation-Vendor"
|
||||
value="The Apache Software Foundation"/>
|
||||
<attribute name="X-Compile-Source-JDK"
|
||||
|
|
Loading…
Reference in New Issue