[jbosstools-commits] JBoss Tools SVN: r6730 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Mar 6 15:28:22 EST 2008


Author: rob.stryker at jboss.com
Date: 2008-03-06 15:28:22 -0500 (Thu, 06 Mar 2008)
New Revision: 6730

Modified:
   trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java
Log:
Twiddle launcher dialog was broken. Fixed. 

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	2008-03-06 20:28:21 UTC (rev 6729)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java	2008-03-06 20:28:22 UTC (rev 6730)
@@ -60,7 +60,8 @@
 		wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, args);
 		wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, TWIDDLE_MAIN_TYPE);
 		wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, serverHome + Path.SEPARATOR + "bin");
-		
+		wc.setAttribute(TwiddleLaunchConfiguration.SERVER_ID, server.getId());
+
 		ArrayList classpath = new ArrayList();
 		addCPEntry(classpath, jbs, TWIDDLE_JAR_LOC);
 		// Twiddle requires more classes and I'm too lazy to actually figure OUT which ones it needs.




More information about the jbosstools-commits mailing list