-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Albrecht,
On 5/2/12 5:32 AM, Albretch Mueller wrote: >> Any particular reason you are building from source? > > I may need to work on the source, for example, TC's log valve. So I > want to make sure that my baseline compiled Fair enough. My release-testing script downloads, builds, and tests Tomcat 7 like this (simplified, since my script is fairly complex): $ wget ${BASE_URL}/${TOMCAT_SOURCE} $ tar xzf ${TOMCAT_SOURCE} $ cd ${TOMCAT_SOURCE_DIR} $ echo "base.path=/place/to/store/downloads" \ > "tarball/build.properties" $ ant download-compile download-test-compile [might not be necessary] $ ant test At that point (well, several minutes later), you should have a completely-tested source tree. Some of the tests may fail if you don't have tcnative built. I'll leave it as an exercise for the reader to figure out how to disable those tests (or build tcnative, which isn't so hard). If you want to build a deployable Tomcat so you can actually run it (that is, build something that looks like CATALINA_HOME), you need to do: $ ant deploy Actually, "deploy" is the default target, so $ ant ...should work. > Also, why should you have a "particular reason" to build from > source? ;-) Some people think they must build Tomcat for some reason, even though we package "binaries" that you can just use. Happy hacking! - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+hSGcACgkQ9CaO5/Lv0PD90ACeLYgsNcYKqxRQnhkis3cIHOMJ DekAoI1NqhY7slMaFLy0TbPXey8t7awk =XHuG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org