craigmcc 02/01/14 18:54:28 Modified: beanutils build.xml Log: Add "jar" and "install-jar" targets that support copying the JAR file to ${lib.repo}. Submitted by: Jon Stevens <[EMAIL PROTECTED]> Revision Changes Path 1.27 +18 -1 jakarta-commons/beanutils/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-commons/beanutils/build.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- build.xml 12 Jan 2002 20:44:05 -0000 1.26 +++ build.xml 15 Jan 2002 02:54:28 -0000 1.27 @@ -3,7 +3,7 @@ <!-- "Bean Utilities" component of the Jakarta Commons Subproject - $Id: build.xml,v 1.26 2002/01/12 20:44:05 craigmcc Exp $ + $Id: build.xml,v 1.27 2002/01/15 02:54:28 craigmcc Exp $ --> @@ -201,12 +201,29 @@ todir="${dist.home}"/> <copy file="RELEASE-NOTES.txt" todir="${dist.home}"/> + <antcall target="jar"/> + </target> + + + <target name="jar" depends="compile" + description="Create jar"> + <mkdir dir="${dist.home}"/> <mkdir dir="${build.home}/classes/META-INF"/> <copy file="../LICENSE" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> <jar jarfile="${dist.home}/commons-${component.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF"/> + </target> + + + <target name="install-jar" depends="jar" + description="--> Installs jar file in ${lib.repo}"> + <copy todir="${lib.repo}" filtering="no"> + <fileset dir="${dist.home}"> + <include name="commons-${component.name}.jar"/> + </fileset> + </copy> </target>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>