geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1330089 - in /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core: ClasspathContainersHelper.java GeronimoServerBehaviourDelegate.java
Date Wed, 25 Apr 2012 04:04:02 GMT
Author: gawor
Date: Wed Apr 25 04:04:01 2012
New Revision: 1330089

URL: http://svn.apache.org/viewvc?rev=1330089&view=rev
Log:
minor improvemnts

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/ClasspathContainersHelper.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/ClasspathContainersHelper.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/ClasspathContainersHelper.java?rev=1330089&r1=1330088&r2=1330089&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/ClasspathContainersHelper.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/ClasspathContainersHelper.java
Wed Apr 25 04:04:01 2012
@@ -52,7 +52,7 @@ public class ClasspathContainersHelper {
 
             try {
 
-                if ( project.getNature(JavaCore.NATURE_ID) != null ) {
+                if (project.isOpen() &&  project.getNature(JavaCore.NATURE_ID) !=
null) {
 
                     IJavaProject javaProject = JavaCore.create(project);
                     IClasspathEntry[] cp = javaProject.getRawClasspath();
@@ -90,7 +90,7 @@ public class ClasspathContainersHelper {
 
             try {
 
-                if ( project.getNature(JavaCore.NATURE_ID) !=null ) {
+                if (project.isOpen() && project.getNature(JavaCore.NATURE_ID) !=
null) {
 
                     IJavaProject javaProject = JavaCore.create(project);
                     IClasspathEntry[] cp = javaProject.getRawClasspath();

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java?rev=1330089&r1=1330088&r2=1330089&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
Wed Apr 25 04:04:01 2012
@@ -1212,7 +1212,7 @@ public class GeronimoServerBehaviourDele
         IRuntimeClasspathEntry[] existingCps = JavaRuntime.computeUnresolvedRuntimeClasspath(wc);
 
         for (int i = 0; i < existingCps.length; i++) {
-            Trace.trace(Trace.INFO, "cpentry: " + cp , Activator.traceCore);
+            Trace.trace(Trace.INFO, "Classpath entry: " + existingCps[i], Activator.traceCore);
             if (cp.contains(existingCps[i]) == false) {
                 cp.add(existingCps[i]);
             }
@@ -1227,7 +1227,7 @@ public class GeronimoServerBehaviourDele
                 List<IClasspathEntry> cpes = ClasspathContainersHelper.queryWorkspace(
containerPath );
                 for ( IClasspathEntry cpe : cpes ) {
                     RuntimeClasspathEntry rcpe = new RuntimeClasspathEntry( cpe );
-                    Trace.trace(Trace.INFO, "Classpath Container Entry: " + rcpe , Activator.traceCore);
+                    Trace.trace(Trace.INFO, "Classpath entry: " + rcpe , Activator.traceCore);
                     if (cp.contains(rcpe) == false) {
                         cp.add( rcpe );
                     }



Mime
View raw message