This is relay a lame. I have the following patternset that help me
exclude some gremlin files to appear in any compile task, copy task, tar
task and so on:
<patternset id="zap.gremlin_files">
<exclude name="**/Icon\r"/>
<exclude name="**/.DS_Store"/>
<exclude name="**/package cache/**"/>
<!-- add any other gremlin files here as they are discovered -->
</patternset>
My intention is to use this patternset as a common denominator used by
all other patterset like this:
<patternset id="set1">
<include name="**/*.java"/>
<exclude name="**/Test_*.java"/>
<patternset refid="zap.gremlin_files"> <!-- here -->
</patternset>
. . .
<patternset id="set9999">
<include name="**/Test_*.java"/>
<patternset refid="zap.gremlin_files"> <!-- and here -->
</patternset>
unfortunately, patternset do not support nested patternset !
What am I suppose to do know, duplicate the <exclude> list in all my
other patterset (there is 9999 of them) and what if I discover a new
gremlin file ? am i supposed to update all the 9999 patternset ?
:Note: I do not want to exchange my patterset to fileset because fileset
are tied to a given directory while patterset are generic.
Any ideas ?
ZC.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>