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.properties" in the same directory where build.xml sits? ANT doesn't use your classpath.


If you haven't edited build.properties, there should be a sample file (I haven't worked with a source distribution for a while, but there's a build.properties.sample in the CVS repository). There are lots of other properties you have to define in order to make the build work.

I hope this isn't wildly inappropriate for source distributions; it's how things work when trying to build from CVS.

Hope that helps.
        Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin


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



Reply via email to