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/11/02 11:00:24 UTC

RE : Build a zip of static files

Thanks. That's what I tought too..

		-------- Message d'origine-------- 
		De: Brett Porter [mailto:brett.porter@gmail.com] 
		Date: sam. 30/10/2004 01:28 
		À: Maven Users List 
		Cc: 
		Objet: Re: Build a zip of static files
		
		

		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