mirror of https://github.com/apache/lucene.git
fix manifest generation, which was broken by the previous indentation cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150044 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b605a3b8f
commit
7965b58fa2
42
build.xml
42
build.xml
|
@ -125,26 +125,36 @@
|
|||
<!-- ================================================================== -->
|
||||
<target name="jar" depends="compile">
|
||||
|
||||
<!-- Create Jar MANIFEST file -->
|
||||
<echo file="${build.manifest}">Manifest-Version: 1.0
|
||||
Created-By: Apache Jakarta
|
||||
|
||||
Name: org/apache/lucene
|
||||
Specification-Title: Lucene Search Engine
|
||||
Specification-Version: ${version}
|
||||
Specification-Vendor: Lucene
|
||||
Implementation-Title: org.apache.lucene
|
||||
Implementation-Version: build ${DSTAMP} ${TSTAMP}
|
||||
Implementation-Vendor: Lucene
|
||||
</echo>
|
||||
|
||||
<jar
|
||||
jarfile="${build.dir}/${final.name}.jar"
|
||||
basedir="${build.classes}"
|
||||
excludes="**/*.java"
|
||||
manifest="${build.manifest}"
|
||||
/>
|
||||
excludes="**/*.java">
|
||||
<manifest>
|
||||
<attribute name="Created-By" value="Apache Jakarta"/>
|
||||
<section name="org/apache/lucene">
|
||||
<attribute name="Specification-Title" value="Lucene Search Engine"/>
|
||||
<attribute name="Specification-Version" value="${version}"/>
|
||||
<attribute name="Specification-Vendor" value="Lucene"/>
|
||||
<attribute name="Implementation-Title" value="org.apache.lucene"/>
|
||||
<attribute name="Implementation-Version" value="build ${DSTAMP} ${TSTAMP}"/>
|
||||
<attribute name="Implementation-Vemdpr" value="Lucene"/>
|
||||
</section>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
<!--
|
||||
Manifest-Version: 1.0
|
||||
Ant-Version: Apache Ant 1.6alpha
|
||||
Created-By: Apache Jakarta
|
||||
|
||||
Name: org/apache/lucene
|
||||
Specification-Title: Lucene Search Engine
|
||||
Specification-Version: 1.3-rc2-dev
|
||||
Specification-Vendor: Lucene
|
||||
Implementation-Title: org.apache.lucene
|
||||
Implementation-Version: build 2003-09-18 13:08:01
|
||||
Implementation-Vendor: Lucene
|
||||
-->
|
||||
|
||||
<target name="jardemo" depends="compile,demo">
|
||||
<jar
|
||||
|
|
Loading…
Reference in New Issue