ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamal Chandana Mettananda" <lka...@gmail.com>
Subject Re: Packaging war
Date Thu, 02 Oct 2008 03:02:58 GMT
Yes you can. Following is just an example of using .jar files from a given
directory.

<fileset includes="*.jar" dir="${WEB_INF}/lib" />




---------------------------------------

Kamal Mettananda
http://lkamal.blogspot.com


On Wed, Oct 1, 2008 at 8:31 PM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> Can I also use patterns inside of fileset?
>
> On Tue, Sep 30, 2008 at 10:20 PM,  <Jan.Materne@rzf.fin-nrw.de> wrote:
> > With conditional pattern ...
> >
> > <war...>
> >    <fileset ...>
> >        <include name="log4j.xml" if="anAntPatternIsSet"/>
> >
> >
> > Jan
> >
> >>-----Urspr√ľngliche Nachricht-----
> >>Von: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
> >>Gesendet: Dienstag, 30. September 2008 20:54
> >>An: user@ant.apache.org
> >>Betreff: Packaging war
> >>
> >>I have a war file that gets deployed in tomcat and jboss. I need to
> >>include log4j.xml in WEB-INF/lib only in certain env. How can I
> >>include this lib file selectively while pacakging war file
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message