-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeffrey,

On 2/17/12 10:45 AM, Jeffrey Janner wrote:
> Thanks.  I was under the impression that Tomcat normally explodes
> the war files when you drop them into the webapps folder, though I
> know you can disable that feature.

I was suggesting that you leave the WAR files out of the webapps
directory, but it doesn't really matter.

Honestly, if you use the manager to deploy your webapps, you can
upload whatever WAR file you want anytime you want to get whatever
version you want.

> I was under the impression that one should run from the exploded
> directory for performance reasons, i.e. it's faster to pull files
> from the directory than from inside the war file.

IIRC, Tomcat explodes the WAR file into the work directory anyway. You
can easily confirm that.

> If there really is no performance difference, then that's even more
> reason that I want to get my developers to get this thing down to a
> war file with no files I need to modify.

Don't forget the immense power of scripting: if you have
client-specific files to merge into a webapp, then write a script that
takes the stock WAR file from engineering and a set of client-specific
files and combines them into a client-specific WAR. You can even have
that script push the newly-minted WAR file up to Tomcat using the
manager. Boom: single-script deployment for each client.

You got 25 clients? Run the same command 25 times. Or script that, too.

- -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/

iEYEARECAAYFAk8+eUUACgkQ9CaO5/Lv0PAjCgCgv8HIzzyo07sDXYFy/RrwtTRn
UN8An1/NOK4EyUprYYjzvLojYQ7wXSwa
=x7Xg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to