Same as in Ant:
http://ant.apache.org/manual/CoreTasks/property.html
ex:
<property environment="env"/>
<echo message="Number of Processors = ${env.NUMBER_OF_PROCESSORS}"/>
<echo message="ANT_HOME is set to = ${env.ANT_HOME}"/>
-Vincent
> -----Original Message-----
> From: Henner Kollmann [mailto:[EMAIL PROTECTED]
> Sent: 02 June 2003 14:03
> To: 'Maven Users List'
> Subject: AW: Enviroment variables in project.properties
>
> And how could i look for an enviroment variable inside maven? Any
> example?
>
> Regards,
> Henner
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 2. Juni 2003 09:45
> > An: 'Maven Users List'
> > Betreff: RE: Enviroment variables in project.properties
> >
> >
> > Hum... The only solution I can see would be to patch the
> > cactus plugin to support this. Something like:
> >
> > - If cactus.home.tomcat4x not defined, then look for an
> > environment variable named TOMCAT_HOME and use it if defined.
> >
> > But then, there is the problem of the different versions. Is
> > TOMCAT_HOME pointing to Tomcat 4.x or Tomcat 5.x ... Cactus
> > needs to know...
> >
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Henner Kollmann [mailto:[EMAIL PROTECTED]
> > > Sent: 02 June 2003 09:38
> > > To: [EMAIL PROTECTED]
> > > Subject: Enviroment variables in project.properties
> > >
> > > Hi all,
> > >
> > > Any idea how i could use enviroment variables in my
> > project.properties
> > > fiel? Something like
> > >
> > > cactus.home.tomcat4x = $(TOMCAT_HOME)
> > >
> > > Instead of
> > >
> > > cactus.home.tomcat4x = c:/programme/java/tomcat4.1?
> > >
> > > Regards,
> > > Henner
> > >
> > >
> > >
> >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]