Archive-path

From Resin 3.0

Revision as of 02:25, 9 November 2005 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The <archive-path> tag assigns a .war file for a <web-app> or a .jar file for a <host>.

If the web-app is deployed using <web-app-deploy>, the .war file will be assigned automatically.

example

In the following example, the "/foo" web-app uses /var/www/foo as its expanded <document-directory> and uses /var/www-deploy/foo.war as its source archive. Resin will expand any new version of foo.war into /var/www/foo.


<resin xmlns="http://caucho.com/ns/resin">
  ...
  <host id="">
    <web-app id="/foo" 
             document-directory="/var/www/foo"
             archive-path="/var/www-deploy/foo.war">
    </web-app>
  </host>
  ...
</resin>
Personal tools