Re: Is Compile Failure? was Re: Need some clarifications

2002-10-03 Thread Christian Gross

Thank-you, but I still seem to get errors.

Namely the logkit from Avalon is referencing an old verion.  I fixed it up 
to the following

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

xerces.home=${base.path}/xerces-2_2_0
xerces.lib=${xerces.home}
xercesImpl.jar=${xerces.lib}/xercesImpl.jar
xmlParserAPIs.jar=${xerces.lib}/xmlParserAPIs.jar
xerces.loc=http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.2.0.tar.gz

I do not know if you can commit changes, but these worked for me, since the 
old versions either do not exist or the references have been made updated.

Christian Gross

At 09:40 PM 02/10/2002 -0400, you wrote:
You need to be using the HEAD version of digester. It should have been built
in the directory specified by base.path. Double check that it was built
correctly. I just recreated it in my depends directory, and the system built
fine.


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




Need some clarifications

2002-10-02 Thread Christian Gross

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?

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

The CVS project jakarta-tomcat is anything before 4.0

The CVS project jakarta-tomcat-5.0 does nothing??

Thanks, for any help


Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166


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




Is Compile Failure? was Re: Need some clarifications

2002-10-02 Thread Christian Gross

Thanks for your answer.  That helps quite a bit.  Now I have another issue...

build-catalina:
 [javac] Compiling 94 source files to 
D:\Instructor\Projects\jakarta-tomcat-c
atalina\build\server\classes
 [javac] 
D:\Instructor\Projects\jakarta-tomcat-catalina\catalina\src\share\or
g\apache\catalina\startup\ContextConfig.java:537: cannot resolve symbol
 [javac] symbol  : method 
setEntityResolver  (org.apache.catalina.util.Schema
Resolver)
 [javac] location: class org.apache.commons.digester.Digester
 [javac] tldDigester.setEntityResolver(tldEntityResolver);
 [javac]^
 [javac] 
D:\Instructor\Projects\jakarta-tomcat-catalina\catalina\src\share\or
g\apache\catalina\startup\ContextConfig.java:595: cannot resolve symbol
 [javac] symbol  : method 
setEntityResolver  (org.apache.catalina.util.Schema
Resolver)
 [javac] location: class org.apache.commons.digester.Digester
 [javac] webDigester.setEntityResolver(webEntityResolver);
 [javac]^
 [javac] 
D:\Instructor\Projects\jakarta-tomcat-catalina\catalina\src\share\or
g\apache\catalina\util\SchemaResolver.java:154: cannot resolve symbol
 [javac] symbol  : method setPublicId  (java.lang.String)
 [javac] location: class org.apache.commons.digester.Digester
 [javac] digester.setPublicId(publicId);
 [javac] ^
 [javac] Note: Some input files use or override a deprecated API.
 [javac] Note: Recompile with -deprecation for details.
 [javac] 3 errors

BUILD FAILED
file:D:/Instructor/Projects/jakarta-tomcat-catalina/catalina/build.xml:801: 
Comp
ile failed; see the compiler error output for details.

I checked out digester 1.3 and 1.2 and there does not seem to be a method 
setEntityResolver.  Or am I missing something?

Christian Gross


At 14:18 02/10/2002 -0400, you wrote:

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]

Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166


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