You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Karr, David" <da...@wamu.net> on 2004/07/15 21:56:50 UTC
How to "stringify" path ref to call command-line app?
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?
The command-line app I'm calling is the "weblogic.jspc" class from
WebLogic 6.1. I don't believe the stock "jspc" task can do this.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: How to "stringify" path ref to call command-line app?
Posted by Bill Rich <br...@webmethods.com>.
Try <pathconvert>.
HTH Bill
-----Original Message-----
From: Karr, David [mailto:david.karr@wamu.net]
Sent: Thursday, July 15, 2004 12:57 PM
To: user@ant.apache.org
Subject: How to "stringify" path ref to call command-line app?
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?
The command-line app I'm calling is the "weblogic.jspc" class from WebLogic
6.1. I don't believe the stock "jspc" task can do this.
---------------------------------------------------------------------
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