You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dan tran <da...@gmail.com> on 2004/10/07 19:47:01 UTC

Retreiving environment variable in maven.xml

Hello, is there a way to do that?  I did some search on it but found no clue
(i am looking for ANT_HOME)

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Retreiving environment variable in maven.xml

Posted by "matthew.hawthorne" <ma...@apache.org>.
dan tran wrote:
> Hello, is there a way to do that?  I did some search on it but found no clue
> (i am looking for ANT_HOME)

You do it the same way that you would in Ant.

<property environment="env"/>

${env.ANT_HOME}

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org