jelly: How to get a reference to an environment variable?

2005-09-28 Thread Hogeweg, Erwin \(GE Infrastructure\)
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

Re: jelly: How to get a reference to an environment variable?

2005-09-28 Thread Doug Douglass
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

Re: jelly: How to get a reference to an environment variable?

2005-09-28 Thread Davy Toch
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

RE: jelly: How to get a reference to an environment variable?: solved

2005-09-28 Thread Hogeweg, Erwin \(GE Infrastructure\)
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