maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "khote" <kh...@mminternet.com>
Subject environment variables in properties files
Date Sat, 27 Sep 2003 23:44:04 GMT
Is it possible to use environment variables in a project.properties?

example:  I have team members working in their own cvs "sandbox"
I would like for them to have something in their .bash_profile such as:
  export SANDBOX=/home/fred/sandboxes/chronicle

and then use that SANDBOX variable as a value in a certain
project.properties, such as:

maven.sandbox = ${SANDBOX}

I know from ant that you can   <property environment="env"/>
and use env.SANDBOX.  Does maven do anything like this automatically?


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


Mime
View raw message