On 1/5/07, Matt Benson <[EMAIL PROTECTED]> wrote:
--- Peter Reilly <[EMAIL PROTECTED]> wrote:
> On 1/3/07, Steve Loughran <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> >
> > > + <h4><a name="pathshortcut">Path
> Shortcut</a></h4>
> > > + <p>
> > > + In Ant 1.6 a shortcut for converting paths
> to OS specific strings
> > > + in properties has been added. One can use
> the expression
> > > + ${toString:<em>pathreference</em>} to
> convert a path element
> > > + reference to a string that can be used for
> a path argument.
> > > + For example:
> > > + </p>
> >
> >
> > 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....
Yes--I've thought for some time now that we might want
to delegate this to pathconvert to gain platform
sensitivity cheaply. IMHO the chances of breaking
folks is relatively low = acceptable.
That sounds good.
Peter
-Matt
>
> Peter
>
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]