ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tzabari, Gili" <Gili.Tzab...@nuance.com>
Subject RE: FileSet for paths with spaces
Date Tue, 08 Aug 2006 15:23:59 GMT

	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:ddevienne@gmail.com] 
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 <Gili.Tzabari@nuance.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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

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


Mime
View raw message