Hi,
I need a reference to JAVA_HOME in my jelly script but the tag below doesn't
seem to work. All I get is "JAVA_HOME=" (w/o the quotes of course).
So I assume there is a different way to do this but I can not find it.
Any help is highly appreciated.
Thanks,
Erwin
Try getting it via the System property "java.home":
Hogeweg, Erwin (GE Infrastructure) wrote:
Hi,
I need a reference to JAVA_HOME in my jelly script but the tag below doesn't seem to
work. All I get is "JAVA_HOME=" (w/o the quotes of course).
So I assume there is a different way to d
Hi,
Different solutions:
...
JAVA_HOME : ${env.JAVA_HOME}
...
Maven variables : ${context.getVariables()}
Maven JRE : ${context.getVariable("java.home")}
Maven JAVA_HOME : ${context.getVariable("env.JAVA_HOME")}
...
Regards,
Davy Toch
On Wednesd
ructure)
> Sent: Wednesday, September 28, 2005 5:07 PM
> To: Maven Users List
> Subject: jelly: How to get a reference to an environment variable?
>
>
> Hi,
>
> I need a reference to JAVA_HOME in my jelly script but the
> tag below doesn't seem to work. All I