Commit 27888ab7 authored by ebruneton's avatar ebruneton
Browse files

improved jar building process

parent 9bb4a128
Manifest-Version: 1.0
Implementation-Title: "ASM static code analysis framework"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "France Telecom R&D"
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/asm-analysis.jar"
basedir="${out.build}"
manifest="${archive}/asm-analysis.mf">
manifest="${out.tmp}/asm-analysis.mf">
<include name="org/objectweb/asm/tree/analysis/*.class"/>
</jar>
</target>
......
Manifest-Version: 1.0
Implementation-Title: "ASM Attribute classes"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "France Telecom R&D"
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/asm-attrs.jar"
basedir="${out.build}"
manifest="${archive}/asm-attrs.mf">
manifest="${out.tmp}/asm-attrs.mf">
<include name="org/objectweb/asm/attrs/*.class"/>
</jar>
</target>
......
Manifest-Version: 1.0
Implementation-Title: "ASM Tree class visitor"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "France Telecom R&D"
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/asm-tree.jar"
basedir="${out.build}"
manifest="${archive}/asm-tree.mf">
manifest="${out.tmp}/asm-tree.mf">
<include name="org/objectweb/asm/tree/*.class"/>
</jar>
</target>
......
Manifest-Version: 1.0
Implementation-Title: "ASM Utilities"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "France Telecom R&D"
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/asm-util.jar"
basedir="${out.build}"
manifest="${archive}/asm-util.mf">
manifest="${out.tmp}/asm-util.mf">
<include name="org/objectweb/asm/util/**/*.class"/>
</jar>
</target>
......
Manifest-Version: 1.0
Implementation-Title: "ASM XML classes"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "Eugene Kuleshov"
Class-path: asm.jar asm-util.jar asm-attrs.jar
Main-class: org.objectweb.asm.xml.Processor
\ No newline at end of file
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/asm-xml.jar"
basedir="${out.build}"
manifest="${archive}/asm-xml.mf">
manifest="${out.tmp}/asm-xml.mf">
<include name="org/objectweb/asm/xml/*.class"/>
</jar>
</target>
......
Manifest-Version: 1.0
Implementation-Title: "ASM"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "France Telecom R&D"
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/asm.jar"
basedir="${out.build}"
manifest="${archive}/asm.mf">
manifest="${out.tmp}/asm.mf">
<include name="org/objectweb/asm/*.class"/>
</jar>
</target>
......
Manifest-Version: 1.0
Implementation-Title: "kASM (reduced version of ASM, for code generation only)"
Implementation-Version: "1.4.3"
Implementation-Version: "@product.version@"
Implementation-Vendor: "France Telecom R&D"
......@@ -2,7 +2,7 @@
<target name="dist">
<jar jarfile="${out.dist.lib}/kasm.jar"
basedir="${out.build}"
manifest="${archive}/kasm.mf">
manifest="${out.tmp}/kasm.mf">
<include name="org/objectweb/asm/*.class"/>
<exclude name="org/objectweb/asm/ClassAdapter.class"/>
<exclude name="org/objectweb/asm/ClassReader.class"/>
......
......@@ -56,6 +56,7 @@
<property name="out.dist.examples" value="${out.dist}/examples"/>
<property name="out.dist.externals" value="${out.dist}/externals"/>
<property name="out.test" value="${out}/test"/>
<property name="out.tmp" value="${out}/tmp"/>
<property name="out.zip" value="${out}/zip"/>
<target name="properties">
......@@ -134,6 +135,13 @@
</target>
<target name="jar" depends="dist.init,compile">
<mkdir dir="${out.tmp}"/>
<copy toDir="${out.tmp}">
<fileset dir="${archive}">
<include name="*.mf"/>
</fileset>
</copy>
<replace dir="${out.tmp}" token="@product.version@" value="${product.version}"/>
<multipleAnt dir="${archive}"/>
</target>
......@@ -249,6 +257,7 @@
<target name="clean" depends="properties,clean.web">
<delete dir="${out.build}"/>
<delete dir="${out.dist}"/>
<delete dir="${out.tmp}"/>
<delete dir="${out.zip}"/>
<delete dir="${out.test}"/>
</target>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment