You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by ps...@apache.org on 2011/04/13 12:59:48 UTC

svn commit: r1091738 - /incubator/wookie/branches/0.9.x/ant/ivy-java-common.xml

Author: psharples
Date: Wed Apr 13 10:59:48 2011
New Revision: 1091738

URL: http://svn.apache.org/viewvc?rev=1091738&view=rev
Log:
Modified ant to add licence files to generated jar files. See WOOKIE-202

Modified:
    incubator/wookie/branches/0.9.x/ant/ivy-java-common.xml

Modified: incubator/wookie/branches/0.9.x/ant/ivy-java-common.xml
URL: http://svn.apache.org/viewvc/incubator/wookie/branches/0.9.x/ant/ivy-java-common.xml?rev=1091738&r1=1091737&r2=1091738&view=diff
==============================================================================
--- incubator/wookie/branches/0.9.x/ant/ivy-java-common.xml (original)
+++ incubator/wookie/branches/0.9.x/ant/ivy-java-common.xml Wed Apr 13 10:59:48 2011
@@ -145,6 +145,9 @@
     
     <target name="jar" depends="clean-dist, compile-core" description="--> make a jar file for this project">
     	<mkdir dir="${dist.dir}"/>
+    	<copy file="../../LICENSE" tofile="${project.build.classes.dir}/LICENSE" overwrite="yes" />
+    	<copy file="../../NOTICE" tofile="${project.build.classes.dir}/NOTICE" overwrite="yes" />
+    	<copy file="../../DISCLAIMER" tofile="${project.build.classes.dir}/DISCLAIMER" overwrite="yes" />
         <jar destfile="${dist.dir}/${ant.project.name}-${version}.jar">
             <fileset dir="${project.build.classes.dir}"/>
         </jar>