Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: heading and codeblock title changed

...

Code Block
languagehtml/xml
titleExample of the location filter
<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 Case Style 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.

...

  • style
    How the value should be capitalized. Possible values are "lowercase" and "uppercase".

Example:

html/xml
Code Block
language
titleExample of the location case style filter
<dynamicvariables>
   <variable name="var1" value="Some Text" >
      <filters>
         <case style="lower"/>
      </filters>
   </variable>
   <variable name="var2" value="${var1}" >
      <filters>
         <case style="upper"/>
      </filters>
   </variable>
 </dynamicvariables>

...