ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <>
Subject AW: Refining the results of a patternset
Date Thu, 16 Oct 2003 23:15:47 GMT
Hi Barney,

do it all with selectors (the filename selector is about the same in terms
of functionality as include/exclude patterns) or all with patterns.
The only advantage of the filename selector compared to include/exclude
patterns is that you can combine it with other selectors.


-----Urspr√ľngliche Nachricht-----
Von: Barney Barumba []
Gesendet: Freitag, 17. Oktober 2003 00:49
Betreff: Refining the results of a patternset


I'm trying to refine the contents of a patternset (ant 1.5.3), but
not having much luck. What I'd like to do is something like:

  <jar destfile="myjar.jar">
    <fileset dir="src">
        <patternset refid="my.src"/>
        <filename name="**/foo/**/>

but selectors do not support nested patternsets! Anyone have any idea
of another way of doing this? Everything I try just ends up doing a union
of the patternset contents and any other stuff I define.



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

View raw message