Author: rob.stryker(a)jboss.com
Date: 2010-06-18 01:54:50 -0400 (Fri, 18 Jun 2010)
New Revision: 22876
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java
Log:
JBIDE-6483 - to trunk, part two (missed file)
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java
===================================================================
---
trunk/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)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_47.java 2010-06-18
05:54:50 UTC (rev 22876)
@@ -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