Wondering how the precedence of include and exclude nested elements
works in a fileset.  I was trying to exclude a few build.xml files in a
subdirectory; here is my code snippet:


    <subant target="deploy">
        <fileset dir="." >
            <include name="**/build.xml"/>
            <exclude name="**/ClearCache/build.xml"/>
            <exclude name="com/**/build.xml"/>
        </fileset>
    </subant>

It appeared to exclude the build.xml in the ClearCache folder, but was
picking up the build.xml files in the com subdirectory.  How do these
two nested elements interact?

Eric

Reply via email to