mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests on windows: path separator fix
This commit is contained in:
@@ -80,7 +80,8 @@ public class PluginPathManager {
|
||||
public static String getPluginHomePathRelative(String pluginName) {
|
||||
File subrepo = findSubrepo(pluginName);
|
||||
if (subrepo != null) {
|
||||
return "/" + FileUtil.getRelativePath(PathManager.getHomePath(), subrepo.getPath(), '/');
|
||||
String homePath = FileUtil.toSystemIndependentName(PathManager.getHomePath());
|
||||
return "/" + FileUtil.getRelativePath(homePath, FileUtil.toSystemIndependentName(subrepo.getPath()), '/');
|
||||
}
|
||||
return "/plugins/" + pluginName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user