vmassol 02/04/22 15:21:47
Modified: framework build.xml
Removed: framework/conf manifest
Log:
no need to have externally defined manifest file anymore
Revision Changes Path
1.9 +17 -11 jakarta-cactus/framework/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/framework/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- build.xml 21 Apr 2002 22:41:14 -0000 1.8
+++ build.xml 22 Apr 2002 22:21:46 -0000 1.9
@@ -114,7 +114,6 @@
value="${target.classes.dir}/java"/>
<property name="target.classes.test.dir"
value="${target.classes.dir}/test"/>
- <property name="target.conf.dir" value="${target.dir}/conf"/>
<property name="target.doc.dir" value="${target.dir}/doc"/>
<property name="target.doc.api.dir" value="${target.doc.dir}/api"/>
@@ -236,10 +235,6 @@
<tstamp/>
- <filter token="version" value="${project.version}"/>
- <filter token="project.name.text" value="${project.name.text}"/>
- <filter token="project.name.file" value="${project.name.file}"/>
-
<!-- AspectJ task definition -->
<taskdef name="ajc" classname="org.aspectj.tools.ant.taskdefs.Ajc"/>
<taskdef name="ajdoc" classname="org.aspectj.tools.ant.taskdefs.Ajdoc"/>
@@ -289,14 +284,25 @@
-->
<target name="jar" depends="compile" description="Generate the library jar">
- <mkdir dir="${target.conf.dir}"/>
+ <jar jarfile="${target.dir}/${framework.jar.name}.jar">
- <!-- Copy the manifest in order to replace the version token filter -->
- <copy todir="${target.conf.dir}" file="${conf.dir}/manifest"
- filtering="on"/>
+ <manifest>
+ <section name="org/apache/cactus/">
+ <attribute name="Specification-Title"
+ value="${project.name.text}"/>
+ <attribute name="Specification-Version"
+ value="${project.version}"/>
+ <attribute name="Specification-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Implementation-Title"
+ value="${project.name.file}"/>
+ <attribute name="Implementation-Version"
+ value="${project.version} ${TODAY}"/>
+ <attribute name="Implementation-Vendor"
+ value="Apache Software Foundation"/>
+ </section>
+ </manifest>
- <jar jarfile="${target.dir}/${framework.jar.name}.jar"
- manifest="${target.conf.dir}/manifest">
<metainf dir=".">
<include name="LICENSE.cactus"/>
</metainf>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>