mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
execution: do not show suggestion to set dynamic classpath when it is already set as command line can be too long due to other reasons (IDEA-71124)
This commit is contained in:
@@ -58,7 +58,9 @@ public class ExecutionUtil {
|
||||
String error = e.getMessage();
|
||||
HyperlinkListener listener = null;
|
||||
|
||||
if (error.contains("87") && e instanceof ProcessNotCreatedException) {
|
||||
if (error.contains("87") &&
|
||||
e instanceof ProcessNotCreatedException &&
|
||||
!PropertiesComponent.getInstance(project).isTrueValue("dynamic.classpath")) {
|
||||
final String commandLineString = ((ProcessNotCreatedException)e).getCommandLine().getCommandLineString();
|
||||
if (commandLineString.length() > 1024 * 32) {
|
||||
error = "Command line is too long. In order to reduce its length classpath file can be used.<br>" +
|
||||
|
||||
Reference in New Issue
Block a user