Author: adietish
Date: 2011-07-04 16:32:04 -0400 (Mon, 04 Jul 2011)
New Revision: 32592
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java
Log:
[JBIDE-9215] removed server check in implementation (call to diferent code variants for
different server variants are now implemented by different calling classes)
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java 2011-07-04
20:30:13 UTC (rev 32591)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java 2011-07-04
20:32:04 UTC (rev 32592)
@@ -23,7 +23,6 @@
import org.jboss.ide.eclipse.as.core.Messages;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
import org.jboss.ide.eclipse.as.core.server.internal.launch.RunJarContainerWrapper;
-import org.jboss.ide.eclipse.as.core.server.internal.launch.StopLaunchConfiguration;
/**
* @author André Dietisheim
@@ -93,12 +92,12 @@
public static IRuntimeClasspathEntry getRunJarRuntimeCPEntry(IServer server) throws
CoreException {
// TODO: improve/avoid server version check
- if (server.getServerType().getId().endsWith("70")) { //$NON-NLS-1$
- return getModulesClasspathEntry(server);
- } else {
+// if (server.getServerType().getId().endsWith("70")) { //$NON-NLS-1$
+// return getModulesClasspathEntry(server);
+// } else {
IPath containerPath = new Path(RunJarContainerWrapper.ID).append(server.getName());
return JavaRuntime.newRuntimeContainerClasspathEntry(containerPath,
IRuntimeClasspathEntry.USER_CLASSES);
- }
+// }
}
public static IRuntimeClasspathEntry getModulesClasspathEntry(JBossServer server) throws
CoreException {
Show replies by date