remm 02/02/08 08:42:29
Modified: . build.properties.sample build.xml
Log:
- (Massive) clean up of the properties used by the build process, to harmonize
with Tomcat 4 (and other projects).
- The only change is: jmxri.jar -> jmx.jar (as it is recommended now
to use OpenJMX instead of the JMX RI).
Revision Changes Path
1.10 +99 -44 jakarta-slide/build.properties.sample
Index: build.properties.sample
===================================================================
RCS file: /home/cvs/jakarta-slide/build.properties.sample,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- build.properties.sample 11 Nov 2001 20:14:58 -0000 1.9
+++ build.properties.sample 8 Feb 2002 16:42:29 -0000 1.10
@@ -6,7 +6,7 @@
# Make any changes you need, and rename this file to
# "build.properties"
#
-# $Id: build.properties.sample,v 1.9 2001/11/11 20:14:58 remm Exp $
+# $Id: build.properties.sample,v 1.10 2002/02/08 16:42:29 remm Exp $
# -------------------------------------------------------------------
@@ -14,14 +14,16 @@
# CONFIGURATION OPTIONS
# -------------------------------------------------------------------
-# Uncomment the following line to set user authentication on by default
-#authenticate
+# ----- Compile Control Flags -----
+compile.debug=on
+compile.deprecation=off
+compile.optimize=on
-# Tell Ant to ignore the system's classpath (dramatically improves the
-# probability to get correctly packaged binaries if the build is
-# successfull)
-#build.sysclasspath=ignore
+# ----- Build Control Flags
+#build.sysclasspath=ignore
+# Uncomment the following line to set user authentication on by default
+#authenticate
# Uncomment to avoid generating JavaDocs (faster builds)
#skip.javadoc
@@ -30,56 +32,109 @@
# EXTERNAL DEPENDENCIES
# -------------------------------------------------------------------
-# The path that is base for the rest of the paths in this file.
-base.path=/jars
+
+# ----- Default Base Path for Dependent Packages -----
+base.path=/usr/local
+
# [REQUIRED]
-# The directory containing your binary distribution of JAXP and its
-# associated declarations. You can customize the versions of JAXP used
-# for Catalina and Jasper below. If you are using JAXP/1.0, replace
-# "crimson.jar" with "parser.jar"
+
+# ----- JAXP 1.1 compliant XML Parser -----
jaxp.home=${base.path}/jaxp
jaxp.parser.jar=crimson.jar
-# junit.jar -- JUnit classes (http://junit.org)
-junit.jar=${base.path}/junit.jar
-# The directory containing your binary distribution of the Servlet 2.2
-# and JSP 1.2 API classes
-servletapi.home=${base.path}/servlet22
+# ----- JUnit, version 3.7 or later -----
+junit.home=${base.path}/junit3.7
+junit.lib=${junit.home}
+junit.jar=${junit.lib}/junit.jar
+
-# jta.jar -- Java Transaction API 1.0.1 (http://java.sun.com/products/jta/)
-jta.jar=${base.path}/jta.jar
+# ----- Jakarta Servlet API Classes (Servlet 2.3 / JSP 1.2) -----
+servlet.home=${base.path}/jakarta-servletapi-4
+servlet.lib=${servlet.home}/lib
+servlet.jar=${servlet.lib}/servlet.jar
+
+
+# ----- Java Transaction API (JTA), version 1.0.1 or later -----
+jta.home=${base.path}/jta-spec1_0_1
+jta.lib=${jta.home}
+jta.jar=${jta.lib}/jta-spec1_0_1.jar
+
+
+# ----- JDOM, version 1.0 b7 or later -----
+jdom.home=${base.path}/jdom-b7
+jdom.lib=${jdom.home}/build
+jdom.jar=${jdom.lib}/jdom.jar
-# jdom.jar -- JDOM (http://www.jdom.org/)
-jdom.jar=${base.path}/jdom.jar
# [OPTIONAL]
-# The directory containing your binary distribution of the Java Naming and
-# Directory Interface (JNDI), version 1.2.1 or later. (You must also add
-# "ldap.jar" into the ${jndi.home}/lib directory if you want to build and
-# use JNDIRealm.)
-jndi.home=${base.path}/jndi
-
-# log4j.jar -- log4j (http://jakarta.apache.org/log4j/)
-log4j.jar=${base.path}/log4j.jar
-
-# The directory containing your binary distribution of Jakarta Struts,
-# version 1.0 (required to build the Slide tag library and the Slide
-# administration webapp).
-struts.home=../jakarta-struts/dist
-
-# The directory containing your binary distribution of the Java Management
-# Extensions (JMX) Reference Implementation, version 1.0.1 or later
-jmx.home=${base.path}/jmx-ri_1.0.1/jmx
-jmx.lib=${jmx.home}/lib
-jmxri.jar=${jmx.lib}/jmxri.jar
-jmxtools.jar=${jmx.lib}/jmxtools.jar
-# Catalina distribution directory
+# ----- Catalina distribution directory -----
catalina.dist=${base.path}/jakarta-tomcat-4.1
-# hsqldb.jar -- HSQL Database Engine (http://sourceforge.net/projects/hsqldb/)
+
+# ----- HSQL Database Engine (http://sourceforge.net/projects/hsqldb/) -----
hsqldb.jar=./lib/hsqldb.jar
+
+
+# ----- Commons DBCP, version 20011030 or later -----
+commons-dbcp.home=${base.path}/commons-dbcp
+commons-dbcp.lib=${commons-dbcp.home}
+commons-dbcp.jar=${commons-dbcp.lib}/commons-dbcp.jar
+
+
+# ----- Commons Modeler, version 20020117 or later -----
+commons-modeler.home=${base.path}/commons-modeler
+commons-modeler.lib=${commons-modeler.home}
+commons-modeler.jar=${commons-modeler.lib}/commons-modeler.jar
+
+
+# ----- Commons Pool, version 20011030 or later -----
+commons-pool.home=${base.path}/commons-pool
+commons-pool.lib=${commons-pool.home}
+commons-pool.jar=${commons-pool.lib}/commons-pool.jar
+
+
+# ----- Java Database Connectivity (JDBC) Optional Package, version 2.0 -----
+jdbc20ext.home=${base.path}/jdbc2_0-stdext
+jdbc20ext.lib=${jdbc20ext.home}
+jdbc20ext.jar=${jdbc20ext.lib}/jdbc2_0-stdext.jar
+
+
+# ----- Java Management Extensions (JMX), JMX RI 1.0.1 or later or OpenJMX 1.0b2 or
later -----
+jmx.home=${base.path}/openjmx-1.0
+jmx.lib=${jmx.home}/lib
+jmx.jar=${jmx.lib}/openjmx.jar
+
+
+# ----- Java Naming and Directory Interface (JNDI), version 1.2 or later -----
+jndi.home=${base.path}/jndi-1.2.1
+jndi.lib=${jndi.home}/lib
+jndi.jar=${jndi.lib}/jndi.jar
+
+
+# ----- JSP Standard Tag Library, version 1.0 EA 3 or later -----
+taglibs.home=${base.path}/jakarta-taglibs
+jstl.home=${taglibs.home}/jstl-ea3
+jstl-tlds.home=${jstl.home}
+jstl.lib=${jstl.home}
+js.jar=${jstl.lib}/js.jar
+jstl.jar=${jstl.lib}/jstl.jar
+standard.jar=${jstl.lib}/standard.jar
+
+
+# ----- log4j (http://jakarta.apache.org/log4j/) -----
+log4j.home=${base.path}/jakarta-log4j-1.1.3
+log4j.lib=${log4j.home}/dist/lib
+log4j.jar=${log4j.lib}/log4j.jar
+
+
+# ----- Struts, version 1.0.1 or later -----
+struts.home=${base.path}/jakarta-struts-1.0.1
+struts.lib=${struts.home}/lib
+struts.jar=${struts.lib}/struts.jar
+
+
1.151 +6 -6 jakarta-slide/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/build.xml,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- build.xml 30 Jan 2002 17:11:39 -0000 1.150
+++ build.xml 8 Feb 2002 16:42:29 -0000 1.151
@@ -36,10 +36,10 @@
<!-- Dependencies Properties -->
<!-- =================================================================== -->
<property name="catalina.dist" value="../jakarta-tomcat-4.0/dist" />
- <property name="servletapi.home"
+ <property name="servlet.home"
value="../jakarta-servletapi/" />
<property name="servlet.jar"
- value="${servletapi.home}/lib/servlet.jar" />
+ value="${servlet.home}/lib/servlet.jar" />
<property name="jdom.home" value="./lib"/>
<property name="jdom.jar" value="${jdom.home}/jdom.jar"/>
<property name="jaxp.home" value="../jaxp"/>
@@ -133,7 +133,7 @@
<pathelement location="${jaxp.jar}"/>
<pathelement location="${jta.jar}"/>
<pathelement location="${jdom.jar}"/>
- <pathelement location="${jmxri.jar}"/>
+ <pathelement location="${jmx.jar}"/>
</path>
<path id="manager.classpath">
@@ -160,7 +160,7 @@
<path id="wrappers.classpath">
<pathelement location="${jta.jar}"/>
<pathelement location="${jaxp.jar}"/>
- <pathelement location="${jmxri.jar}"/>
+ <pathelement location="${jmx.jar}"/>
<pathelement location="${xmlapi.jar}"/>
<pathelement location="${jndi.jar}"/>
<pathelement location="${slide.build}/classes"/>
@@ -307,7 +307,7 @@
classpath="${jta.jar}" />
<available property="jmx.present"
classname="javax.management.MBeanServer"
- classpath="${jmxri.jar}" />
+ classpath="${jmx.jar}" />
<available property="modeler.present"
classname="org.apache.commons.modeler.Registry"
classpath="${commons-modeler.jar}" />
@@ -403,7 +403,7 @@
<echo message="xmlapi.jar=${xmlapi.jar}" />
<echo message="xmlparser.jar=${xmlparser.jar}" />
<echo message="jmx.home=${jmx.home}" />
- <echo message="jmxri.jar=${jmxri.jar}" />
+ <echo message="jmx.jar=${jmx.jar}" />
<echo message="junit.jar=${junit.jar}" />
<echo message="log4j.jar=${log4j.jar}" />
<echo message="jta.jar=${jta.jar}" />
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>