Title: RE: Ant Problem

Here's what i do:

<war compress="true" destfile="blahblahblah.war" webxml="conf/web.xml">
        <zipfileset dir="conf/axis" prefix="WEB-INF"/>
                        <classes dir="${dest}">
                                <patternset refid="dest.exclude"/>
                                <include name="**/*.*"/>
                        </classes>

...

That zipfileset will let you create a dir in the war--in my case it was another item in WEB-INF but yours could be prefix="images".

-pc

-----Original Message-----
From: Galbreath, Mark A [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 08, 2004 1:21 PM
To: '[EMAIL PROTECTED]'
Subject: Ant Problem


I'm trying to get all the pieces in place for developing a WS app with Axis and I've run into a snag with Ant.  I am tearing down the webapp directories on Tomcat for every deployment so I don't have stale files.  I've got everything figured out except accommodating the /images directory.

I'm using Ant 1.6.1 and printed out the online manual, and I have Tilly and Burke's "Ant: The Definitive Guide" (O'Reilly 2002) and it covers 1.4, but nowhere do I see how to get the <war></war> task to put images into the /images dir on Tomcat (or for that matter, any other files other than doc-root, WEB-INF, lib, and classes).

Thanks,
Mark

Reply via email to