do not use project name to compute system cache file name, base dir name is enough

This commit is contained in:
Vladimir Krivosheev
2017-05-02 14:41:02 +02:00
parent c080817c92
commit 4a7f75c4d3
4 changed files with 16 additions and 6 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -91,6 +91,7 @@ public class CompilerPaths {
}
public static String getCompilerSystemDirectoryName(Project project) {
// todo: use ProjectKt.getSystemCacheFileName()
return ProjectUtilCore.getPresentableName(project) + "." + project.getLocationHash();
}