Include the license/notice in the source/javadoc jars

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504729 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2007-02-07 23:09:31 +00:00
parent 9bc372b2ae
commit 333c9ecbcb
1 changed files with 6 additions and 0 deletions

View File

@ -97,8 +97,14 @@
<copy file="RELEASE-NOTES.txt" todir="${dist.home}"/>
<antcall target="jar"/>
<copy file="${dist.home}/${final.name}.jar" todir="."/>
<copy todir="${source.home}/META-INF">
<fileset dir="${basedir}" includes="LICENSE*, NOTICE*" />
</copy>
<jar jarfile="${final.name}-sources.jar" basedir="${source.home}" manifest="${build.home}/conf/MANIFEST.MF"/>
<copy file="${final.name}-sources.jar" todir="${dist.home}"/>
<copy todir="${dist.home}/docs/api/META-INF">
<fileset dir="${basedir}" includes="LICENSE*, NOTICE*" />
</copy>
<jar jarfile="${final.name}-javadoc.jar" basedir="${dist.home}/docs/api" manifest="${build.home}/conf/MANIFEST.MF"/>
<copy file="${final.name}-javadoc.jar" todir="${dist.home}"/>
<mkdir dir="${final.name}"/>