From: "Adam Murdoch" <[EMAIL PROTECTED]>

> > From: Rob Oxspring [mailto:[EMAIL PROTECTED]
> > 
> > Bluesky:
> > Both of the proposals seem to be addressing the short sightedness of the
> > include/exclude mechanism which is great. Ideally I would like to see
> > include and exclude dumped in favour of something more generic:
> > 
> > <fileset dir="...">
> >     <and>
> >         <filesize size="4" units="k" when="more"/>
> >         <not><and>
> >             <filename pattern="Test*.jar"/>
> >             <perimission attrib="readonly"/>
> >             <filesize size="5" units="k" when="more">
> >         </and></not>
> >     </and>
> > </fileset>
> > 
> 
> This is a bloody good idea.  I'm gonna steal it to use in myrmidon.
> 

If you add to this <mappers> in their proper place:

<fileset dir="...">
  <map name="*.java" to="*.class">
   <where>
     <and>
        <filesize size="4" units="k" when="more"/>
        <not><and>
            <filename pattern="Test*.jar"/>
            <perimission attrib="readonly"/>
            <filesize size="5" units="k" when="more">
        </and></not>
     </and>
    </where>
  </map>
</fileset>

Presto! FQL (File Query Language).  :-)

Jose Alberto



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to