dirkv 2004/03/01 13:52:23 Modified: jjar build.xml Log: Apache License 2.0 (patch by Michael Davey) Revision Changes Path 1.6 +7 -4 jakarta-commons-sandbox/jjar/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/jjar/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 26 Aug 2001 16:21:40 -0000 1.5 +++ build.xml 1 Mar 2004 21:52:23 -0000 1.6 @@ -169,8 +169,8 @@ <target name="dist" depends="compile,javadoc" description="Create binary distribution"> <mkdir dir="${dist.home}"/> - <copy file="LICENSE" - todir="${dist.home}"/> + <copy file="LICENSE.txt" todir="${dist.home}"/> + <copy file="NOTICE.txt" todir="${dist.home}"/> <!-- make a complete jar w/ the MinML2 SAX stuff --> <unzip src="${minml2.jar}" dest="${build.home}/classes"/> @@ -178,7 +178,10 @@ <jar jarfile="${dist.home}/${component.name}.jar" basedir="${build.home}/classes" - manifest="${build.home}/conf/MANIFEST.MF"/> + manifest="${build.home}/conf/MANIFEST.MF"> + <metainf dir="${basedir}" includes="LICENSE.txt,NOTICE.txt"/> + </jar> + </target> <target name="compile.tests" depends="compile"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]