well create a directory on the clients machine called home/something
and put all files you'd have in your war file there. (like in jar -xf
myapp.war).

Than if you want to update anything, you just update the part you need
in this directory; same for the client, if he wants to update some
html files or whatever, he does it in this directory.

Than you write a small ant script which creates a war file out of this
directory with ant-war task. And another target that copies it into
tomcat/webapps. So you have to transfer only the data you need to the
client's machine (which i understood was your main concern), build the
new war locally and deploy it.

If you create same directory structure on your machine, you could
write a small ant-script which zips only files changed since some
date, copy this zip to the client's machine. The above mentioned
script on clients machine could automatically unzip your changes into
its installation directory  and build the new war.

S Privetom

Leon

On 1/10/07, Vlasov Igor <[EMAIL PROTECTED]> wrote:



Leon Rosenberg-3 wrote:
>
> hmm,
>
> why don't you put the expanded web-app structure on the client's
> machine somewhere else than under tomcat, put your new files therein
> and repackage the .war on the machine directly?
>
> regards
> Leon
>

Please give me the  detailed explanation ot your idea..

--
View this message in context: 
http://www.nabble.com/Advanced-War-deployment-tf2951300.html#a8255145
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to