On Monday 25 March 2002 22:50 pm, Zart Colwing wrote:
> On MacOS-X we need to exclude the following file in every
> directory-based tasks:
> Icon\r              (that is the word icon with a Capital i and a <cr>
> at the end)
> .DS_Store
> I know I can exclude these files from all my directory-based tasks by
> carrefuly rewriting all my fileset and patternset, but it is a tedious
> task and it is prone to error and confusion.
>
> A mechanism to add to the Default Excludes list is a better solution me
> think. If it's not already there in the 1.4.1, maybe the Ant team could
> consider adding such a mechanism in the next version. Also, it will be a
> good idea to permanently add these two entries in the Default Excludes
> list.

What exactly do you mean by "default" excludes list? One that applies to 
<javac>, <copy>, <cvs>, etc., etc.? If so, that won't work. Imagine:

exclude= some/unsused/path/foo.java

<javac> perhaps should exclude that, but <cvs> probably shouldn't?

And, honestly, if you have a file with a \r in it's name, it's time to rename 
the file. You're just asking for problems with all sorts of tools with a 
filename like that.


----- stephan
Generic Unix Computer Guy
[EMAIL PROTECTED] - http://www.einsurance.de
Office: +49 (89) �552 92 862 Handy: �+49 (179) 211 97 67
"...control is a degree of inhibition, and a system which is perfectly
inhibited is completely frozen." -- Alan W. Watts

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

Reply via email to