Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 6056 invoked from network); 5 Jun 2009 06:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 06:45:17 -0000 Received: (qmail 78376 invoked by uid 500); 5 Jun 2009 06:45:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 78294 invoked by uid 500); 5 Jun 2009 06:45:28 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 78284 invoked by uid 99); 5 Jun 2009 06:45:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 06:45:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aoingl@gmail.com designates 209.85.216.189 as permitted sender) Received: from [209.85.216.189] (HELO mail-px0-f189.google.com) (209.85.216.189) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 06:45:20 +0000 Received: by pxi27 with SMTP id 27so1256138pxi.14 for ; Thu, 04 Jun 2009 23:45:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=MWofZN3/q3RhWSran0Ayo5IlZ9BjfIik6d+KiOsEG3A=; b=xI1EByrrPBQFNy98G7hauWT1hI9qMeB8S++xnhLRHDtl0oLqzpcmIj7HpmUDFbkiFG PdLNFvslWugBZBg9CgM7cmN/SJit2TWa5LAcZCCIXBcXG3rxpjKpJ7wprlS+cKL+LPcu 3+wLM4agfHCH0Uof1s3TmPXzgV8qyzTdX2zeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=B8R5Gz9CqcH1Z4eIHYPCXa9V4mnHtBQPQTnRj62KDl+OyG0ZOHuOsoqLTgHXvi5O+d xnQuNvrMg9rSZZBjxwkVP0BmFsJPPP6wUoL8f/3Rd6OdXbQpDybgqdFvrUqH4SxESl+W TI4ucdlGJbtkHRKgOGT/pyHiERzr5s4m8nunU= MIME-Version: 1.0 Received: by 10.114.169.20 with SMTP id r20mr4942383wae.222.1244184300026; Thu, 04 Jun 2009 23:45:00 -0700 (PDT) Date: Fri, 5 Jun 2009 14:45:00 +0800 Message-ID: <30d841e90906042345v46fe793du78dfaf35b4f9f692@mail.gmail.com> Subject: How to concat string in ant From: Gao Lin To: user@ant.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi: I want to concat some strings from a list to one string line. like: for example above, if the list of ${strs.list} is: {a, b, c}, how can I get a string with value: string = "a b c" ? do you guys know what is better way to implement this WITHOUT writing own Task? -- Thanks and Best Regards aoingl@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org