-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim,
Jim Cant wrote: | Is there a way I can use replaceable parameters in an application's xml | configuration file and pass a value in on the Tomcat command line. In | particular, I would like to set the value of docBase so that I can launch | tomcat and have it find my app in different locations without having to edit | the xml config file. We use ant for this purpose. We just create a server.xml template with replaceable parameters embedded in the file and then use ant's filtering capability when copying the template to the actual deployment location to do the replacements for us. I don't know if that fits into your deployment strategy, but we've kind of built ours around that, so it works well for us ;) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiHT2QACgkQ9CaO5/Lv0PC+fQCfexAq2LSyHpNk7aTVVd05A/Sf cD0An1tDsy/DuEyrZlnRIxR0fwrr43Uk =urBA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]