ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: how to include none .class files with task javac?
Date Mon, 11 Mar 2002 21:04:19 GMT
--- Paul Cody <paul.cody@lucida.com> wrote:
> > <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:

Actually, more just a whole lot safer -- do you really want to take a
chance on getting foofiles included in the copy?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message