summaryrefslogtreecommitdiff
path: root/src/eclipse
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2013-07-30 22:26:38 -0700
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2013-07-30 22:26:38 -0700
commit3cb3c8e35c3df31a7f661903eca48cca557d5a49 (patch)
treedac4cab1e761330d6b61f4347a48c5c6051ca1e1 /src/eclipse
parent115e8b4492851137ad2b5b61b9bf78bb51601dff (diff)
downloadscala-3cb3c8e35c3df31a7f661903eca48cca557d5a49.tar.gz
scala-3cb3c8e35c3df31a7f661903eca48cca557d5a49.tar.bz2
scala-3cb3c8e35c3df31a7f661903eca48cca557d5a49.zip
Address TODOs around SymbolLoaders and SymbolTable.
SymbolTable refactoring introduced some TODOs that were supposed to be addressed after M5 release. The reason I couldn't address those problems right away was a conflict with our plans to modularize Scaladoc and interactive. However, we decided to delay that work until after M5 is released so addressing TODOs is not blocked anymore. This commit introduces the following changes: * Eclipse project definitions for interactive and scaladoc depend on scala-compiler project so they are builded against latest version of the compiler (quick) instead of STARR. This aligns our Eclipse project definitions with build.xml structure. * Introduce GlobalSymbolLoaders class which wires dependencies of SymbolLoaders with assumption of dependency on Global. * Switch to GlobalSymbolLoaders in BrowsingLoaders, interactive Global and ScaladocGlobal; this eliminates all TODO comments introduced before
Diffstat (limited to 'src/eclipse')
-rw-r--r--src/eclipse/interactive/.classpath4
-rw-r--r--src/eclipse/scaladoc/.classpath6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/eclipse/interactive/.classpath b/src/eclipse/interactive/.classpath
index 73a67e45ed..9e773a39d2 100644
--- a/src/eclipse/interactive/.classpath
+++ b/src/eclipse/interactive/.classpath
@@ -3,7 +3,7 @@
<classpathentry kind="src" path="interactive"/>
<classpathentry combineaccessrules="false" kind="src" path="/scaladoc"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_COMPILER_CONTAINER"/>
- <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/scala-compiler"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/scala-library"/>
<classpathentry kind="output" path="build-quick-interactive"/>
</classpath>
diff --git a/src/eclipse/scaladoc/.classpath b/src/eclipse/scaladoc/.classpath
index caafcf33b0..8e03c97657 100644
--- a/src/eclipse/scaladoc/.classpath
+++ b/src/eclipse/scaladoc/.classpath
@@ -3,8 +3,10 @@
<classpathentry kind="src" path="scaladoc"/>
<classpathentry combineaccessrules="false" kind="src" path="/partest"/>
<classpathentry kind="var" path="SCALA_BASEDIR/lib/ant/ant.jar"/>
- <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_COMPILER_CONTAINER"/>
- <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/scala-compiler"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/scala-library"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/scala-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/scala-parser-combinators"/>
<classpathentry kind="output" path="build-quick-scaladoc"/>
</classpath>