Todd Patrick wrote:
Please forget me for this question, I've never used the war task before
and I'm looking at example at:
http://www.java-tips.org/other-api-tips/ant/how-to-use-war-task.html
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                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to