This content has been marked as final.
Show 3 replies
-
1. Re: Can JBoss auto un-WAR when deploying?
peterj Jan 24, 2008 6:42 PM (in response to babygodzilla) -
2. Re: Can JBoss auto un-WAR when deploying?
babygodzilla Jan 25, 2008 10:04 AM (in response to babygodzilla)hmmm so that looks like I still have to un-archive manually?
To explode a J2EE archive, unzip the archive to a directory that is named the same as the archive file.
-
3. Re: Can JBoss auto un-WAR when deploying?
peterj Jan 25, 2008 10:45 AM (in response to babygodzilla)Maybe. Depends on your build process. Maven2 gathers all war contents into a directory in one step and packages those contents into a war file in the next step. My Ant scripts follow the same pattern. Deploying then becomes copying the directory.
Or if your Ant script packages the war file from disparate locations, you can use the unzip/unjar task to explode the file into the deploy directory.