ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Pearlman Spencer" <>
Subject RE: build.bat problem
Date Tue, 13 Nov 2001 12:39:03 GMT
Sorry I don't know tomcat 4.0, but I do have it.
Seems that these are in servlet.jar.
I'd make sure that the CATALINE_HOME points to the correct directory...
Can you get your script to echo it's execution?
Then we can see the classpath it uses. It seems that the line:
is not correctly pointed as it should find these files in there...


-----Original Message-----
From: Peter Georgiou []
Sent: 13 November 2001 12:31
To: Ant Users List
Subject: Re: build.bat problem

Thanks for your reply alan.  Below are just a few of the cannot resolve
symbol problems

[javac] Compiling 22 source files to
cannot resolve symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: package http
    [javac] import javax.servlet.http.HttpServletRequest;
    [javac]                           ^
cannot resolve symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: package http
    [javac] import javax.servlet.http.HttpServletResponse;
    [javac]                           ^
cannot resolve symbol
    [javac] symbol  : class HttpSession
    [javac] location: package http
    [javac] import javax.servlet.http.HttpSession;

I've read your message and have a go at doing what you suggested.  The
.bat script I mailed worked fine for Tomcat3.2.  When I changed to
Tomcat4 I
just replaced TOMCAT_HOME to CATALINA_HOME thinking that this would


----- Original Message -----
From: Alan Pearlman Spencer <>
To: Ant Users List <>
Sent: Tuesday, November 13, 2001 11:29 AM
Subject: RE: build.bat problem

First point I'd make is that it is easier (and better?)
to define the classpath for ANT (ant only) in the batch file
(like the ant.bat, it handles it's own jars nicely)
and set up a fileset for your classpath inside the build
script. This means you can have incompatibilities between
these (like different XML parser as I have) and it will work
OK. You are passing in CATALINE_HOME, so you can get it all from here...

I know this does not solve your problem...
Maybe it would be easier if you mentioned some specific 'cannot resolve


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message