Hi I'm finding difficulty getting <include>, and <exclude> to work in the same block. My problem is as follows:
I have a directory structure like this root |-A |-B |-C |-... |-except i.e. I have an unknown number of directories (labelled A, B, C...), and then a directory called "except" I want to perform a <replace> on all files matching certain endings such as .txt, .java etc.. on all the directories except except. If I do something like: <include name="**/*.txt"/> <include name="**/*.java"/> <exclude name="except/**/*.*"/> then it still modifies *.txt, *.java files in except, presumably because they are first matched positive, before matched negative. What should I do to get this working? Im not sure I fully understand the include / exclude mechanism, even after reading the docs. Here are things I cant do: 1. <exclude name="except/**/*.*"/> -as this will invoke replace on files which are not to be replaced in the other directories 2. name the A, B, C... directories specifically within the includes, as (i) this is a big list, and (ii) more to the point, there are an unknown number of directories here. Thanks - Geoff -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>