Skip to Content.
Sympa Menu

internetworkers - RE: [internetworkers] WAR deploy deletes everything

internetworkers AT lists.ibiblio.org

Subject: Internetworkers: http://www.ibiblio.org/internetworkers/

List archive

Chronological Thread  
  • From: "Tony Spencer" <tony AT tonyspencer.com>
  • To: "'Internetworkers: http://www.ibiblio.org/internetworkers/'" <internetworkers AT lists.ibiblio.org>
  • Subject: RE: [internetworkers] WAR deploy deletes everything
  • Date: Mon, 26 Apr 2004 16:11:42 -0400

What I ended up doing was abandoning the war approach. Now I have an ant
task that tar's the project and FTP's it to the server. A cron job on the
server sees the new tar file and explodes it leaving the static files
intact.

> -----Original Message-----
> From: internetworkers-bounces AT lists.ibiblio.org
> [mailto:internetworkers-bounces AT lists.ibiblio.org] On Behalf
> Of Scott Lundgren
> Sent: Monday, April 26, 2004 4:04 PM
> To: Internetworkers: http://www.ibiblio.org/internetworkers/
> Subject: RE: [internetworkers] WAR deploy deletes everything
>
>
> >I'm currently redesigning my deployment process to deploy
> changes via a
> >WAR file. I have found that Caucho Resin deletes all existing files
> >and
> folders
> >before unpacking a war file (perhaps this is true for all engines).
>
> I'm not astitute enough with Caucho Resin to know of a way to
> prevent this, but if it is simply deleting everything under
> the application's root directory, then there may not be. How
> about a workaround like Ant tasks to
> 1) scp the war file to the server 2) deploy 3) regenerate the
> static files ?
> Not a great answer but an idea.
>
> - SL
>
> ---
> Come and play at the InterNetWorkers Web site!
> http://www.ibiblio.org/internetworkers/
> You are currently subscribed to InterNetWorkers mailing list
> To unsubscribe visit
> http://lists.ibiblio.org/mailman/listinfo/internetworkers
>
>





Archive powered by MHonArc 2.6.24.

Top of Page