ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: <copy> oddity
Date Fri, 29 Dec 2000 02:47:24 GMT
--- David Corbin <> wrote:
> <copy todir="foo">
> 	<fileset dir="bar">
> 		<include name="./foobar"/>
> 	</fileset>
> </copy>
> Doesn't copy anything.  But, if I remove the leading "./" it will copy
> it.

Not sure why you'd feel a need to include the ./ -- but I suspect the
reason nothing gets copied is because it's probably looking in the
specified dir for a file that's literally named "./foobar", not for a file
named "foobar". I would also suspect it has to do with how Java deals with
directories and files (ie., the whole platform-independence thing), but
that's just a guess.



Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!

View raw message