Thanks Dominique. Is it possible to amend http://ant.apache.org/manual/CoreTypes/fileset.html to discuss this? I am expecting a short note that recommends using nested <include> tags if your path contains spaces. I can open a BugZilla issue if necessary.
Thank you, Gili -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 11:21 AM To: Ant Users List Subject: Re: FileSet for paths with spaces 'dir' attribute is required, and can have spaces in it. Otherwise, don't use includes attribute, but nested <include> elements. --DD On 8/8/06, Tzabari, Gili <[EMAIL PROTECTED]> wrote: > Hi, > > How can one use <FileSet> against a path with spaces in it? I'd like > to do something like this: > > <FileSet includes="c:/Documents and Settings/username/*.txt"/> > > But FileSet's "includes" thinks the space separates multiple tokens > and so it defines includes as ["c:/Documents", "and", > "Settings/username/*.txt"] > > Any ideas? > > Thank you, > Gili > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]