Dear ANT community: I have one patternset like this: <patternset id='yui.compression.dirs'> <include name="jade/content/**"/> </patternset>
And a second patterset like this: <property name='yui.compression.js.source.suffix' value='-debug.js' /> <patternset id='yui.compression.files'> <include name="**/*${yui.compression.js.source.suffix}"/> </patternset> And I have the following directory tree: jade/content/compress-me1-debug.js someotherdir/do-not-compress-me-debug.js I want to combine the two patternsets to return files that match both patterns: yui.compression.dirs and yui.compression.files. In other words, I'd like to write the following: <patternset id='to.compress'> ... </patternset> That will match: jade/content/compress-me1-debug.js but won't match: someotherdir/do-not-compress-me-debug.js Note: I *don't* want to write: <patternset id='yui.compression.dirs'> <include name="jade/content/**/*${yui.compression.js.source.suffix}"/> </patternset> I want the '...' to somehow refer to the two patternsets at the top of this email. Is there a way to do this? Thanks, -- Dave Cherkassky VP of Software Development DJiNN Software Inc. 416.504.1354 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org