Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 67517 invoked from network); 15 Jan 2004 09:16:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 09:16:48 -0000 Received: (qmail 98845 invoked by uid 500); 15 Jan 2004 09:16:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 98818 invoked by uid 500); 15 Jan 2004 09:16:15 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 98798 invoked from network); 15 Jan 2004 09:16:14 -0000 Received: from unknown (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by daedalus.apache.org with SMTP; 15 Jan 2004 09:16:14 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id i0F9GN9k007842 for ; Thu, 15 Jan 2004 10:16:23 +0100 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Thu, 15 Jan 2004 10:16:35 +0100 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF752E@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: RE: FileSet problem: include file with folder name containing spa ce Date: Thu, 15 Jan 2004 10:16:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3DB48.3ECEE2E0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3DB48.3ECEE2E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Quick hint: use / instead of \. Personally I usually dont know when \ = stands for itself and when it=B4s used for masking other characters. And Ant will handle /. Ant should be able to handle spaces. But if not try String filename =3D "/Integration/Portal*Gen/try.xml"; Jan > -----Original Message----- > From: chpchew [mailto:chpchew@cs.usm.my] > Sent: Thursday, January 15, 2004 10:22 AM > To: user@ant.apache.org > Subject: FileSet problem: include file with folder name=20 > containing space >=20 >=20 > hi:=20 > I am a newbie in using Ant. Please forgive me if I ask=20 > silly question. > I try to set include file into the FileSet instance using=20 > this command.=20 >=20 > String filename =3D "\Integration\Portal Gen\try.xml"; > FileSet fileset =3D new FileSet(); > fileset.setIncludes(filename ); >=20 > as a result, the fileset actually has two element in the=20 > fileset which is: > 1) \Integration\Portal, > 2) Gen\try.xml >=20 > Anyone can tell me on how to ignore the space when we=20 > includes file into the fileset. >=20 > Thanks >=20 >=20 > regards, > Chew >=20 ------_=_NextPart_001_01C3DB48.3ECEE2E0--