How can I use environment variables in project.properties?

2005-08-24 Thread Ruud Wijnands
Hi, I would like to know how I can use environment variables in project.properties. I know about system properties like ${user.home}, but I was wondering if I can also use other enviroment variables. Regards, Ruud Wijnands

Re: How can I use environment variables in project.properties?

2005-08-24 Thread Ralph Pöllath
On 24.08.2005, at 11:55, Ruud Wijnands wrote: I would like to know how I can use environment variables in project.properties. I know about system properties like ${user.home}, but I was wondering if I can also use other enviroment variables. AFAIK: You can't. Cheers, -Ralph

Re: How can I use environment variables in project.properties?

2005-08-24 Thread Arnaud HERITIER
don't know if it works but you can try something like : preGoal name=build:start ant:property environment=env/ /preGoal Arnaud On 8/24/05, Ralph Pöllath [EMAIL PROTECTED] wrote: On 24.08.2005, at 11:55, Ruud Wijnands wrote: I would like to know how I can use environment variables

environment variables inside project.properties

2005-07-25 Thread Torsten Curdt
I would like to use maven for deploying snapshots via scp. So've inserted this snippet: maven.repo.remote=http://server:/repository maven.repo.list=my.snapshots maven.repo.managesoft.snapshots=scp://server maven.repo.managesoft.snapshots.directory=/var/lib/maven-repository/

Re: environment variables inside project.properties

2005-07-25 Thread Brett Porter
Only system properties, but that covers what you need: ${user.home} = $HOME ${user.name} = $USER / $LOGNAME HTH, Brett On 7/26/05, Torsten Curdt [EMAIL PROTECTED] wrote: I would like to use maven for deploying snapshots via scp. So've inserted this snippet:

Environment variables in project.properties?

2003-11-03 Thread Daniel Rabe
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

Re: Environment variables in project.properties?

2003-11-03 Thread Stephen McConnell
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