Hi,
I haven't tried to build 4.x or 5.0 in a while, but 5.5 works fine.  I
just did a clean build from scratch, no problems.  Here's how:

svn co http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x tomcat
cd tomcat/build
// customize your build.properties if/as needed
ant download
ant

Yoav

On 6/16/06, Derek Lac <[EMAIL PROTECTED]> wrote:
Hi,
 I've downloaded various versions of the 5.5 sources, and they all failed
with different reason.



When I use svn to checkout the code, I get the following error:



svn: Can't check path
'tomcat\watchdog\branches\other\tc3.x\Apache_Jakarta\src\c

lients\org\apache\jcheck\jsp\client\.:': The filename, directory name, or
volume

 label syntax is incorrect.

When I got the build.xml containing the svn to download the sources from the
source control, it immediately failed with the following error:
checkout:

checkout:
     [echo] If the checkout fails, - todo -
     [exec] Error validating server certificate for '
<https://svn.apache.org:443> https://svn.apache.org:443'
:
     [exec]  - The certificate is not issued by a trusted authority. Use the
     [exec]    fingerprint to validate the certificate manually!
     [exec] Certificate information:
     [exec]  - Hostname: svn.apache.org
     [exec]  - Valid: from Jan 26 14:18:55 2005 GMT until Jan 26 14:18:55
2007 G
MT
     [exec]  - Issuer:  <http://www.starfieldtech.com/repository>
http://www.starfieldtech.com/repository, Starfield Techno
logies, Inc., Scottsdale, Arizona, US
     [exec]  - Fingerprint:
19:51:6b:9b:03:78:2b:4b:0f:02:77:ed:2a:85:ef:93:ed:b
6:ff:95
     [exec] (R)eject, accept (t)emporarily or accept (p)ermanently? svn:
PROPFIN
D request failed on '/repos/asf/tomcat/build/tc5.5.x'
     [exec] svn: PROPFIND of '/repos/asf/tomcat/build/tc5.5.x': Server
certifica
te verification failed: issuer is not trusted ( <https://svn.apache.org>
https://svn.apache.org)

     [exec] Fetching external item into 'C:\dev\tom3\tomcat-dev\build'




When I get the jakarta-tomcat-5.0.28 (assumed to be the stable vesion), I
get the following errors:
Buildfile: build.xml

check.source:

check.source.depends:

get.source:

get.source.depends:

checkout.depends:
      [cvs] cvs [checkout aborted]: connect to
cvs.apache.org(140.211.166.113):2
401 failed: Connection reset by peer


Finally when I've downloaded the beta sources, I've gotten a bit more
further. After compiling for 10 minutes, I get the following error:

build-catalina-core:
    [javac] Compiling 318 source files to
C:\dev\tom3\apache-tomcat-5.5.17-src\b
uild\build\classes
    [javac]
C:\dev\tom3\apache-tomcat-5.5.17-src\container\catalina\src\share\or
g\apache\catalina\ant\BaseRedirectorHelperTask.java:29: cannot find symbol
    [javac] symbol  : class RedirectorElement
    [javac] location: package org.apache.tools.ant.types
    [javac] import org.apache.tools.ant.types.RedirectorElement;
    [javac]                                   ^
    [javac]
C:\dev\tom3\apache-tomcat-5.5.17-src\container\catalina\src\share\or
g\apache\catalina\ant\BaseRedirectorHelperTask.java:60: cannot find symbol
    [javac] symbol  : class RedirectorElement
    [javac] location: class org.apache.catalina.ant.BaseRedirectorHelperTask
    [javac]     protected RedirectorElement redirectorElement = null;
    [javac]               ^
    [javac]
C:\dev\tom3\apache-tomcat-5.5.17-src\container\catalina\src\share\or
g\apache\catalina\ant\BaseRedirectorHelperTask.java:216: cannot find symbol
    [javac] symbol  : class RedirectorElement
    [javac] location: class org.apache.catalina.ant.BaseRedirectorHelperTask
    [javac]     public void addConfiguredRedirector(RedirectorElement
redirector
Element) {
    [javac]                                         ^
    [javac]
C:\dev\tom3\apache-tomcat-5.5.17-src\container\catalina\src\share\or
g\apache\catalina\ant\BaseRedirectorHelperTask.java:208: cannot find symbol
    [javac] symbol  : method setCreateEmptyFiles(boolean)
    [javac] location: class org.apache.tools.ant.taskdefs.Redirector
    [javac]         redirector.setCreateEmptyFiles(createEmptyFiles);
    [javac]                   ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 errors







My objective is to compile Tomcat and get it running, so I can add a new
debug statement to solve the authentication problem for my work. Any help
out be appreciated. Thanks.

-Derek







--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

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

Reply via email to