geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r453661 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoSourcePathComputerDelegate.java
Date Fri, 06 Oct 2006 16:30:02 GMT
Author: sppatel
Date: Fri Oct  6 09:29:59 2006
New Revision: 453661

URL: http://svn.apache.org/viewvc?view=rev&rev=453661
Log:
additional tracing

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoSourcePathComputerDelegate.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoSourcePathComputerDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoSourcePathComputerDelegate.java?view=diff&rev=453661&r1=453660&r2=453661
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoSourcePathComputerDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoSourcePathComputerDelegate.java
Fri Oct  6 09:29:59 2006
@@ -21,6 +21,7 @@
 import java.util.Iterator;
 import java.util.List;
 
+import org.apache.geronimo.st.core.internal.Trace;
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IConfigurationElement;
@@ -79,6 +80,7 @@
 		ILaunchManager mgr = DebugPlugin.getDefault().getLaunchManager();
 		while(i.hasNext()) {
 			ISourcePathComputer computer = mgr.getSourcePathComputer((String) i.next());
+			Trace.trace(Trace.INFO, "Invoking Source Path Computer" +  computer.getId());
 			ISourceContainer[] jsc = computer.computeSourceContainers(configuration, monitor);
 			allContainers.addAll(Arrays.asList(jsc));
 		}
@@ -118,7 +120,9 @@
 			IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint(Activator.PLUGIN_ID,
"sourcePathComputerMapping");
 			IConfigurationElement[] extensions = extensionPoint.getConfigurationElements();
 			for (int i = 0; i < extensions.length; i++) {
-				additionalSrcPathComputerIds.add(extensions[i].getAttribute("id"));
+				String id = extensions[i].getAttribute("id");
+				Trace.trace(Trace.INFO, "Found extension point " +  id);
+				additionalSrcPathComputerIds.add(id);
 			}
 		}
 	}



Mime
View raw message