|
From: <caw...@us...> - 2007-05-23 18:01:48
|
Revision: 2528
http://svn.sourceforge.net/rubyeclipse/?rev=2528&view=rev
Author: cawilliams
Date: 2007-05-23 11:01:44 -0700 (Wed, 23 May 2007)
Log Message:
-----------
check if a root is external (not archive) to get path differently than grabbing resource
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchScope.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchScope.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchScope.java 2007-05-23 18:00:45 UTC (rev 2527)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchScope.java 2007-05-23 18:01:44 UTC (rev 2528)
@@ -354,7 +354,7 @@
break;
case IRubyElement.SOURCE_FOLDER:
root = (ISourceFolderRoot)element.getParent();
- if (root.isArchive()) {
+ if (root.isExternal()) {
String relativePath = Util.concatWith(((SourceFolder) element).names, '/');
containerPath = root.getPath();
containerPathToString = containerPath.getDevice() == null ? containerPath.toString() : containerPath.toOSString();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|