ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r630439 - in /ant/ivy/core/branches/2.0.0-beta2: build-release.xml build.xml
Date Sat, 23 Feb 2008 14:05:16 GMT
Author: xavier
Date: Sat Feb 23 06:05:15 2008
New Revision: 630439

URL: http://svn.apache.org/viewvc?rev=630439&view=rev
Log:
fix some packaging issues

Modified:
    ant/ivy/core/branches/2.0.0-beta2/build-release.xml
    ant/ivy/core/branches/2.0.0-beta2/build.xml

Modified: ant/ivy/core/branches/2.0.0-beta2/build-release.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-beta2/build-release.xml?rev=630439&r1=630438&r2=630439&view=diff
==============================================================================
--- ant/ivy/core/branches/2.0.0-beta2/build-release.xml (original)
+++ ant/ivy/core/branches/2.0.0-beta2/build-release.xml Sat Feb 23 06:05:15 2008
@@ -71,7 +71,7 @@
 			<zipfileset dir="${basedir}/test/triggers" prefix="${snapshot.full.name}/test/triggers"
excludes="**/cache/**"/>
 			<zipfileset dir="${basedir}/test/xsl" prefix="${snapshot.full.name}/test/xsl"/>
 			<zipfileset dir="${src.dir}/org/apache/ivy/plugins/parser/xml" includes="ivy.xsd" fullpath="${snapshot.full.name}/ivy.xsd"/>
-			<zipfileset dir="${basedir}" includes="MANIFEST.MF" fullpath="${snapshot.full.name}/MANIFEST.MF"/>
+			<zipfileset dir="${basedir}" includes="META-INF/MANIFEST.MF" fullpath="${snapshot.full.name}/META-INF/MANIFEST.MF"/>
 			<zipfileset dir="${basedir}" includes="NOTICE" fullpath="${snapshot.full.name}/NOTICE"/>
 			<zipfileset dir="${basedir}" includes="README" prefix="${snapshot.full.name}"/>
 			<zipfileset dir="${basedir}" includes="LICENSE*" prefix="${snapshot.full.name}"/>
@@ -163,8 +163,7 @@
 		<copy file="${artifacts.build.dir}/jars/${final.name}" 
 				tofile="${m2.distrib.dir}/ivy-${build.version}.jar" />
 		<!-- jar javadocs -->
-	    <jar destfile="${m2.distrib.dir}/ivy-${build.version}-javadoc.jar"
-	            manifest="${basedir}/MANIFEST.MF">
+	    <jar destfile="${m2.distrib.dir}/ivy-${build.version}-javadoc.jar">
 	        <fileset dir="${javadoc.build.dir}" />
 	    </jar>
 		<!-- copy sources jar -->

Modified: ant/ivy/core/branches/2.0.0-beta2/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-beta2/build.xml?rev=630439&r1=630438&r2=630439&view=diff
==============================================================================
--- ant/ivy/core/branches/2.0.0-beta2/build.xml (original)
+++ ant/ivy/core/branches/2.0.0-beta2/build.xml Sat Feb 23 06:05:15 2008
@@ -307,7 +307,7 @@
         <!-- package the two ivy jars -->
         <jar destfile="${artifacts.build.dir}/jars/${final.name}"
                 manifest="${artifacts.build.dir}/MANIFEST.MF">
-            <metainf dir="${basedir}" includes="LICENSE,DISCLAIMER,NOTICE" />
+            <metainf dir="${basedir}" includes="LICENSE,NOTICE" />
             <manifest>
                 <attribute name="Specification-Title" value="Apache Ivy with Ant tasks"
/>
                 <attribute name="Specification-Version" value="${build.version}" />
@@ -325,7 +325,7 @@
             <fileset dir="${optional.classes.build.dir}" />
         </jar>
         <jar destfile="${artifacts.build.dir}/jars/${final.core.name}">
-            <metainf dir="${basedir}" includes="LICENSE,DISCLAIMER,NOTICE" />
+            <metainf dir="${basedir}" includes="LICENSE,NOTICE" />
             <manifest>
                 <attribute name="Specification-Title" value="Apache Ivy Core (without
Ant tasks)" />
                 <attribute name="Specification-Version" value="${build.version}" />
@@ -520,13 +520,23 @@
 	
     <target name="sources" depends="default-version" description="Create source archive
files">
     	<mkdir dir="${artifacts.build.dir}/sources/"/>
-        <jar destfile="${artifacts.build.dir}/sources/${final.name}"
-                manifest="${basedir}/MANIFEST.MF">
+        <jar destfile="${artifacts.build.dir}/sources/${final.name}">
+            <metainf dir="${basedir}" includes="LICENSE,NOTICE" />
+            <manifest>
+                <attribute name="Specification-Title" value="Apache Ivy Sources" />
+                <attribute name="Specification-Version" value="${build.version}" />
+                <attribute name="Specification-Vendor" value="Apache Software Foundation"
/>
+            </manifest>
             <fileset dir="${src.dir}" />
         </jar>
     	<!-- TODO : we should restrict sources files to the core only -->
-        <jar destfile="${artifacts.build.dir}/sources/${final.core.name}"
-                manifest="${basedir}/MANIFEST.MF">
+        <jar destfile="${artifacts.build.dir}/sources/${final.core.name}">
+            <metainf dir="${basedir}" includes="LICENSE,NOTICE" />
+            <manifest>
+                <attribute name="Specification-Title" value="Apache Ivy Sources" />
+                <attribute name="Specification-Version" value="${build.version}" />
+                <attribute name="Specification-Vendor" value="Apache Software Foundation"
/>
+            </manifest>
             <fileset dir="${src.dir}" />
         </jar>
 	</target>



Mime
View raw message