mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
maven libraries: canonicalize path to Maven repository (IDEA-185133)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user