|
From: <caw...@us...> - 2007-03-13 18:54:00
|
Revision: 2156
http://svn.sourceforge.net/rubyeclipse/?rev=2156&view=rev
Author: cawilliams
Date: 2007-03-13 11:53:47 -0700 (Tue, 13 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/util/HandleFactory.java
Modified: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java 2007-03-13 18:49:54 UTC (rev 2155)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java 2007-03-13 18:53:47 UTC (rev 2156)
@@ -1,5 +1,13 @@
package org.rubypeople.rdt.internal.compiler.ast;
+import org.jruby.ast.Node;
+
public class TypeDeclaration {
+
+ public int sourceStart;
+
+ public TypeDeclaration(Node node) {
+ this.sourceStart = node.getPosition().getStartOffset();
+ }
}
Modified: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/util/HandleFactory.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/util/HandleFactory.java 2007-03-13 18:49:54 UTC (rev 2155)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/util/HandleFactory.java 2007-03-13 18:53:47 UTC (rev 2156)
@@ -236,9 +236,9 @@
int index = 0;
for (int i = 0; i < length; i++) {
IPath path = enclosingProjectsAndJars[i];
- if (!org.rubypeople.rdt.internal.compiler.util.Util.isArchiveFileName(path.lastSegment())) {
+// if (!org.rubypeople.rdt.internal.compiler.util.Util.isArchiveFileName(path.lastSegment())) {
projects[index++] = this.javaModel.getRubyProject(path.segment(0));
- }
+// }
}
if (index < length) {
System.arraycopy(projects, 0, projects = new IRubyProject[index], 0, index);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|