You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2008/06/18 18:01:32 UTC

svn commit: r669207 - /xml/security/trunk/build.xml

Author: mullan
Date: Wed Jun 18 09:01:31 2008
New Revision: 669207

URL: http://svn.apache.org/viewvc?rev=669207&view=rev
Log:
Add NOTICE.txt and LICENSE.txt to META-INF directory of jar files.
Update version to 1.4.2 in preparation for 1.4.2 release.

Modified:
    xml/security/trunk/build.xml

Modified: xml/security/trunk/build.xml
URL: http://svn.apache.org/viewvc/xml/security/trunk/build.xml?rev=669207&r1=669206&r2=669207&view=diff
==============================================================================
--- xml/security/trunk/build.xml (original)
+++ xml/security/trunk/build.xml Wed Jun 18 09:01:31 2008
@@ -16,7 +16,7 @@
 
     <property name="product.version.major" value="1"/>
     <property name="product.version.minor" value="4"/>
-    <property name="product.version.level" value="2rc1"/>
+    <property name="product.version.level" value="2"/>
     <property name="product.version" 
 	  value="${product.version.major}.${product.version.minor}.${product.version.level}"/>
     <property name="product_version" 
@@ -745,6 +745,8 @@
     <target name="manifest">
 	<tstamp/>
 	<mkdir dir="${dir.manifest}"/>
+	<copy file="${basedir}/LICENSE" tofile="${dir.manifest}/LICENSE.txt"/>
+	<copy file="${basedir}/NOTICE" tofile="${dir.manifest}/NOTICE.txt"/>
 	<manifest file="${jar.manifest}" mode="replace">
             <attribute name="Built-By" value="${user.name}"/>
             <section name="${product.shortname}">
@@ -762,25 +764,31 @@
 	    depends="manifest,build.src,build.test,build.samples">
 
 	<!-- Main Library -->
-	<jar basedir="${dir.build.bin}" 
+	<jar basedir="${dir.build.bin}"
 	     excludes="org/apache/xml/security/temp/**"
-	     includes="**/LICENSE, **/NOTICE, org/apache/**, org/jcp/**, javax/xml/crypto/**, *.txt" 
-	     jarfile="${jar.library}" 
-	     manifest="${jar.manifest}"/>
+	     includes="org/apache/**, org/jcp/**, javax/xml/crypto/**"
+	     destfile="${jar.library}" 
+	     manifest="${jar.manifest}">
+	  <metainf file="${dir.manifest}/*.txt"/>
+	</jar>
 
 	<!-- Samples -->
 	<jar basedir="${dir.build.samples}" 
 	     excludes="org/apache/xml/security/temp/**" 
-	     includes="**/LICENSE, **/NOTICE, org/apache/**, javax/xml/crypto/**"
-	     jarfile="${jar.samples}" 
-	     manifest="${jar.manifest}"/>
+	     includes="org/apache/**, javax/xml/crypto/**"
+	     destfile="${jar.samples}" 
+	     manifest="${jar.manifest}">
+	  <metainf file="${dir.manifest}/*.txt"/>
+	</jar>
 		
 	<!-- Tests -->
 	<jar basedir="${dir.build.test}" 
 	     excludes="org/apache/xml/security/temp/**" 
-	     includes="**/LICENSE, **/NOTICE, org/apache/**, javax/xml/crypto/**"
-	     jarfile="${jar.tests}" 
-	     manifest="${jar.manifest}"/>
+	     includes="org/apache/**, javax/xml/crypto/**"
+	     destfile="${jar.tests}" 
+	     manifest="${jar.manifest}">
+	  <metainf file="${dir.manifest}/*.txt"/>
+	</jar>
     </target>
 
     <target name="build.src.jar"