Switched from using top-level Commons LICENSE to specific Commons Lang LICENSE.txt. The main driving reason for this is so that distributed sources may properly build.

Submitted by:	Arnaud Vandyck


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137392 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2003-07-04 15:26:38 +00:00
parent 8df8ade07c
commit 81bd0596f2

View File

@ -1,7 +1,7 @@
<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.12 2003/05/31 18:44:36 ggregory Exp $ $Id: build.xml,v 1.13 2003/07/04 15:26:38 bayard Exp $
--> -->
<!-- ========== Initialize Properties ===================================== --> <!-- ========== Initialize Properties ===================================== -->
<property file="${user.home}/${component.name}.build.properties"/> <property file="${user.home}/${component.name}.build.properties"/>
@ -79,14 +79,14 @@
</target> </target>
<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" todir="${dist.home}"/> <copy file="LICENSE.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>
<target name="jar" depends="compile" description="Create jar"> <target name="jar" depends="compile" description="Create jar">
<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" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
<jar jarfile="${dist.home}/${final.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF"/> <jar jarfile="${dist.home}/${final.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF"/>
</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}">