Have you thought about using the <exec> implementation in your task?

Jan

> -----Original Message-----
> From: Christophe Demarey [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 12, 2004 11:09 AM
> To: Ant Users List
> Subject: Re: Use of environment properties
> 
> 
> Hi,
> 
> I want to launch an application (not a java application) that 
> needs an 
> environment property.
> In my Ant task, I have the following line :
> Runtime.getRuntime().exec( my_app );
> 
> my_app needs to access the environment variable 
> LD_LIBRARY_PATH to find 
> libraries.
> I need to set this variable in my ant task and don't know how 
> to proceed.
> 
> Thanks for your help.
> Christophe.
> 
> Matt Benson wrote:
> 
> >--- Christophe Demarey <[EMAIL PROTECTED]>
> >wrote:
> >  
> >
> >>Hi,
> >>
> >>I want to set an environment property in my own ant
> >>task.
> >>    
> >>
> >
> >If you mean you want to permanently set this in the
> >environment of the Ant process as a true environment
> >variable, you can't.  Let's back up; -why- do you want
> >to do this?  Then we'll know how to proceed.
> >
> >-Matt
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Search - Find what you're looking for faster
> >http://search.yahoo.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to