Author: max.andersen(a)jboss.com
Date: 2007-10-01 09:26:41 -0400 (Mon, 01 Oct 2007)
New Revision: 3922
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java
Log:
fixed broken logic on property check.
JBIDE-981
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java 2007-10-01
12:56:45 UTC (rev 3921)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java 2007-10-01
13:26:41 UTC (rev 3922)
@@ -67,7 +67,7 @@
}
public static void ensureDefaultsSet(ILaunchConfigurationWorkingCopy wc, IServer server)
throws CoreException {
- if( wc.getAttribute(DEFAULTS_SET, false ) ) {
+ if(!wc.getAttributes().containsKey(DEFAULTS_SET)) {
JBossServer jbs = findJBossServer(server.getId());
IJBossServerRuntime jbrt = findJBossServerRuntime(server);
String serverHome = getServerHome(jbs);
Show replies by date