donaldp 01/03/30 00:56:57
Modified: . build.xml
Log:
Made it possible to reference a global directory ${cjan.lib} that contains
implementations of all dependent jars.
Also made it possible to install into a global ${phoenix.home}
If a user wants to take advantage of this they should ideally set them in a
.ant.properties in their home directory. They then run build.[sh|bat] install rather
than standard command.
Revision Changes Path
1.8 +13 -0 jakarta-avalon-logkit/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-logkit/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.xml 2001/03/02 05:09:28 1.7
+++ build.xml 2001/03/30 08:56:55 1.8
@@ -63,6 +63,7 @@
<property name="src.dir" value="src"/>
<property name="lib.dir" value="lib"/>
<property name="java.dir" value="${src.dir}/java"/>
+ <property name="test.dir" value="${src.dir}/test"/>
<property name="tools.dir" value="tools"/>
<property name="docs.dir" value="docs"/>
<property name="www.dir" value="www"/>
@@ -155,6 +156,7 @@
optimize="${optimize}"
deprecation="${deprecation}">
<classpath refid="project.class.path" />
+<!-- <src path="${test.dir}"/> -->
<exclude name="org/apache/log/output/ServletOutputLogTarget.java"
unless="servlet.present"/>
</javac>
@@ -180,6 +182,17 @@
<include name="org/apache/log/**" />
</jar>
+ </target>
+
+ <target name="install" depends="jar,install-check-cjan">
+
+ <mkdir dir="${cjan.lib}" />
+ <copy file="${build.lib}/${name}.jar" todir="${cjan.lib}"/>
+
+ </target>
+
+ <target name="install-check-cjan" unless="cjan.lib">
+ <fail message="cjan.lib not specified." />
</target>
<!--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]