scala-ide/scala-ide — pull request #597 by adriaanm (2013-12-07 03:30:47+00:00)
Title: For your inspiration: redeeming scala modularization

To redeem all the havoc I've wreaked in modularizing the Scala library,
here's some help towards catch up with these changes.

It passes the tests for me (using the compiler from https://github.com/scala/scala/pull/3221),
but I'm not sure how idiomatic the changes are.

The idea is to allow a split between the 2.10 and 2.11 profiles,
so that the 2.11 profile can evolve towards two Scala containers:
- the mandatory Scala container with only scala-{library,reflect,compiler}
- an optional Scala Modules container, which provides the modules:
actors, continuations, parsers, swing, xml,...

TODO: I noticed the new modules, xml and parser-combinators, are not on the class path for the repl.
Grepping for swingClasses will likely reveal a couple spots where the classes for those modules need to be added.

Regarding f8c9c70: my git complained about CRLF being changed in .png files,
which I assumed was due to the `* text eol=lf` line, which i interpreted as telling git all files were text (??).

PS:
```
cd ~/git/scala && ant -Dlocker.skip=1 -Ddocs.skip=1 -Dmaven.version.suffix=-modswicps publish.local

cd ~/git/pr-scala/uber-build
cp ~/git/scala/buildcharacter.properties versions.properties
export MAVEN_OPTS="$ANT_OPTS"
export MAVEN_ARGS="-P pr-scala"
UBERBUILD_DIR=`pwd`
$UBERBUILD_DIR/uber-build.sh $UBERBUILD_DIR/config/validator.conf HEAD 2.11.0-modswicps

# To build just the ide when uber-build fails, but everything else succeeded:
./build-all.sh -e \
-Dmaven.repo.local=/Users/adriaan/git/pr-scala/uber-build/target/m2repo \
-P pr-scala -Peclipse-juno -Pscala-2.11.x\
-Dscala.version=2.11.0-modswicps -Dversion.tag=local -Dsbt.version=0.13.0 -Dsbt.ide.version=0.13.0-on-2.11.0-modswicps-for-IDE-SNAPSHOT\
-Drepo.scala-refactoring=file:///Users/adriaan/git/pr-scala/uber-build/target/scala-refactoring/org.scala-refactoring.update-site/target/site -Drepo.scalariform=file:///Users/adriaan/git/pr-scala/uber-build/target/scalariform/scalariform.update/target/site \
install

# using a slightly modified pr-scala module -- my ~/.m2/settings.xml:

pr-scala

pr-scala
Sonatype releases
https://oss.sonatype.org/content/repositories/releases/

mylocal
Local maven
file:///Users/adriaan/.m2/repository

```