Added new build profiles for both Scala 2.10.1 and Scala 2.11.0 #201

Merged
merged 1 commit into from Oct 3, 2012

3 participants

@dotta
Eclipse Scala IDE member

Note that the p2 repo's name of both scalariform and scala-refactoring
contain now the Scala version number they have been compiled with. Doing
it this way will make our life easier in the future ("trunk" is a moving
target, we need a stable number).

Also, since minor Scala releases are binary compatible, it should be ok
to use scalariform and scala-refactoring compiled against Scala 2.10.0
also for building the IDE for Scala 2.10.1.

Re #1001256

Note: Have a look at the profiles name, we no longer have a 2.10.x. The reason is that 2.10.x is a moving target (just like trunk), and profiles that map to stable version are better in this case.

@dragos
Eclipse Scala IDE member

LGTM

@dotta dotta Added new build profile for Scala 2.11
Note that the p2 repo's name of both scalariform and scala-refactoring contain
now the Scala major version they have been compiled with. Doing so will make
our life easier in the future ("trunk" is a moving target, we need a stable
identifier).

Also, since minor Scala releases are binary compatible, it should be ok to use
scalariform and scala-refactoring compiled against Scala 2.10.0 also for
building the IDE for Scala 2.10.1.

The changes in org.scala-ide.scala.compiler/pom.xml needed to support Scala
2.11.x are exact duplicates of what we do for Scala 2.10.x. Unfortunately, it
doesn't seem to be possible to avoid the duplication because of Maven
limitations (e.g., http://jira.codehaus.org/browse/MNG-3328). Furthermore,
consider that once we drop support for Scala 2.9.x, then we will no longer need
to have the above mentioned duplication.

Re #1001256
a88a43a
@dotta
Eclipse Scala IDE member

PLS REBUILD ALL

@dotta dotta merged commit 5c1d30e into scala-ide:master Oct 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment