In order to thank you for your kind explanation, I'd like to share my
TC5 pre-build and post-build result and some updated tips .(Notice: The
following processes are wholly up to 7 Oct. 2002.)

Test Build Environment:
IBM ThinkPad R32
Windows XP
JDK 1.4.1
Ant 1.5.1
WinCVS 1.3b8(dos command cvs is based on cvs 1.11)
Python 2.2.1

First, we need to modify jakart-tomcat-5's build.properties as followed.

1. Since there's no LogKit-1.0.1 in latest directory,

# ----- LogKit -----
logkit.home=${base.path}/LogKit-1.1
logkit.lib=${logkit.home} logkit.jar=${logkit.lib}/logkit-1.1.jar
logkit.loc=http://jakarta.apache.org/builds/jakarta-
avalon/release/logkit/latest/LogKit-1.1-bin.tar.gz


2. There's brand-new Java Mail and JAF libraries now, so I downloaded
and copied them instead of previously specified versions. (Make
javamail-1.3 and jaf-1.0.2 directories and copy the specified jar files
to there respectively.)

# ----- Java Mail, version 1.2 or later -----
mail.home=${base.path}/javamail-1.3
mail.lib=${mail.home}
mail.jar=${mail.lib}/mailapi.jar

# ----- Java Activation Framework (JAF), version 1.0.1 or later -----
activation.home=${base.path}/jaf-1.0.2
activation.lib=${activation.home}
activation.jar=${activation.lib}/activation.jar

3. This is optional, however, I prefer JDK 1.4 version.

#Build lightweight JDK 1.4 distribution
light.dist=on

Next, we are on the step of build stage. Unfortunately, there's no
"build" target in tomcat 5 ant build.xml. Instead, we can do "ant dist"
after "ant download". Actually it emitted quite many warnings including
deprecations and absences of libraries, but successfully completed.

I put some built distribution(zip format) here: 
http://www.iasandcb.pe.kr/starbucks/special/jakarta-tomcat-5.0-ias-
build.zip

I've not tested fully enough, but tomcat startup shell displayed like
this:

2002. 10. 7. ¿ÀÈÄ 1:44:26 org.apache.commons.modeler.Registry
loadRegistry
Á¤º¸: Loading registry information
2002. 10. 7. ¿ÀÈÄ 1:44:26 org.apache.commons.modeler.Registry
getRegistry
Á¤º¸: Creating new Registry instance
2002. 10. 7. ¿ÀÈÄ 1:44:26 org.apache.commons.modeler.Registry getServer
Á¤º¸: Creating MBeanServer
2002. 10. 7. ¿ÀÈÄ 1:44:28 org.apache.coyote.http11.Http11Protocol init
Á¤º¸: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/5.0
2002. 10. 7. ¿ÀÈÄ 1:44:30 org.apache.catalina.startup.ContextConfig
tldScan
Á¤º¸: Processed tld jar  /WEB-INF/lib/struts.jar 261
2002. 10. 7. ¿ÀÈÄ 1:44:30 org.apache.catalina.startup.ContextConfig
authenticato
rConfig
Á¤º¸: Configured an authenticator for method FORM
2002. 10. 7. ¿ÀÈÄ 1:44:39 org.apache.catalina.startup.ContextConfig
authenticato
rConfig
Á¤º¸: Configured an authenticator for method BASIC
2002. 10. 7. ¿ÀÈÄ 1:44:41 org.apache.catalina.startup.ContextConfig
authenticato
rConfig
Á¤º¸: Configured an authenticator for method FORM
2002. 10. 7. ¿ÀÈÄ 1:44:42 org.apache.catalina.startup.ContextConfig
authenticato
rConfig
Á¤º¸: Configured an authenticator for method FORM
2002. 10. 7. ¿ÀÈÄ 1:44:42 org.apache.coyote.http11.Http11Protocol start
Á¤º¸: Starting Coyote HTTP/1.1 on port 8080
2002. 10. 7. ¿ÀÈÄ 1:44:42 org.apache.jk.common.ChannelSocket init
Á¤º¸: JK2: ajp13 listening on tcp port 8009
2002. 10. 7. ¿ÀÈÄ 1:44:42 org.apache.jk.server.JkMain start
Á¤º¸: Jk running ID=0 time=10/30  config=C:\java\jakarta\cvs\jakarta-
tomcat-5\di
st\bin\..\conf\jk2.properties

(Sorry for some broken characters. They are Korean.)
The built Tomcat 5 examples with EL-based JSP 2 style works fine.

I wish all the Tomcat players and spectators good luck with version 5.  

IAS

Independent Java Technical Evangelist
http://www.iasandcb.pe.kr

--------------------
From: Steve Downey 
Subject: Re: Need some clarifications 
Date: Wed, 02 Oct 2002 10:54:53 -0700 

On Wednesday 02 October 2002 09:38 am, Christian Gross wrote:
> Hi
>
> So I worked myself through the various CVS sources and have a couple
of
> "official" position questions to ask.
>
> The CVS projects jakarta-tomcat-catalina and jakarta-tomcat-jasper,
will be
> forming the Tomcat 5 work?

jakarta-servletapi-5, jakarta-tomcat-5, jakarta-tomcat-catalina, 
jakarta-tomcat-connectors, jakarta-tomcat-jasper, and jakarta-watchdog-
4.0 
are the CVS repositories involved in Tomcat 5.0

>
> The CVS project jakarta-tomcat-4.0 is the 4.x branch?
>
Yes

> The CVS project jakarta-tomcat is anything before 4.0
>
Tomcat 3.x, at least. 

> The CVS project jakarta-tomcat-5.0 does nothing??????
>
It's the master project for the whole Tomcat 5.0 project. To use it,
start 
with a directory like tc5-workspace. In that directory:
export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
cvs co jakarta-servletapi-5 
cvs co jakarta-tomcat-5 
cvs co jakarta-tomcat-catalina 
cvs co jakarta-tomcat-connectors 
cvs co jakarta-tomcat-jasper

then, in jakarta-tomcat-5 create a build.properties file with the
following 
definition
base.path = /home/sdowney/tc5-workspace/depends
(replace /home/sdowney/tc5-workspace with path to your workspace. I
don't know 
if relative will work. I stopped dinking when I got my build system to 
function)

You need ant 1.5 to build Tomcat 5

export ANT_HOME=/home/sdowney/tools/jakarta-ant-1.5

PATH=$PATH:$ANT_HOME/bin

ant download

The download target in Tomcat 5 gets the necessary ancillary libraries
to 
build the system. I'm using JDK 1.4, which has a few things built in.
You may 
need to install some things in JDK 1.3, like JCE. I'm not sure.

Then:

ant build
ant test
[Not many tests at the moment]
If you're contributing, you may also want to do

ant -Dfull.dist=on build

That will force a full compile, rather than checking which optional
components 
are available and setting things on or off based on the presense or
absense 
of classes. That useful for building a customized version, but for
testing 
purposes, a full build is better.

To run the watchdog conformance test suite:

ant watchdog

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to