You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2009/09/23 00:23:12 UTC

svn commit: r817868 - /ant/ivy/core/branches/2.1.0/build-release.xml

Author: maartenc
Date: Tue Sep 22 22:23:11 2009
New Revision: 817868

URL: http://svn.apache.org/viewvc?rev=817868&view=rev
Log:
Don't add empty "doc/reports/ivy" directory to created zip files.

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

Modified: ant/ivy/core/branches/2.1.0/build-release.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.1.0/build-release.xml?rev=817868&r1=817867&r2=817868&view=diff
==============================================================================
--- ant/ivy/core/branches/2.1.0/build-release.xml (original)
+++ ant/ivy/core/branches/2.1.0/build-release.xml Tue Sep 22 22:23:11 2009
@@ -83,7 +83,7 @@
 	<target name="snapshot-src" depends="snapshot-metadata,all-doc">
 		<mkdir dir="${distrib.dir}"/>
 		<zip destfile="${distrib.dir}/${snapshot.full.name}-src.zip">
-			<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**"/>
+			<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**,**/reports/ivy/**"/>
 			<zipfileset dir="${src.dir}" prefix="${snapshot.full.name}/src/java"/>
 			<zipfileset dir="${basedir}/src/example" prefix="${snapshot.full.name}/src/example"/>
 			<zipfileset dir="${basedir}/src/etc" prefix="${snapshot.full.name}/src/etc"/>
@@ -114,7 +114,7 @@
 	
 	<target name="snapshot-bin-without-dependencies" depends="snapshot-metadata, jar, all-doc">
 		<zip destfile="${distrib.dir}/${snapshot.full.name}-bin.zip">
-			<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**"/>
+			<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**,**/reports/ivy/**"/>
 			<zipfileset dir="${basedir}/src/example" prefix="${snapshot.full.name}/src/example"/>
 			<zipfileset dir="${basedir}" includes="NOTICE" fullpath="${snapshot.full.name}/NOTICE"/>
 			<zipfileset dir="${basedir}" includes="README" prefix="${snapshot.full.name}"/>
@@ -137,7 +137,7 @@
 		<delete dir="${build.dir}/lib" />
 		<ivy:retrieve conf="default" pattern="${build.dir}/lib/[artifact]-[revision].[ext]" />
 		<zip destfile="${distrib.dir}/${snapshot.full.name}-bin-with-deps.zip">
-			<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**"/>
+			<zipfileset dir="${doc.build.dir}" prefix="${snapshot.full.name}/doc" excludes="**/reports/coverage/**,**/reports/test/**,**/reports/ivy/**"/>
 			<zipfileset dir="${basedir}/src/example" prefix="${snapshot.full.name}/src/example"/>
 			<zipfileset dir="${basedir}" includes="NOTICE" fullpath="${snapshot.full.name}/NOTICE"/>
 			<zipfileset dir="${basedir}" includes="README" prefix="${snapshot.full.name}"/>