Have you tried assigning it to a property?
<property name="somename" refid="pathref"/>
${somename} should now give you the stringified classpath.
It is my understanding that this is exactly what the refid
attribute of property is for.
Maury
"Karr, David" wrote:
>
> Ok, now, how do you use "pathconvert" so you don't have to specify the
> target OS (or, if you could easily figure it out)? I'm surprised
> "targetos" is required, and it just doesn't use the value of
> File.separator and File.pathSeparator for dirsep and pathsep.
>
> > -----Original Message-----
> > From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> >
> > > From: Karr, David [mailto:[EMAIL PROTECTED]
> > >
> > > I have to call a command-line app in my build script, one
> > which takes
> > > a classpath argument. I can easily build a "path" with an
> > "id", but
> > > is it possible to then "stringify" that path into a string
> > I can use
> > > on a command line?
> >
> > <pathconvert>. --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Maury Feskanich
DReAM Support
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]