You can do this is maven.xml. For example:

 <ant:property environment="env"/>
 <ant:property name="merlinHome" value="${env.MERLIN_HOME}"/>

Cheers, Steve.


Daniel Rabe wrote:


I'd really like to be able to use environment variables in my
project.properties. For example, instead of:

cactus.home.tomcat5x = C:/Program Files/Apache Software Foundation/Tomcat
5.0

I'd like to be able to say something like this:

cactus.home.tomcat5x =${TOMCAT_HOME}

I wasn't able to find anything in the maven documentation... is there a way
to do this?

Thanks,
Daniel Rabe





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to