Add notice to builds

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-02-19 21:29:35 +00:00
parent 1d76a967b2
commit fc6b3de4e1
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,7 @@ limitations under the License.
<project name="Lang" default="compile" basedir="."> <project name="Lang" default="compile" basedir=".">
<!-- <!--
"Lang" component of the Jakarta Commons Subproject "Lang" component of the Jakarta Commons Subproject
$Id: build.xml,v 1.25 2004/02/18 23:13:37 ggregory Exp $ $Id: build.xml,v 1.26 2004/02/19 21:29:35 scolebourne Exp $
--> -->
<!-- ========== Initialize Properties ===================================== --> <!-- ========== Initialize Properties ===================================== -->
<property file="${user.home}/${component.name}.build.properties"/> <property file="${user.home}/${component.name}.build.properties"/>
@ -105,6 +105,7 @@ limitations under the License.
<target name="dist" depends="compile,javadoc" description="Create binary distribution"> <target name="dist" depends="compile,javadoc" description="Create binary distribution">
<mkdir dir="${dist.home}"/> <mkdir dir="${dist.home}"/>
<copy file="LICENSE.txt" todir="${dist.home}"/> <copy file="LICENSE.txt" todir="${dist.home}"/>
<copy file="NOTICE.txt" todir="${dist.home}"/>
<copy file="RELEASE-NOTES.txt" todir="${dist.home}"/> <copy file="RELEASE-NOTES.txt" todir="${dist.home}"/>
<antcall target="jar"/> <antcall target="jar"/>
</target> </target>
@ -124,6 +125,7 @@ limitations under the License.
<mkdir dir="${dist.home}"/> <mkdir dir="${dist.home}"/>
<mkdir dir="${build.home}/classes/META-INF"/> <mkdir dir="${build.home}/classes/META-INF"/>
<copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
<copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
<jar jarfile="${dist.home}/${final.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF" excludes="**/*.html"/> <jar jarfile="${dist.home}/${final.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF" excludes="**/*.html"/>
</target> </target>
<target name="install-jar" depends="jar" description="--> Installs jar file in ${lib.repo}"> <target name="install-jar" depends="jar" description="--> Installs jar file in ${lib.repo}">