ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chpchew" <chpc...@cs.usm.my>
Subject Re: FileSet problem: include file with folder name containing space
Date Thu, 15 Jan 2004 09:46:20 GMT
yes, you are right and it works.

thank you very much.


regards,
Chew



----- Original Message ----- 
From: "Stefan Bodewig" <bodewig@apache.org>
To: <user@ant.apache.org>
Sent: Thursday, January 15, 2004 5:26 PM
Subject: Re: FileSet problem: include file with folder name containing space


> On Thu, 15 Jan 2004, <chpchew@cs.usm.my> wrote:
>
> >     String filename = "\Integration\Portal Gen\try.xml";
> >     FileSet fileset = new FileSet();
> >     fileset.setIncludes(filename );
>
> this is the setter for the includes attribute, which itself contains a
> comma *or space* separated list of patterns.  You have to use the
> equivalent of a nested <include> element instead:
>
> fileset.createInclude().setName(filename);
>
> Stefan
> -- 
> http://stefanbodewig.blogger.de/
>
> ---------------------------------------------------------------------
> 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