ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <>
Subject Include/exclude precedence
Date Mon, 06 Mar 2006 12:48:48 GMT

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"/>

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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message