This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
if (pae.getType() == ProjectActionEvent.Type.RUN ||
pae.getType() == ProjectActionEvent.Type.BUILD ||
pae.getType() == ProjectActionEvent.Type.CLEAN) {
String exe = IpeUtils.quoteIfNecessary(pae.getExecutable());
String exe = pae.getExecutable();
String args = getArguments();
String[] env = getEnvironment();
boolean showInput = pae.getType() == ProjectActionEvent.Type.RUN;
exe = exe + ".exe"; // NOI18N
}
// fixing #178201 Run fails if 'Show profiling indicators' is off and the project is created in folder with space
exe = IpeUtils.quoteIfNecessary(exe);
StringBuilder b = new StringBuilder();
for (int i = 0; i < exe.length(); i++) {
if (exe.charAt(i) == '"') {
// 0 - file to store return code
// 1 - executable name (quated if need, i.e. if it contains spaces, asterisks, etc.)
// 2 - args (quated if need, i.e. if it contains spaces, asterisks, etc.)
// 3 - the same as {3}, but quotes are escaped with '\'
// 3 - the same as {2}, but quotes are escaped with '\'
// 4 - (added by VK: the same as {1}, but quotes are escaped with '\'
list.add(def);