ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: expanding a path
Date Mon, 30 Jul 2001 06:47:52 GMT
On Mon, 30 Jul 2001 16:44, dave young wrote:
> We have a situation where we would like to pass an expanded version of a
> path, defined with a <path id="xx"> tag to another task. 

<path id="foo">
 ...
</path>

<property name="expanded.foo" refid="foo"/>

>In our case we
> are using some third party executable to run a java program for some
> reason (purify), so we'd like to use the <exec> task and pass the
> classpath through within an <arg> construct to the command to be run.
>
> Is this possible without writing our own custom task to invoke the
> executable?

It should be possible to do. See if bove works .. if not come back to us ;)
 
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Mime
View raw message