ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Reverse PatternSet
Date Wed, 26 Jun 2002 02:46:41 GMT
--- Erik Hatcher <> wrote:
> Sorry for the confusion.  I did not mean it would literally negate a
> <patternset>, but that it could be used to accomplish the functionality
> Scott asked about.  You could create a <selector> that nested a
> <filename> (or more, inside an <or>), and then another <selector>
> that negated the previous one by refid.

Yeah, okay, that'd work. (I gotta play with these things more :)

  <selector id="">
    <filename name="**/*.java"/>

  <fileset dir="src" id="fs1">
    <selector refid=""/>

  <fileset dir="src" id="fs2">
      <selector refid=""/>

Results in "fs1" containing all the .java files under the src directory,
and "fs2" containing all the files under the src directory except the
.java files.



Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

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

View raw message