sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject svn commit: r1733325 - in /sling/trunk/tooling/ide: api/src/org/apache/sling/ide/osgi/impl/MavenSourceReferenceImpl.java eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/JVMDebuggerConnection.java
Date Wed, 02 Mar 2016 16:34:15 GMT
Author: rombert
Date: Wed Mar  2 16:34:14 2016
New Revision: 1733325

URL: http://svn.apache.org/viewvc?rev=1733325&view=rev
Log:
SLING-3605 - Debug based on bundles deployed on the server

When connecting in debug mode, print the name of the source reference
being resolved.

Modified:
    sling/trunk/tooling/ide/api/src/org/apache/sling/ide/osgi/impl/MavenSourceReferenceImpl.java
    sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/JVMDebuggerConnection.java

Modified: sling/trunk/tooling/ide/api/src/org/apache/sling/ide/osgi/impl/MavenSourceReferenceImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/api/src/org/apache/sling/ide/osgi/impl/MavenSourceReferenceImpl.java?rev=1733325&r1=1733324&r2=1733325&view=diff
==============================================================================
--- sling/trunk/tooling/ide/api/src/org/apache/sling/ide/osgi/impl/MavenSourceReferenceImpl.java
(original)
+++ sling/trunk/tooling/ide/api/src/org/apache/sling/ide/osgi/impl/MavenSourceReferenceImpl.java
Wed Mar  2 16:34:14 2016
@@ -49,5 +49,10 @@ public class MavenSourceReferenceImpl im
     public String getVersion() {
         return version;
     }
+    
+    @Override
+    public String toString() {
+        return groupId + ":" + artifactId + ":" + version;
+    }
 
 }

Modified: sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/JVMDebuggerConnection.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/JVMDebuggerConnection.java?rev=1733325&r1=1733324&r2=1733325&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/JVMDebuggerConnection.java
(original)
+++ sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/JVMDebuggerConnection.java
Wed Mar  2 16:34:14 2016
@@ -118,6 +118,7 @@ public class JVMDebuggerConnection {
                 SubMonitor subMonitor = SubMonitor.convert(monitor, "Resolving source references",
29).setWorkRemaining(references.size());
                 for ( SourceReference reference :  references ) {
                     try {
+                        subMonitor.setTaskName("Resolving source reference: " + reference);
                         IRuntimeClasspathEntry classpathEntry = resolver.resolve(reference);
                         if ( classpathEntry != null ) {
                             classpathEntries.add(classpathEntry);



Mime
View raw message