Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.1-beta-3
-
None
-
None
Description
In Grails we have a config like this:
# load project resources load ${base.dir}/lib/*.jar load ${base.dir}/plugins/*/lib/*.jar
The base.dir variable can sometimes be just "." which for a relative path. However a recent change to LoaderConfiguration has broken this. The problem is here:
177: Matcher m = pattern.matcher(getSlashyPath(file.getAbsolutePath()));
It should be the following to allow relative paths:
177: Matcher m = pattern.matcher(getSlashyPath(file.getPath()));