ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: Need help creating a WAR task
Date Tue, 28 Jun 2005 18:40:23 GMT
> From: Paul Goepfert []
> I am creating a WAR task in my build.xml file.  How do I move two
> configuration xml files that are not my web.xml file to my war file?  I
> would like to have these files in a dir called conf within the WEB-INF
> file.

I'm no <war> expert, but here's an example:

    <war ...>
      <classes dir="build/classes" />
      <lib refid="war.libs" />
      <zipfileset dir="from/dir/on/disk" prefix="to/dir/in/war" />

So using a <zipfileset> with a prefix of WEB-INF/conf should work. --DD

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

View raw message