Include LICENSE.txt and NOTICE.txt in jars.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2004-12-13 04:53:25 +00:00
parent ca225527d3
commit 1dc2847bed
1 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--build.xml generated by maven from project.xml version 1.1-dev
on date December 9 2004, time 2202-->
on date December 12 2004, time 2150-->
<project default="jar" name="commons-math" basedir=".">
<property name="defaulttargetdir" value="target">
@ -51,6 +51,16 @@
<classpath refid="build.classpath">
</classpath>
</javac>
<mkdir dir="${classesdir}/META-INF">
</mkdir>
<copy todir="${classesdir}/META-INF">
<fileset dir=".">
<include name="NOTICE.txt">
</include>
<include name="LICENSE.txt">
</include>
</fileset>
</copy>
</target>
<target name="jar" description="o Create the jar" depends="compile,test">
<jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">