Wednesday, November 26, 2008

tomcat goodies from the AWESOME jasonB

If only all free software people made it this ez:

http://www.webdroid.org/archives/tomcat-package/

http://examples.oreilly.com/9780596101060/

jasonb: Also, the package's source is designed to be highly customizable. And, it all builds via ant. If you want the source code, I can tell you how to pull that from svn.
(12:43:56 AM) jasonb: Feel free to blog all of it. :)
(12:44:25 AM) jasonb: Pull the source tree of the Tomcat package like this:

svn co svn://www.webdroid.org/repo/tomcat-package/trunk tomcat-package

jasonb: For example, if you want to customize the default install path, or customize the name of the package, or customize which files it includes, or add in your own customized configs for Tomcat.. you can pull this source, make those changes, and easily rebuild a customized Tomcat package just for you.
(12:47:14 AM) jasonb: All it requires to build it is ant and rpmbuild, really.
(12:48:41 AM) jasonb: So, for example, if you had 4 machines where you needed to deploy Tomcat, and you wanted them to, by default, be installed with a custom configuration, then you could build a single custom package, and every time it's installed, Tomcat's already all configured and ready to start.
(12:48:55 AM) jasonb: (no matter how many machines you need to put it on)
(12:49:18 AM) jasonb: Also, if you're shipping your product that runs on Tomcat, you can customize your Tomcat installation package for it this way.
(12:50:00 AM) the_unmaker: sweet
(12:50:05 AM) jasonb: And, none of this conflicts with any distro-bundled Tomcat package that may already be installed in the OS.

No comments: