Author: rob.stryker(a)jboss.com
Date: 2010-06-18 01:52:32 -0400 (Fri, 18 Jun 2010)
New Revision: 22875
Modified:
branches/jbosstools-3.1.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java
Log:
JBIDE-6483 - to 3.1.x stream, part two (missed file)
Modified:
branches/jbosstools-3.1.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java
===================================================================
---
branches/jbosstools-3.1.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java 2010-06-18
05:33:41 UTC (rev 22874)
+++
branches/jbosstools-3.1.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java 2010-06-18
05:52:32 UTC (rev 22875)
@@ -16,6 +16,7 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
+import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
public class ESBRuntimeResolver_47 extends AbstractESBRuntimeResolver implements
IESBRuntimeResolver {
@@ -40,11 +41,15 @@
public List<IPath> getJarDirectories(String runtimeLocation, String configuration)
{
List<IPath> directories = super.getJarDirectories(runtimeLocation,
configuration);
IPath rtHome = new Path(runtimeLocation);
- IPath soapDeployPath =
rtHome.append(SOAP_AS_LOCATION).append("server").append("default").append(
- "deployers").append("esb.deployer").append("lib");
+ IPath soapDeployPath = rtHome.append(SOAP_AS_LOCATION)
+ .append(IJBossRuntimeResourceConstants.SERVER).append(configuration)
+ .append(IJBossRuntimeResourceConstants.DEPLOYERS)
+ .append("esb.deployer").append("lib");
- IPath deployPath =
rtHome.append("server").append("default").append(
- "deployers").append("esb.deployer").append("lib");
+ IPath deployPath = rtHome
+ .append(IJBossRuntimeResourceConstants.SERVER).append(configuration)
+ .append(IJBossRuntimeResourceConstants.DEPLOYERS)
+ .append("esb.deployer").append("lib");
directories.add(soapDeployPath);
directories.add(deployPath);
Show replies by date