Tomcat 5

Full Working build.properties Example

Create a build.properties file in the wck directory. build.properties.sample is there as a template.

The following is a build.properties file I used to build WCK. Adjust according to your own system.

# ----- Compile Control Flags -----
compile.debug=on
compile.deprecation=off
compile.optimize=on
compile.target=1.4
build.compiler=modern

#skip.javadoc
#skip.slide

# ----- Project -----
# change this if you want the build to work for your own project
# create a new Domain.xml pointing to your implementation and add a new
# jaas.config for your own authentication
# change the slide properties only if you want other parts
# enabled / disabled
# add your sources and libraries to the additional paths

#name=Jakarta-Slide-WebDAV-Construction-Kit
#year=2004
#version=1.0
#release-notes=RELEASE-NOTES-1.0
#project=jakarta-slide-wck
#final.name=${project}-${version}
#license=LICENSE
#readme=README


domain=/Applications/jakarta-slide-2.1b2-tomcat-5.0.28/webapps/slide/Domain.xml
jaas.config=/Applications/jakarta-slide-2.1b2-tomcat-5.0.28/conf/jaas.config
slide.properties=/Applications/jakarta-slide-2.1b2-tomcat-5.0.28/webapps/slide/WEB-INF/classes/org/apache/slide/slide.properties

#additional.src.dir=
#additional.lib.dir=

# ----- Slide -----

slide.base.dir=../..
lib.dir=${slide.base.dir}/lib
slide.lib.dir=${slide.base.dir}/dist/slide/lib
#slide.version=2.2
supports.macro.store

# ----- Catalina distribution directory -----
# add the location of your catalina distribution here to make the deploy target work

catalina.dist=/Applications/jakarta-slide-2.1b2-tomcat-5.0.28
catalina.server.lib=${catalina.dist}/server/lib
catalina.common.lib=${catalina.dist}/common/lib
catalina.jar=${catalina.server.lib}/catalina.jar
# for 5.0.28
jmx.jar=${catalina.dist}/bin/jmx.jar
# for earlier versions
#jmx.jar=${catalina.common.lib}/jmx.jar

Mailing List Comments

"You will have copy build.properties.sample to build.properties and adapt the properties there as it builds to the latest CVS HEAD as default. Like this:"

slide.base.dir=[whereever you have checked it out].
#lib.dir=${slide.base.dir}/lib
#slide.lib.dir=${slide.base.dir}/dist/slide/lib
slide.version=2.1b2
#supports.macro.store

"However, when you build to the 2.1b2 release and not to the latest version from the 2.1 release branch I guess you will have to change the build.xml as well to point to the old commons tx version. Replace commons-transaction-20041031.jar with the version you find in the 2.1b2 lib directory"

WckTomcat (last edited 2009-09-20 22:02:50 by localhost)