From fd6573a2ceba22a47ff657310630799c8fd5651b Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Fri, 22 Jun 2012 16:00:06 +0200 Subject: Added new project files for using the compiler and library inside Eclipse and removed the old ones. To use these project files you need to define the Eclipse 'path variable' SCALA_BASEDIR, in General/Workspace/Linked Resources. --- classpath.SAMPLE | 12 ------------ project.SAMPLE | 18 ------------------ src/eclipse/README | 23 +++++++++++++++++++++++ src/eclipse/asm/.classpath | 7 +++++++ src/eclipse/asm/.project | 29 +++++++++++++++++++++++++++++ src/eclipse/fjbg/.classpath | 7 +++++++ src/eclipse/fjbg/.project | 30 ++++++++++++++++++++++++++++++ src/eclipse/reflect/.classpath | 7 +++++++ src/eclipse/reflect/.project | 30 ++++++++++++++++++++++++++++++ src/eclipse/scala-compiler/.classpath | 14 ++++++++++++++ src/eclipse/scala-compiler/.project | 35 +++++++++++++++++++++++++++++++++++ src/eclipse/scala-library/.classpath | 7 +++++++ src/eclipse/scala-library/.project | 30 ++++++++++++++++++++++++++++++ 13 files changed, 219 insertions(+), 30 deletions(-) delete mode 100644 classpath.SAMPLE delete mode 100644 project.SAMPLE create mode 100644 src/eclipse/README create mode 100644 src/eclipse/asm/.classpath create mode 100644 src/eclipse/asm/.project create mode 100644 src/eclipse/fjbg/.classpath create mode 100644 src/eclipse/fjbg/.project create mode 100644 src/eclipse/reflect/.classpath create mode 100644 src/eclipse/reflect/.project create mode 100644 src/eclipse/scala-compiler/.classpath create mode 100644 src/eclipse/scala-compiler/.project create mode 100644 src/eclipse/scala-library/.classpath create mode 100644 src/eclipse/scala-library/.project diff --git a/classpath.SAMPLE b/classpath.SAMPLE deleted file mode 100644 index 9e607a41d9..0000000000 --- a/classpath.SAMPLE +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/project.SAMPLE b/project.SAMPLE deleted file mode 100644 index 0034c397ed..0000000000 --- a/project.SAMPLE +++ /dev/null @@ -1,18 +0,0 @@ - - - scala - - - - - - org.scala-ide.sdt.core.scalabuilder - - - - - - org.scala-ide.sdt.core.scalanature - org.eclipse.jdt.core.javanature - - diff --git a/src/eclipse/README b/src/eclipse/README new file mode 100644 index 0000000000..58dbd83815 --- /dev/null +++ b/src/eclipse/README @@ -0,0 +1,23 @@ +Eclipse project files +===================== + +Import all projects inside Eclipse by choosing File/Import Existing Projects +and navigate to src/eclipse. Check all projects and click ok. + +IMPORTANT +========= + +You need to define a `path variable` inside Eclipse. Define SCALA_BASEDIR in +Preferences/General/Workspace/Linked Resources. The value should be the absolute +path to your scala checkout. All paths in project files are relative to this one, +so nothing will work before you do so. + +DETAILS +======= + +The compiler project depends on the library, reflect, asm and fjbg projects. The +builder will take care of the correct ordering, and changes in one project will +be picked up by the dependent projects. + +The output directory is set to be build/quick, so the runner scripts in quick +work as they are (run an ant build to have the generated once) \ No newline at end of file diff --git a/src/eclipse/asm/.classpath b/src/eclipse/asm/.classpath new file mode 100644 index 0000000000..f88dea64f4 --- /dev/null +++ b/src/eclipse/asm/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/eclipse/asm/.project b/src/eclipse/asm/.project new file mode 100644 index 0000000000..2c88a0ab11 --- /dev/null +++ b/src/eclipse/asm/.project @@ -0,0 +1,29 @@ + + + asm + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + + + SCALA_BASEDIR + 2 + SCALA_BASEDIR/src/asm + + + asm-quick-bin + 2 + SCALA_BASEDIR/build/asm/classes + + + diff --git a/src/eclipse/fjbg/.classpath b/src/eclipse/fjbg/.classpath new file mode 100644 index 0000000000..3e2f55f48a --- /dev/null +++ b/src/eclipse/fjbg/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/eclipse/fjbg/.project b/src/eclipse/fjbg/.project new file mode 100644 index 0000000000..8acea9f5fe --- /dev/null +++ b/src/eclipse/fjbg/.project @@ -0,0 +1,30 @@ + + + fjbg + + + + + + org.scala-ide.sdt.core.scalabuilder + + + + + + org.scala-ide.sdt.core.scalanature + org.eclipse.jdt.core.javanature + + + + fjbg + 2 + SCALA_BASEDIR/src/fjbg + + + libs-classes-fjbg + 2 + SCALA_BASEDIR/build/libs/classes/fjbg + + + diff --git a/src/eclipse/reflect/.classpath b/src/eclipse/reflect/.classpath new file mode 100644 index 0000000000..2a764d5142 --- /dev/null +++ b/src/eclipse/reflect/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/eclipse/reflect/.project b/src/eclipse/reflect/.project new file mode 100644 index 0000000000..1e5cbb4ed9 --- /dev/null +++ b/src/eclipse/reflect/.project @@ -0,0 +1,30 @@ + + + reflect + + + + + + org.scala-ide.sdt.core.scalabuilder + + + + + + org.scala-ide.sdt.core.scalanature + org.eclipse.jdt.core.javanature + + + + build-quick-reflect + 2 + SCALA_BASEDIR/build/quick/classes/reflect + + + reflect + 2 + SCALA_BASEDIR/src/reflect + + + diff --git a/src/eclipse/scala-compiler/.classpath b/src/eclipse/scala-compiler/.classpath new file mode 100644 index 0000000000..ff3b63f3ca --- /dev/null +++ b/src/eclipse/scala-compiler/.classpath @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/eclipse/scala-compiler/.project b/src/eclipse/scala-compiler/.project new file mode 100644 index 0000000000..cf8a68c8b6 --- /dev/null +++ b/src/eclipse/scala-compiler/.project @@ -0,0 +1,35 @@ + + + scala-compiler + + + + + + org.scala-ide.sdt.core.scalabuilder + + + + + + org.scala-ide.sdt.core.scalanature + org.eclipse.jdt.core.javanature + + + + build-quick-compiler + 2 + SCALA_BASEDIR/build/quick/classes/compiler + + + compiler + 2 + SCALA_BASEDIR/src/compiler + + + lib + 2 + SCALA_BASEDIR/lib + + + diff --git a/src/eclipse/scala-library/.classpath b/src/eclipse/scala-library/.classpath new file mode 100644 index 0000000000..a3a4933d34 --- /dev/null +++ b/src/eclipse/scala-library/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/eclipse/scala-library/.project b/src/eclipse/scala-library/.project new file mode 100644 index 0000000000..049cf75e0b --- /dev/null +++ b/src/eclipse/scala-library/.project @@ -0,0 +1,30 @@ + + + scala-library + + + + + + org.scala-ide.sdt.core.scalabuilder + + + + + + org.scala-ide.sdt.core.scalanature + org.eclipse.jdt.core.javanature + + + + build-quick-lib + 2 + SCALA_BASEDIR/build/quick/classes/library + + + library + 2 + SCALA_BASEDIR/src/library + + + -- cgit v1.2.3