Something like this should work: <property environment="env"/> <property name=mtconfig_env" value="${env.mtconfig_env}"/>
assuming mtconfig_env is what it's called in the OS. If not, change the value after 'env.' accordingly. On Fri, 29 Aug 2003, at 11:05:23 [GMT +0100] Bateman, Patrick eMEDIA wrote: > I'm trying the set two properties for my JUnit tests using > 'maven.junit.sysproperties' > maven.junit.sysproperties=mtconfig_env mtconfig_dir > mtconfig_env=${mtconfig_env} > mtconfig_dir=${basedir}/../mt_config/ > This cause a stack overflow because mt_config is self referencing. > What I really want to achieve is to initialise mtconfig_env with an > environment varaible from the OS. > How do Maven property files load environment variables from the OS? > Thanks > Pat > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]