craigmcc 02/01/21 16:49:41
Modified: validator build.xml
Log:
Add global commons-local and user level build.properties reading.
Add a "clean" target for consistency with other build.xml scripts.
Revision Changes Path
1.5 +9 -0 jakarta-commons/validator/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.xml 17 Jan 2002 04:15:46 -0000 1.4
+++ build.xml 22 Jan 2002 00:49:41 -0000 1.5
@@ -5,6 +5,8 @@
<project name="Commons Validator" default="jar" basedir=".">
<!-- set global properties for this build -->
<property file="build.properties"/>
+ <property file="../build.properties"/>
+ <property file="${user.home}/build.properties"/>
<property name="title" value="Commons Validator" />
<property name="name" value="validator" />
@@ -89,6 +91,13 @@
<copy todir="${dist}" file="../LICENSE"/>
</target>
+ <!-- Clean build and dist directories -->
+ <target name="clean"
+ description="Clean build and distribution directories">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+
<!-- Compile JUnit Tests -->
<target name="build-test" depends="jar" description="builds binaries for
testing">
<mkdir dir="${build}/${test}"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>