Hi I think the documentation in tomcat 7 about building tomcat is incorrect or out of date.
I've tried to get it running in eclipse using the following steps. 1 Checkout from http://svn.apache.org/repos/asf/tomcat/trunk. This was the location given to me on the mailing list. 2 Tried "ant download" as per http://tomcat.apache.org/tomcat-7.0-doc/building.html#Building%20Tomcat. Apparently there is no target called "download" 3 Tried the following ant targets in the following order "download-compile" "download-test-compile", "download-dist", "download-validate". Finally ant with no arguments. 4 Renamed "eclipse.project" and "eclipse.classpath" to ".project" and ".eclipse". 5 Launched eclipse, added in classpath variables, as per documentation 6 I received an error that two jar files were missing "c:\usr\share\java\wsdl4j-1.6.1\wsdl4j-1.6.1.jar" and "c:\usr\share\java\jaxrpc-1.1-rc4\geronimo-spec-jaxrpc-1.1-rc4.jar" 7 Downloaded those two jar files from a maven repository and placed in the set location. Now I'm stuck the instructions say 'enter "org.apache.catalina.startup.Catalina" as the main class, "start" as program arguments, and "-Dcatalina.home=..." (with the name of your build directory) as VM arguments.' STOP PRESS However there doesn't seem to be a main method in Catalina.java, I've changed this to "org.apache.catalina.startup.Bootstrap" is that correct? It appears to launch. So there are the following definite problems with the documentation. The main class is wrong. The ant targets are wrong. Possibly missing a step for downloading jars (Though I suspect thats just a badly configured classpath). Is this the "correct" way to run TC7? Do you want a bug on this? If you let me know where the documentation is I'll enter a patch (assuming documentation is in SVN). Regards, Wesley --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org