Author: adietish
Date: 2011-07-04 16:21:47 -0400 (Mon, 04 Jul 2011)
New Revision: 32583
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java
Log:
[JBIDE-9215] renamed JBossLuanchConfigUtils to JBossLuanchConfigProperties
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java 2011-07-04
20:19:49 UTC (rev 32582)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java 2011-07-04
20:21:47 UTC (rev 32583)
@@ -37,6 +37,7 @@
import org.jboss.ide.eclipse.as.core.Messages;
import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
+import
org.jboss.ide.eclipse.as.core.server.internal.launch.configuration.JBossLaunchConfigProperties;
import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeConstants;
import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
import org.jboss.ide.eclipse.as.core.util.LaunchConfigUtils;
@@ -62,10 +63,10 @@
String launchName = TwiddleLaunchConfiguration.class.getName();
launchName = launchManager.generateUniqueLaunchConfigurationNameFrom(launchName);
ILaunchConfigurationWorkingCopy wc = launchConfigType.newInstance(null, launchName);
- JBossRuntimeLaunchConfigUtils.setProgramArguments(args, wc);
- JBossRuntimeLaunchConfigUtils.setMainType(IJBossRuntimeConstants.TWIDDLE_MAIN_TYPE,
wc);
- JBossRuntimeLaunchConfigUtils.setWorkingDirectory(serverHome + Path.SEPARATOR +
IJBossRuntimeResourceConstants.BIN, wc);
- JBossRuntimeLaunchConfigUtils.setServerId(server.getId(), wc);
+ JBossLaunchConfigProperties.setProgramArguments(args, wc);
+ JBossLaunchConfigProperties.setMainType(IJBossRuntimeConstants.TWIDDLE_MAIN_TYPE, wc);
+ JBossLaunchConfigProperties.setWorkingDirectory(serverHome + Path.SEPARATOR +
IJBossRuntimeResourceConstants.BIN, wc);
+ JBossLaunchConfigProperties.setServerId(server.getId(), wc);
ArrayList<IRuntimeClasspathEntry> classpath = new
ArrayList<IRuntimeClasspathEntry>();
LaunchConfigUtils.addCPEntry(TWIDDLE_JAR_LOC, serverHome, classpath);
@@ -75,8 +76,8 @@
LaunchConfigUtils.addDirectory(serverHome, classpath,
IJBossRuntimeResourceConstants.CLIENT);
LaunchConfigUtils.addJREEntry(jbrt.getVM(), classpath);
List<String> runtimeClassPaths = LaunchConfigUtils.toStrings(classpath);
- JBossRuntimeLaunchConfigUtils.setClasspath(runtimeClassPaths, wc);
- JBossRuntimeLaunchConfigUtils.setUseDefaultClassPath(false, wc);
+ JBossLaunchConfigProperties.setClasspath(runtimeClassPaths, wc);
+ JBossLaunchConfigProperties.setUseDefaultClassPath(false, wc);
return wc;
}
Show replies by date