|
From: Leif M. <le...@ta...> - 2002-10-16 15:55:16
|
I finally got Environment Variable Expansion implemented. It is all checked into CVS and will be in the upcoming 2.2.9 release. I tested it out, but any help pounding on it before the releas would be appreciated. From the dox: Environment variable expansion Starting with version 2.2.9, the Wrapper supports environment variable expansion at run time within the values of any of the properties listed on this page. To maintain the platform independent nature of the wrapper.conf file, the windows syntax is used for all platforms. Example referencing the JAVA_HOME environment variable: wrapper.java.command=%JAVA_HOME%/bin/java This will expand at runtime to a fully qualified path on any system which defines the JAVA_HOME environment variable. Windows: wrapper.java.command=C:\Sun\jdk1.3/bin/java Unix: wrapper.java.command=/opt/IBMJava2-131/bin/java If a referenced environment variable is not defined, then it will be left unchanged in the property value. Cheers, Leif |