maven libraries: canonicalize path to Maven repository (IDEA-185133)

This commit is contained in:
nik
2018-01-18 13:26:27 +03:00
parent a93879112b
commit 0a98837bee
@@ -148,7 +148,12 @@ public class JarRepositoryManager {
if (!MAVEN_REPOSITORY_MACRO.equals(expanded)) {
repoPath = new File(expanded);
if (repoPath.exists()) {
ourLocalRepositoryPath = repoPath;
try {
ourLocalRepositoryPath = repoPath.getCanonicalFile();
}
catch (IOException e) {
ourLocalRepositoryPath = repoPath;
}
return repoPath;
}
}