Application Plugin Percent Char %

When setting defaultJvmOpts I would like to refer to the %APP_HOME% env variable which is set at the begin of the script. This seems to be quite straight forward and looks like:

  defaultJvmOpts = ['-Xmx512M', "\etc\client.policy"]

Accidentally wants the StartScriptGenerator.groovy class to escape the % with another % in order to suppress environment substitution. So I see no chance to pass a path value relative to APP_HOME. Wouldn’t it be better to not escape automatically and let it to the user to do so?

See StartScriptGenerator.groovy line 108 ff