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

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



Mikolaj Rydzewski-2 wrote:
>
> Vlasov Igor wrote:
>> I have one commercial project and want to deploy it throw .war deployment
>> process.
>> My application uses external libs (10 mb) which must presents in
>> WEB-INF\lib
>> dir. All app size is 12mb.
>>
>> How can i avoid of putting all that libs in .war file and transfer only
>> actual content of my app in one file?
>> For example I put all except libs in .war and deploy it. Then tomcat
>> replace
>> only changed file and do not delete already deployes libs.
>>
> Why is the size of war file is a problem for you? You can put all
> content from WEB-INF/lib to common/lib or shared/lib. But such solution
> has several drawbacks and you should be aware of them:
> http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
>
> On the other hand, if you want just to save bandwith when deploying new
> wersion of application you could use i.e. rsync to transfer war file to
> remote server, and then deploy remote file.
> --
> Mikolaj Rydzewski <[EMAIL PROTECTED]>
>

All libs MUST be in WEB-INF/lib. And i want to use standart procedure of
detecting new .war and its deployment process BUT a want to manually control
what files to undelpoy during this process

Thus i can prevent that libs ant CLIENT UPLOADED FILES to delete from
unpacked dir for .WAR



--
View this message in context: 
http://www.nabble.com/Advanced-War-deployment-tf2951300.html#a8254519
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