...
Code Block | ||||
---|---|---|---|---|
| ||||
<dynamicvariables> <variable name="previous.wrapper.java.command.canonical" value="${previous.wrapper.java.home.canonical}/bin/java" condition="haveInstallPath+isCompatibleUpgrade+haveWrapperJavaCmd+isSetCanonicalJavaHome"> <filters> <location basedir="${INSTALL_PATH}"/> </filters> </variable> </dynamicvariables> |
CaseStyle Filter
Sometimes you need a variable value with all lowercase or all uppercase. This filter is proposed for inclusion in version 5.0.0-rc5.
Attributes:
- style
How the value should be capitalized. Possible values are "lowercase" and "uppercase".
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
<dynamicvariables>
<variable name="var1" value="Some Text" >
<filters>
<casestyle style="lowercase"/>
</filters>
</variable>
<variable name="var2" value="${var1}" >
<filters>
<casestyle style="uppercase"/>
</filters>
</variable>
</dynamicvariables> |
will set var1
to "some text" and var2
to "SOME TEXT".