From dev-return-77753-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Fri Jan 05 22:36:24 2007 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 62873 invoked from network); 5 Jan 2007 22:36:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 22:36:23 -0000 Received: (qmail 85887 invoked by uid 500); 5 Jan 2007 22:36:29 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 85565 invoked by uid 500); 5 Jan 2007 22:36:29 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 85554 invoked by uid 99); 5 Jan 2007 22:36:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 14:36:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of peter.kitt.reilly@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 14:36:19 -0800 Received: by nf-out-0910.google.com with SMTP id o63so7631431nfa for ; Fri, 05 Jan 2007 14:35:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WJvNxx0VtDs45qHFOJIaN+S/Dvy0slPYXgDaRkqZlLfF5GfsPyoFZalsoUZfjlS0LYaPiMOF5N9MdfMFJF3uFb++Sv77HchN3PCfzoUmBADHo1ohOpYyqQ8/jO2en0RRE0RT9lQvlYv6p6nEwHqasBY71E16ezHUlWrm+vy9rok= Received: by 10.82.111.8 with SMTP id j8mr2268604buc.1168036557987; Fri, 05 Jan 2007 14:35:57 -0800 (PST) Received: by 10.82.152.1 with HTTP; Fri, 5 Jan 2007 14:35:57 -0800 (PST) Message-ID: Date: Fri, 5 Jan 2007 22:35:57 +0000 From: "Peter Reilly" To: "Ant Developers List" Subject: Re: svn commit: r491723 - in /ant/core/trunk/docs/manual: CoreTasks/javac.html using.html In-Reply-To: <459BB549.2090404@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070102002244.51B2D1A981A@eris.apache.org> <459BB549.2090404@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org On 1/3/07, Steve Loughran wrote: > peterreilly@apache.org wrote: > > > +

Path Shortcut

> > +

> > + In Ant 1.6 a shortcut for converting paths to OS specific strings > > + in properties has been added. One can use the expression > > + ${toString:pathreference} to convert a path element > > + reference to a string that can be used for a path argument. > > + For example: > > +

> > > Does that work for any resolvable datatype? If so, cool. No, it depends on the implemenation of toString of the particular class. The ant code uses the toString() method of path when it is handling the path attribute of the command line arg, so that is how I know that it is safe to use for paths. Fileset.toString() on the other hand use ';' to seperate the files.... Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org