ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Weintraub" <qazw...@gmail.com>
Subject Using <include> and <exclude> to include a previously excluded name in a fileset
Date Wed, 29 Oct 2008 17:16:00 GMT
I have a fileset that looks like this:

<fileset dir="${target.dir}>
    <exclude name="archive/**/>
</fileset>

The problem is that I have the following structure:

${target.dir}
    archive
        tarball.tar.gz
    work
    clients
         archive
             tarball.tar.gz
    foo

The purpose of the fileset was to exclude the "archive" directory
directly under ${target.dir} (and the tallballs in it), but I do want
to include the "archive" directory under the "clients" directory.
However, my fileset now excludes both. Anyway I can specify to keep
one, but not the other?

--
David Weintraub
qazwart@gmail.com

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


Mime
View raw message