ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: includes and excludes
Date Wed, 23 Oct 2002 08:08:50 GMT
On Tue, 22 Oct 2002, Mike Dougherty <> wrote:

> Which I expect to exclude all the classes under **/ejb except the
> class I have explicitly included.

In addition to the answer you've gotten, I just want to mention
selectors, which would give you fine gained crontrol over precedence
rules here.

    <copy todir="${deploy.server.classes.dir}" overwrite="${force}">
      <fileset dir="${build.dir}">
          <filname name="**/ejb/**/PyrLcDiagCd.class"/>
            <filename name="**/*.class"/>
              <filename name="**/ejb/**/*.class"/>

would do what you wanted (unless my logic is broken, quite possible).

Using two filesets is certainly easier.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message