> 
> <copy todir="../dest/dir" > 
>       <fileset dir="src_dir" excludes="**/*.java"/> 
> </copy> 
> 
> How do I avoid copying empty directories with no resource files?
> 

See Erik's message, and use <include> rather than 'excludes' attribute; it's
is going to be alot more maintainable over the long run:

<copy todir="${classes.dir}">
  <fileset dir="${src.dir}">
    <include name="**/*.properties"/>
    <include name="**/*.whatever-else-you-want-here"/>
  </fileset>
</copy>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to