On Tue, 22 Oct 2002, Mike Dougherty <[EMAIL PROTECTED]> 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}">
<or>
<filname name="**/ejb/**/PyrLcDiagCd.class"/>
<and>
<filename name="**/*.class"/>
<not>
<filename name="**/ejb/**/*.class"/>
</not>
</and>
</or>
</fileset>
</copy>
would do what you wanted (unless my logic is broken, quite possible).
Using two filesets is certainly easier.
Stefan
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>