[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: expanding a path
From:       dave young <dyoung () bsis ! com ! au>
Date:       2001-07-30 7:04:38
[Download RAW message or body]

Peter,

that does work!! easy when you know how ;-)

thanks very much, and surprisingly simple.

regards,

dave young.
> 
> 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               |
> *-----------------------------------------------------*

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic