Author: rob.stryker(a)jboss.com
Date: 2012-02-28 06:54:47 -0500 (Tue, 28 Feb 2012)
New Revision: 39165
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java
Log:
JBIDE-11063 to trunk
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java 2012-02-28
11:02:56 UTC (rev 39164)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java 2012-02-28
11:54:47 UTC (rev 39165)
@@ -29,6 +29,7 @@
import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
import org.jboss.ide.eclipse.as.core.util.RuntimeUtils;
+import org.jboss.ide.eclipse.as.core.util.ServerUtil;
/*
* Some of this code will need to be abstracted out from JBossServer
@@ -100,7 +101,7 @@
// Cannot move this code to JBossServer because this requires an
// RSE-specific key!! Damn!
- if (server.getServerType().getId().equals(IJBossToolingConstants.SERVER_AS_70)) {
+ if (ServerUtil.isJBoss7(server.getServerType())) {
IPath p = new Path("standalone/deployments/");
return makeGlobal(server, p).toString();
} else {