Hi,
Then I just can't reproduce what you're seeing.  Clean builds from
scratch work for me all the time, using JDK 1.5 and 1.4, Ant version
1.6.5, both Windows XP and FreeBSD.

Yoav

On 6/16/06, Derek Lac <[EMAIL PROTECTED]> wrote:
My ant version is 1.6.1. My java version is 1.5.0.



-Derek


C:\dev\svn\tc5.5.x\build>java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

C:\dev\svn\tc5.5.x\build>ant -version
Apache Ant version 1.6.1 compiled on February 12 2004
C:\dev\svn\tc5.5.x\build>



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yoav
Shapira
Sent: Friday, June 16, 2006 3:32 PM
To: Tomcat Developers List
Subject: Re: using svn to checkout the code; compiling tomcat

Hola,
What Ant version are you using?  Tomcat requires Ant v1.5 or later.

Yoav

On 6/16/06, Derek Lac <[EMAIL PROTECTED]> wrote:
>
> After using svn to get tc5.5.x, using 'ant download', and running 'ant', I
> get the following compile error. This is the same compile error I get when
I
> attempt to download the beta sources and compiling directly.
>
> -Derek
>
>
>     [mkdir] Created dir: C:\dev\svn\tc5.5.x\build\build\server\classes
>
> build-catalina-core:
>     [javac] Compiling 318 source files to
> C:\dev\svn\tc5.5.x\build\build\classes
>
>     [javac]
> C:\dev\svn\tc5.5.x\container\catalina\src\share\org\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\svn\tc5.5.x\container\catalina\src\share\org\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\svn\tc5.5.x\container\catalina\src\share\org\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\svn\tc5.5.x\container\catalina\src\share\org\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
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Yoav
> Shapira
> Sent: Friday, June 16, 2006 3:06 PM
> To: Tomcat Developers List
> Subject: Re: using svn to checkout the code; compiling tomcat
>
> Hi,
> Slight scramble of your message:
>
> >Obviously, I need to get check the jsp code to build as well. Checking on
> > the web, I realize I also need the following modules:
> >
> >
> >     * /build/tc5.5.x
> >     * /container/tc5.5.x
> >     * /connectors/trunk
> >     * /jasper/tc5.5.x
> >     * /servletapi/servlet2.4-jsp2.0-tc5.x
>
> These modules are checked out automatically (they're SVN externals)
> when you check out current/tc5.5.x.  If your SVN client doesn't follow
> externals, well, get a decent SVN client ;)
>
> The "ant download" command I mentioned to do before "ant" itself will
> download the dependencies and build those required for the main build,
> including the servlet and JSP APIs.
>
> Yoav
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
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]





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




--
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