- Fix internal error on folder history links (issue 192)\r
- Fixed incorrect icon file name for .doc files (issue 200)\r
- Do not queue emails with no recipients (issue 201)\r
+ - Fixed extracting Groovy scripts on Express installs (issue 220)\r
- Use standard ServletRequestWrapper instead of custom wrapper (issue 224)\r
\r
additions: \r
if (!StringUtils.isEmpty(openShift)) {\r
// Gitblit is running in OpenShift/JBoss\r
File base = new File(openShift);\r
+ logger.info("EXPRESS contextFolder is " + contextFolder.getAbsolutePath());\r
\r
// gitblit.properties setting overrides\r
File overrideFile = new File(base, "gitblit.properties");\r
webxmlSettings.applyOverrides(overrideFile);\r
\r
// Copy the included scripts to the configured groovy folder\r
- File localScripts = new File(base, webxmlSettings.getString(Keys.groovy.scriptsFolder, "groovy"));\r
+ String path = webxmlSettings.getString(Keys.groovy.scriptsFolder, "groovy");\r
+ File localScripts = com.gitblit.utils.FileUtils.resolveParameter(Constants.baseFolder$, base, path);\r
if (!localScripts.exists()) {\r
File warScripts = new File(contextFolder, "/WEB-INF/data/groovy");\r
if (!warScripts.equals(localScripts)) {\r