You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pierre-Yves Chauveau <Pi...@valtech.fr> on 2004/10/29 17:53:12 UTC

Build a zip of static files

Hi,
I have a question: is there a simple goal to build a zip of all the static files from a war project ?
Often, you want to separate the static contents from the dyanmic contents to deploy one on a http server and the over on the web server.
Thanks,
Pierre-Yves.

Re: Build a zip of static files

Posted by Brett Porter <br...@gmail.com>.
no, but it would be simple. something along the lines of:

<goal name="make-zip">
<ant:zip zipfile="myzip.zip">
 <ant:zipfileset dir="${maven.war.src}" excludes="WEB-INF/**" />
</ant:zip>
</goal>

?

(I don't know ant tasks off by heart though - you'd need to look it up)

- Brett

On Fri, 29 Oct 2004 17:53:12 +0200, Pierre-Yves Chauveau
<pi...@valtech.fr> wrote:
> Hi,
> I have a question: is there a simple goal to build a zip of all the static files from a war project ?
> Often, you want to separate the static contents from the dyanmic contents to deploy one on a http server and the over on the web server.
> Thanks,
> Pierre-Yves.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org