geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r539560 - in /geronimo/devtools/eclipse-plugin/trunk/plugins: org.apache.geronimo.runtime.v20/META-INF/MANIFEST.MF org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoLaunchConfigurationDelegate.java
Date Fri, 18 May 2007 18:55:39 GMT
Author: sppatel
Date: Fri May 18 11:55:38 2007
New Revision: 539560

URL: http://svn.apache.org/viewvc?view=rev&rev=539560
Log:
update to new profiling support

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v20/META-INF/MANIFEST.MF
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoLaunchConfigurationDelegate.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v20/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v20/META-INF/MANIFEST.MF?view=diff&rev=539560&r1=539559&r2=539560
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v20/META-INF/MANIFEST.MF
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v20/META-INF/MANIFEST.MF
Fri May 18 11:55:38 2007
@@ -153,7 +153,7 @@
  schemaorg_apache_xmlbeans.system.s2A5EDA3EF2058DBC0CE211DBFA340232,
  schemaorg_apache_xmlbeans.system.s2FAAE1AF20866AC7E3A206093AC8911B,
  schemaorg_apache_xmlbeans.system.s30CBD8173265B6C60D75D615B62E948E,
- schemaorg_apache_xmlbeans.system.s76190162D51556E6C218F0C0AB0EED57,
+ schemaorg_apache_xmlbeans.system.s7DDEFA0D3AB7A44E0A6CD64AAA422DC8,
  schemaorg_apache_xmlbeans.system.sAD0A02D5B50A03344A8F7BF41013BBFA,
  schemaorg_apache_xmlbeans.system.sB1B09023143946C77E5C39F2C0FB42D0,
  schemaorg_apache_xmlbeans.system.sEDE7C0CB21AFE6786DC0D3F684755625,

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoLaunchConfigurationDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoLaunchConfigurationDelegate.java?view=diff&rev=539560&r1=539559&r2=539560
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoLaunchConfigurationDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoLaunchConfigurationDelegate.java
Fri May 18 11:55:38 2007
@@ -34,8 +34,6 @@
 import org.eclipse.jdt.launching.IVMRunner;
 import org.eclipse.jdt.launching.VMRunnerConfiguration;
 import org.eclipse.jst.server.core.ServerProfilerDelegate;
-import org.eclipse.jst.server.core.internal.JavaServerPlugin;
-import org.eclipse.jst.server.core.internal.ServerProfiler;
 import org.eclipse.wst.server.core.IServer;
 import org.eclipse.wst.server.core.ServerUtil;
 
@@ -81,15 +79,6 @@
 		String pgmArgs = getProgramArguments(configuration);
 		String vmArgs = getVMArguments(configuration);
 		String[] envp = getEnvironment(configuration);
-		
-		if (ILaunchManager.PROFILE_MODE.equals(mode)) {
-			ServerProfiler[] sp = JavaServerPlugin.getServerProfilers();
-			if (sp == null || sp.length == 0 || runner == null) {
-				geronimoServer.stopImpl();
-				throw new CoreException(new Status(IStatus.ERROR, Activator.PLUGIN_ID, 0, Messages.errorNoProfiler,
null));
-			}
-			vmArgs = vmArgs + " " + sp[0].getVMArgs();
-		}
 
 		ExecutionArguments execArgs = new ExecutionArguments(vmArgs, pgmArgs);
 		Map vmAttributesMap = getVMSpecificAttributesMap(configuration);
@@ -110,14 +99,14 @@
 
 		setDefaultSourceLocator(launch, configuration);
 		
-		/*if (ILaunchManager.PROFILE_MODE.equals(mode)) {
+		if (ILaunchManager.PROFILE_MODE.equals(mode)) {
 			try {
 				ServerProfilerDelegate.configureProfiling(launch, vm, runConfig, monitor);
 			} catch (CoreException ce) {
 				geronimoServer.stopImpl();
 				throw ce;
 			}
-		}*/
+		}
 
 		geronimoServer.startPingThread();
 		runner.run(runConfig, launch, monitor);



Mime
View raw message