Author: adietish
Date: 2011-07-04 15:19:44 -0400 (Mon, 04 Jul 2011)
New Revision: 32576
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/RunJarContainerWrapper.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java
Log:
[JBIDE-9215] extracted start jar location to IJBossRuntimeResourceConstants
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/RunJarContainerWrapper.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/RunJarContainerWrapper.java 2011-07-04
19:15:40 UTC (rev 32575)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/RunJarContainerWrapper.java 2011-07-04
19:19:44 UTC (rev 32576)
@@ -25,6 +25,7 @@
import org.eclipse.wst.server.core.IRuntime;
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.ServerCore;
+import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
public class RunJarContainerWrapper {
public static final String ID =
"org.jboss.ide.eclipse.as.core.server.launch.runJarContainer"; //$NON-NLS-1$
@@ -90,7 +91,7 @@
if( s != null ) {
IRuntime rt = s.getRuntime();
IPath home = rt.getLocation();
- IPath runJar = home.append(LocalJBossServerStartupLaunchUtil.START_JAR_LOC);
+ IPath runJar = home.append(IJBossRuntimeResourceConstants.START_JAR_LOC );
return new IClasspathEntry[] {
JavaRuntime.newArchiveRuntimeClasspathEntry(
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java 2011-07-04
19:15:40 UTC (rev 32575)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java 2011-07-04
19:19:44 UTC (rev 32576)
@@ -44,7 +44,7 @@
public static final String SHUTDOWN_JAR_LOC = BIN + File.separator + SHUTDOWN_JAR;
public static final String SHUTDOWN_SH = "shutdown.sh"; //$NON-NLS-1$
public static final String START_JAR = "run.jar"; //$NON-NLS-1$
- public static final String START_JAR_LOC = BIN + Path.SEPARATOR + START_JAR;
+ public static final String START_JAR_LOC = BIN + Path.SEPARATOR + START_JAR;
public static final String TOOLS_JAR = "tools.jar"; //$NON-NLS-1$
public static final String JBOSS_MODULES_JAR = "jboss-modules.jar";
//$NON-NLS-1$
public static final String LOGGING_PROPERTIES = "logging.properties";
//$NON-NLS-1$
Show replies by date