ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Feskanich <Maurice.Feskan...@Sun.COM>
Subject Re: How to "stringify" path ref to call command-line app?
Date Fri, 16 Jul 2004 03:51:42 GMT
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:DDevienne@lgc.com]
> >
> > > From: Karr, David [mailto:david.karr@wamu.net]
> > >
> > > 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

--
Maury Feskanich
 DReAM Support

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message