Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-3
-
Fix Version/s: 1.1-rc-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
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()));