|
@@ -53,7 +53,6 @@ public class Environment {
|
|
|
public static final Setting<List<String>> PATH_DATA_SETTING =
|
|
|
Setting.listSetting("path.data", Collections.emptyList(), Function.identity(), Property.NodeScope);
|
|
|
public static final Setting<String> PATH_LOGS_SETTING = Setting.simpleString("path.logs", Property.NodeScope);
|
|
|
- public static final Setting<String> PATH_PLUGINS_SETTING = Setting.simpleString("path.plugins", Property.NodeScope);
|
|
|
public static final Setting<List<String>> PATH_REPO_SETTING =
|
|
|
Setting.listSetting("path.repo", Collections.emptyList(), Function.identity(), Property.NodeScope);
|
|
|
public static final Setting<String> PATH_SHARED_DATA_SETTING = Setting.simpleString("path.shared_data", Property.NodeScope);
|
|
@@ -128,11 +127,7 @@ public class Environment {
|
|
|
scriptsFile = configFile.resolve("scripts");
|
|
|
}
|
|
|
|
|
|
- if (PATH_PLUGINS_SETTING.exists(settings)) {
|
|
|
- pluginsFile = PathUtils.get(cleanPath(PATH_PLUGINS_SETTING.get(settings)));
|
|
|
- } else {
|
|
|
- pluginsFile = homeFile.resolve("plugins");
|
|
|
- }
|
|
|
+ pluginsFile = homeFile.resolve("plugins");
|
|
|
|
|
|
List<String> dataPaths = PATH_DATA_SETTING.get(settings);
|
|
|
if (dataPaths.isEmpty() == false) {
|