Ant has a way to retrieve them, which you could do in maven.xml, but
I'd suggest avoiding the need wherever possible.

Cheers,
Brett

On 5/12/05, Mark D. Hansen <[EMAIL PROTECTED]> wrote:
> I've got this in my build.properties (running in linux):
> 
> was.home=$WAS_HOME
> 
> It does not give the desired result.  Instead of setting was.home to 
> 'opt/IBM/WebSphere/AppServer', it sets was.home to '$WAS_HOME'.
> 
> How do I get the value of a shell environment variable inside of maven?
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> 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