ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: war task question.
Date Thu, 13 Dec 2007 15:26:19 GMT
Todd Patrick wrote:
> Please forget me for this question, I've never used the war task before
> and I'm looking at example at:
> I have a directory labeled "resources" and I have ten .gif files.
> To include the .gif files, I must use the zipfileset task?

no, you could go <fileset dir="resources" includes="*.gif" /> inside <war>

> Does that compress the .gif files or is there a different task I should
> be using?

war is a subclass of the <zip> task; it is that which does compression.

<zipfileset>  lets you

-declare a different path in the zip, and file permissions
-get at content inside a zip file

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message