ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject RE: Need help creating a WAR task
Date Tue, 28 Jun 2005 18:40:23 GMT
> From: Paul Goepfert [mailto:paul.goepfert@gmail.com]
> 
> 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" />
    </war>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message