mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
pass idea.config.path and related properties to external build process to ensure that APPLICATION_PLUGINS_DIR path variable is substituted properly (IDEA-118928)
This commit is contained in:
@@ -902,7 +902,8 @@ public class BuildManager implements ApplicationComponent{
|
||||
cmdLine.addParameter("-D" + CharsetToolkit.FILE_ENCODING_PROPERTY + "=" + mySystemCharset.name());
|
||||
}
|
||||
cmdLine.addParameter("-D" + JpsGlobalLoader.FILE_TYPES_COMPONENT_NAME_KEY + "=" + FileTypeManagerImpl.getFileTypeComponentName());
|
||||
for (String name : new String[]{"user.language", "user.country", "user.region", PathManager.PROPERTY_HOME_PATH}) {
|
||||
for (String name : new String[]{"user.language", "user.country", "user.region", PathManager.PROPERTY_HOME_PATH,
|
||||
PathManager.PROPERTY_CONFIG_PATH, PathManager.PROPERTY_PLUGINS_PATH, PathManager.PROPERTY_PATHS_SELECTOR}) {
|
||||
final String value = System.getProperty(name);
|
||||
if (value != null) {
|
||||
cmdLine.addParameter("-D" + name + "=" + value);
|
||||
|
||||
Reference in New Issue
Block a user