Re: ANT Build: package javax.servlet does not exist

2004-04-05 Thread Rick Roberts
Thanks for the help. Reading comprehension must be a nice skill... I wouldn't know :( For example: Here is an excerpt from the build.xml file that Ted Husted provided me with: Once I provided the correct Local system paths the build went as expected. Thanks for your help, y

Re: ANT Build: package javax.servlet does not exist

2004-04-05 Thread Rick Roberts
I am trying to work thru Ted Husted, et al "Struts in Action". The tutorials are designed to use ANT to build the build.xml. I don't know much about ANT, but am assuming that it's javac that will use my CLASSPATH when ANT calls javac to compile the source. He provides a build.xml in $TOMCAT_HOM

Re: ANT Build: package javax.servlet does not exist

2004-04-05 Thread Joe Germuska
I am trying to work thru some examples and when I get to the part where I need to get ANT to build the project, ANT gives me this error: package javax.servlet does not exist So you're trying to build Struts source code with ANT? Have you got "servlet.jar" defined correctly in a copy of "build.

RE: ANT Build: package javax.servlet does not exist

2004-04-05 Thread Paul McCulloch
It's not your system classpath that maters, it's the classpath for the javac ant task. For instance I have a task: This uses another task (earlier in build.xml) to set the classpath: So, read up on the javac ant task, specifical

Re: ANT Build: package javax.servlet does not exist

2004-04-05 Thread Matt Sgarlata
Hi Rick, You need to make sure that servlet.jar is in your classpath for Ant. This is done in your build.xml file. For my project, I have my classpath pull everything in my webapp's WEB-INF/lib directory and then I put other jars that are included in my application server (i.e. - Tomcat) in