Author: rob.stryker(a)jboss.com
Date: 2012-04-19 19:33:38 -0400 (Thu, 19 Apr 2012)
New Revision: 40367
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchConfigurator.java
Log:
JBIDE-11587
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchConfigurator.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchConfigurator.java 2012-04-19
23:24:21 UTC (rev 40366)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchConfigurator.java 2012-04-19
23:33:38 UTC (rev 40367)
@@ -21,12 +21,11 @@
private String defaultLaunchCommand;
private String defaultStopCommand;
- private String rseHome;
+ private String rseHome; // TODO delete this line
public RSELaunchConfigurator(String defaultLaunchCommand, String defaultStopCommand)
throws CoreException {
this.defaultLaunchCommand = defaultLaunchCommand;
this.defaultStopCommand = defaultStopCommand;
- this.rseHome = rseHome;
}
@Override
@@ -43,7 +42,7 @@
boolean detectShutdownCommand =
RSELaunchConfigProperties.isDetectShutdownCommand(launchConfig, true);
String currentStopCmd = RSELaunchConfigProperties.getShutdownCommand(launchConfig);
- if( detectShutdownCommand || isSet(currentStopCmd)) {
+ if( detectShutdownCommand || !isSet(currentStopCmd)) {
RSELaunchConfigProperties.setShutdownCommand(defaultStopCommand, launchConfig);
}
}
Show replies by date