<< Back to previous view

[QB-71] Resolve environment variables inside OGNL expression
Created: 22/Apr/06  Updated: 19/Jan/19

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Robin Shen Assigned To: Robin Shen
Resolution: Won't Fix Votes: 2
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
From Dave:

I'm trying to use an environment variable to be used for my Ant.bat setting. I'm trying this:

vAntBat=%ANT_HOME%\bin\ant.bat

If I echo the value ${var["vAntBat"]} tesing in a Command Builder ANT_HOME get resolved correctly. But, when I use ${var["vAntBat"]} as 'Path to Ant executable' the environment variable doesn't get resolved.

The reason I want to do it this to use the same 'vAntBat' on all build machines regardless where my actual ant is located on those specific machines. This will allow me to export my QuickBuild database from one machine and import it into another.

Any help would be appreciated. Thanks.
Generated at Sat Apr 20 04:46:48 UTC 2024 using JIRA 189.