dwinterfeldt 02/01/08 03:30:40
Modified: validator build.xml build.properties.sample
Log:
Added comments and removed unecessary properties (jar/path references).
Revision Changes Path
1.2 +6 -4 jakarta-commons/validator/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 6 Jan 2002 05:03:47 -0000 1.1
+++ build.xml 8 Jan 2002 11:30:39 -0000 1.2
@@ -1,7 +1,6 @@
<!--
- You will need Ant setup properly and have the commons-cactus-ant.jar in the
classpath. The build.properties file
- will need to be edited to point to some jar files, java.home, and the
application servers you want to
- run the tests on.
+ You will need Ant setup properly to run this script. The
"build.properties.sample" file
+ will need to be edited to point to some jar files and renamed to
"build.properties".
-->
<project name="Commons Validator" default="jar" basedir=".">
<!-- set global properties for this build -->
@@ -46,7 +45,8 @@
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}/${share}"/>
</target>
-
+
+ <!-- Compile shared source -->
<target name="compile" depends="prepare">
<!-- Compile the java code from ${src}/${share} into ${build}/${share} -->
<javac srcdir="${src}/${share}"
@@ -55,6 +55,7 @@
</javac>
</target>
+ <!-- Create distribution jar of shared source -->
<target name="jar" depends="compile">
<!-- Create the ${dist}/lib directory -->
<mkdir dir="${dist}" />
@@ -65,6 +66,7 @@
includes="${package.root}/**"/>
</target>
+ <!-- Create Javadocs -->
<target name="javadocs" depends="jar" description="Creates the API
documentation">
<mkdir dir="${build.javadocs}"/>
<javadoc packagenames="org.apache.commons.validator.*"
1.2 +7 -28 jakarta-commons/validator/build.properties.sample
Index: build.properties.sample
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/build.properties.sample,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.properties.sample 6 Jan 2002 05:03:47 -0000 1.1
+++ build.properties.sample 8 Jan 2002 11:30:39 -0000 1.2
@@ -1,37 +1,16 @@
-# Properties related to the user's environment. This file should be provided
-# for building the Cactus Sample or the properties need to be specified on
-# the command line when starting Ant with the -D switch
+# -----------------------------------------------------------------------------
+# This is an example "build.properties" file. Make any changes you need,
+# and rename this file to "build.properties" in the same directory that
+# contains the "build.xml" file.
+# -----------------------------------------------------------------------------
-java.home=d:/jdk1.3
commons-beanutils.jar=d:/java/lib/commons-beanutils.jar
commons-collections.jar=d:/java/lib/commons-collections.jar
commons-digester.jar=d:/java/lib/commons-digester.jar
regexp.jar=e:/software/regexp/jakarta-regexp-1.2.jar
-xerces.jar=e:/software/xerces/xerces.jar
-
-# For compile_struts task (Struts interface for Validator)
-struts.jar=../../target/library/struts.jar
-struts.tlds=../../target/library
-servlet.jar=e:/tomcat3/lib/servlet.jar
-jdbc20ext.jar=d:/java/lib/jdbc2_0-stdext.jar
# Unit Testing
junit.jar=e:/software/junit3.5/junit.jar
-# Unit Testing For Struts Interface to Validator
-cactus.jar=e:/software/cactus/lib/commons-cactus.jar
-cactus.ant.jar=e:/software/cactus/lib/commons-cactus-ant.jar
-
-# Shouldn't be necessary, there is a problem with my ant setup
-#ant.jar=c:/software/ant/lib/ant.jar
-#ant.optional.jar=c:/software/ant/lib/optional.jar
-
-# Servlet engine locations for the tests
-
-# Note: If you don't want to run the test on a given servlet engine, just
-# comment it's home property. For example, if you don't want to run the
-# tests on the Resin 1.3, comment the "resin.home.13" property.
-#resin.home.13=f:/applis/resin-1.3.s010125
-tomcat.home.32=e:/tomcat3
-tomcat.home.40=e:/tomcat4
-
+# Just needed for building the Javadocs
+xerces.jar=e:/software/xerces/xerces.jar
\ No newline at end of file
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>