ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject RE: How to "stringify" path ref to call command-line app?
Date Fri, 16 Jul 2004 15:50:25 GMT
Ah, then summarizing from a related answer, this would just be:

 <pathconvert dirsep="${file.separator}" pathsep="${path.separator}"  
              refid="cp" property="cp"/>

I still think it should just use those as the defaults if they're not
specified.

> -----Original Message-----
> From: Karr, David 
> 
> 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
> 
> 

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


Mime
View raw message