jvanzyl 01/08/08 06:09:20
Modified: util build.xml
Added: util build.properties
Log:
- updating build to allow the installation of the jar into ${lib.repo}
Revision Changes Path
1.2 +13 -1 jakarta-commons-sandbox/util/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/util/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 2001/08/07 23:23:39 1.1
+++ build.xml 2001/08/08 13:09:20 1.2
@@ -1,7 +1,7 @@
<project name="Jakarta Commons Utilities" default="jar" basedir=".">
<!--
- $Id: build.xml,v 1.1 2001/08/07 23:23:39 dlr Exp $
+ $Id: build.xml,v 1.2 2001/08/08 13:09:20 jvanzyl Exp $
-->
<!-- ========== Initialize Properties =================================== -->
@@ -160,6 +160,18 @@
manifest="${source.home}/conf/MANIFEST.MF"/>
</target>
+ <!-- ================================================================== -->
+ <!-- I N S T A L L J A R -->
+ <!-- ================================================================== -->
+
+ <target name="install-jar" depends="jar"
+ description="==> Installs .jar file in ${lib.repo}">
+ <copy todir="${lib.repo}" filtering="no">
+ <fileset dir="${build.dir}">
+ <include name="${final.name}.jar"/>
+ </fileset>
+ </copy>
+ </target>
<!-- ========== Unit Test Targets ======================================= -->
1.1 jakarta-commons-sandbox/util/build.properties
Index: build.properties
===================================================================
build.dir = .
final.name = commons-util-0.1-dev