geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r375293 - /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java
Date Mon, 06 Feb 2006 14:52:23 GMT
Author: sppatel
Date: Mon Feb  6 06:52:23 2006
New Revision: 375293

URL: http://svn.apache.org/viewcvs?rev=375293&view=rev
Log:
fix isAccessDiscourgaed

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java?rev=375293&r1=375292&r2=375293&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java
Mon Feb  6 06:52:23 2006
@@ -129,7 +129,9 @@
 		Iterator i = discouragedAccessPaths.iterator();
 		while (i.hasNext()) {
 			IPath xPath = (IPath) i.next();
-			if (runtimeLoc.append(xPath).isPrefixOf(path)) {
+			if(path.toFile().isDirectory() && runtimeLoc.append(xPath).isPrefixOf(path)) {
+				return true;
+			} else if(runtimeLoc.append(xPath).equals(path)) {
 				return true;
 			}
 		}



Mime
View raw message