2 Replies Latest reply on Aug 4, 2002 11:14 PM by crackers

    Deploy single files or unpacked WAR

    tobias

      (brian asks)

      Q:
      Is there a way to have the 3.x/Tomcat deployer unpack my WAR and run from there? I'd like to be able to make changes to view components on a running development system without having to redeploy the entire
      application each time.

        • 1. Re: Deploy single files or unpacked WAR
          tobias

          (Burkhard answers)
          A:
          Yep, the easiest way is to simply extract your war into the server/default/deploy/ dir. If you made changes simply touch the deployment descriptor and JBoss willr edeploy.

          • 2. Re: Deploy single files or unpacked WAR
            crackers

            Just remember the directory you put the unpacked war into has to be named xxx.war where xxx is the context you want to use. And you don't have to "touch" the descriptor file if you're changing JSPs ... you can either copy a new one over the top of the old one, or even edit it "in place" (caveat emptor). The next time the JSP is accessed, the new timestamp is noted and it's recompiled.