File path starts with ./

This commit is contained in:
Dave Syer
2016-08-15 15:44:12 +01:00
parent 656a1bd75d
commit 072cb9de21

View File

@@ -147,7 +147,7 @@ public class DeployerThread extends Thread {
source = loadPropertySource(resource, path);
}
if (source==null) {
resource = new FileSystemResource(path);
resource = new FileSystemResource("." + path);
source = loadPropertySource(resource, path);
}
return source;