Thanks - that works.

>>> [EMAIL PROTECTED] 08/30/01 12:44PM >>>
I believe that excludes will always take precedence and thus chuck out your
includes "matches". What you may be able to do is something like

<jar jarfile="jcp.jar" whenempty="skip" defaultexcludes="false">
    <fileset dir="${base.dir}">
      <exclude name="**/bar/*" />
    </fileset>
    <fileset dir="${base.dir}">
      <include name="**/foo/bar/*.class" />
    </fileset>
</jar>

Not sure - haven't checked it works but try that ;)

Reply via email to