You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ruud Wijnands <wi...@gmail.com> on 2005/08/24 11:55:45 UTC
How can I use environment variables in project.properties?
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How can I use environment variables in project.properties?
Posted by Arnaud HERITIER <ah...@gmail.com>.
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 <li...@poellath.org> wrote:
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: How can I use environment variables in project.properties?
Posted by Ralph Pöllath <li...@poellath.org>.
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org