ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: filesets...
Date Tue, 22 Jul 2003 18:52:50 GMT
Yeah, but exclude what?  I don't want to have to hardcode a list.

-----Original Message-----
From: Claudio Corsi [mailto:ccorsi@progress.com]
Sent: Tuesday, July 22, 2003 2:54 PM
To: Ant Users List
Subject: Re: filesets...


Instead of using the "include" element just use the "exclude" element of 
the fileset.

for instance:

<delete ... >

    <fileset dir="lib" ... >
       <exclude name=...>
    <fileset>

</delete>

Ciramella, EJ wrote:
> Is there any way to say, "delete everything that isn't in this fileset"?
I
> have a lib dir that contains some ejbs and some third party jars and would
> like to be able to delete the ejbs without deleting the third party jars
and
> without listing the ejb names.
> 



---------------------------------------------------------------------
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