diff --git a/org.scala-ide.build-toolchain/build-toolchain-2.8.x.sh b/org.scala-ide.build-toolchain/build-toolchain-2.8.x.sh index 0f49d9fce1..657d96af15 100755 --- a/org.scala-ide.build-toolchain/build-toolchain-2.8.x.sh +++ b/org.scala-ide.build-toolchain/build-toolchain-2.8.x.sh @@ -2,10 +2,21 @@ . $(dirname $0)/env.sh +# Scala compiler version to be used as a dependency SCALA_VERSION=2.8.2-SNAPSHOT + #THIS NEEDS TO BE UPDATED ONCE WE HAVE SNAPSHOTS + +# The precompiled compiler-interface.jar that SBT uses to communicate with scalac +# This is usually the same as Scala version, and it is not enough to be just binary +# compatible (compiler interface depends on scalac, not just std library) SCALA_PRECOMPILED=2_8_2-SNAPSHOT + +# The scala version that was used to compile SBT dependencies (it is part of the artifact name) +# It is usually enough to have a binary compatible version of SCALA_VERSION +# For instance, here we can use 2.9.0, for a 2.9.1 compiler SBT_SCALA_VERSION=2.8.1 + SBINARY_VERSION=0.4.0 set_version ${SCALA_VERSION} diff --git a/org.scala-ide.build-toolchain/build-toolchain-2.9.x.sh b/org.scala-ide.build-toolchain/build-toolchain-2.9.x.sh index 730952af2a..3372ebf333 100755 --- a/org.scala-ide.build-toolchain/build-toolchain-2.9.x.sh +++ b/org.scala-ide.build-toolchain/build-toolchain-2.9.x.sh @@ -2,10 +2,21 @@ . $(dirname $0)/env.sh +# Scala compiler version to be used as a dependency SCALA_VERSION=2.9.2-SNAPSHOT + #THIS NEEDS TO BE UPDATED ONCE WE HAVE SNAPSHOTS + +# The precompiled compiler-interface.jar that SBT uses to communicate with scalac +# This is usually the same as Scala version, and it is not enough to be just binary +# compatible (compiler interface depends on scalac, not just std library) SCALA_PRECOMPILED=2_9_1-SNAPSHOT + +# The scala version that was used to compile SBT dependencies (it is part of the artifact name) +# It is usually enough to have a binary compatible version of SCALA_VERSION +# For instance, here we can use 2.9.0, for a 2.9.1 compiler SBT_SCALA_VERSION=2.9.0-1 + SBINARY_VERSION=0.4.0 set_version ${SCALA_VERSION} diff --git a/org.scala-ide.build-toolchain/build-toolchain-local-trunk.sh b/org.scala-ide.build-toolchain/build-toolchain-local-trunk.sh index 49bc607168..987e486212 100755 --- a/org.scala-ide.build-toolchain/build-toolchain-local-trunk.sh +++ b/org.scala-ide.build-toolchain/build-toolchain-local-trunk.sh @@ -2,10 +2,20 @@ . $(dirname $0)/env.sh +# Scala compiler version to be used as a dependency SCALA_VERSION=2.10.0-SNAPSHOT + +# The precompiled compiler-interface.jar that SBT uses to communicate with scalac +# This is usually the same as Scala version, and it is not enough to be just binary +# compatible (compiler interface depends on scalac, not just std library) +SCALA_PRECOMPILED=2_10_0-SNAPSHOT + +# The scala version that was used to compile SBT dependencies (it is part of the artifact name) +# It is usually enough to have a binary compatible version of SCALA_VERSION +# For instance, here we can use 2.9.0, for a 2.9.1 compiler SBT_SCALA_VERSION=2.10.0-SNAPSHOT + SBINARY_VERSION=0.4.0 -SCALA_PRECOMPILED=2_10_0-SNAPSHOT set_version ${SCALA_VERSION} diff --git a/org.scala-ide.build-toolchain/build-toolchain-trunk.sh b/org.scala-ide.build-toolchain/build-toolchain-trunk.sh index 3013470be9..ff833620e1 100755 --- a/org.scala-ide.build-toolchain/build-toolchain-trunk.sh +++ b/org.scala-ide.build-toolchain/build-toolchain-trunk.sh @@ -2,10 +2,20 @@ . $(dirname $0)/env.sh +# Scala compiler version to be used as a dependency SCALA_VERSION=2.10.0-SNAPSHOT + +# The precompiled compiler-interface.jar that SBT uses to communicate with scalac +# This is usually the same as Scala version, and it is not enough to be just binary +# compatible (compiler interface depends on scalac, not just std library) +SCALA_PRECOMPILED=2_10_0-SNAPSHOT + +# The scala version that was used to compile SBT dependencies (it is part of the artifact name) +# It is usually enough to have a binary compatible version of SCALA_VERSION +# For instance, here we can use 2.9.0, for a 2.9.1 compiler SBT_SCALA_VERSION=2.10.0-SNAPSHOT + SBINARY_VERSION=0.4.0 -SCALA_PRECOMPILED=2_10_0-SNAPSHOT set_version ${SCALA_VERSION} diff --git a/org.scala-ide.build-toolchain/pom.xml b/org.scala-ide.build-toolchain/pom.xml index 72a2451545..3de123c99a 100644 --- a/org.scala-ide.build-toolchain/pom.xml +++ b/org.scala-ide.build-toolchain/pom.xml @@ -9,7 +9,6 @@ pom - 2.8.0 0.10.3 p0002 UTF-8 @@ -108,7 +107,7 @@ org.scala-lang ${scala.version} - 2_10 + 2_10 2.10 @@ -132,7 +131,7 @@ org.scala-lang ${scala.version} - 2_09 + 2_09 2.9 @@ -157,7 +156,7 @@ org.scala-lang ${scala.version} - 2_08 + 2_08 2.8 diff --git a/org.scala-ide.build/build-ide-2.8.2-SNAPSHOT b/org.scala-ide.build/build-ide-2.8.2-SNAPSHOT index b017981a10..95d6cc90cc 100755 --- a/org.scala-ide.build/build-ide-2.8.2-SNAPSHOT +++ b/org.scala-ide.build/build-ide-2.8.2-SNAPSHOT @@ -3,6 +3,5 @@ . $(dirname $0)/env.sh SCALA_VERSION=2.8.2-SNAPSHOT -SBT_VERSION=2.8.2-SNAPSHOT build $* diff --git a/org.scala-ide.build/build-ide-2.9.0-1.sh b/org.scala-ide.build/build-ide-2.9.0-1.sh index 5c59faeda0..5a2cd61b87 100755 --- a/org.scala-ide.build/build-ide-2.9.0-1.sh +++ b/org.scala-ide.build/build-ide-2.9.0-1.sh @@ -3,6 +3,5 @@ . $(dirname $0)/env.sh SCALA_VERSION=2.9.0-1 -SBT_VERSION=2.9.0-1 build $* diff --git a/org.scala-ide.build/build-ide-2.9.0.final.sh b/org.scala-ide.build/build-ide-2.9.0.final.sh index 90a0bdf238..be79db33bd 100755 --- a/org.scala-ide.build/build-ide-2.9.0.final.sh +++ b/org.scala-ide.build/build-ide-2.9.0.final.sh @@ -3,6 +3,5 @@ . $(dirname $0)/env.sh SCALA_VERSION=2.9.0 -SBT_VERSION=2.9.0 build $* diff --git a/org.scala-ide.build/build-ide-2.9.1-SNAPSHOT b/org.scala-ide.build/build-ide-2.9.1-SNAPSHOT index f8e3d1d839..32dcf9c939 100755 --- a/org.scala-ide.build/build-ide-2.9.1-SNAPSHOT +++ b/org.scala-ide.build/build-ide-2.9.1-SNAPSHOT @@ -2,7 +2,6 @@ . $(dirname $0)/env.sh -SCALA_VERSION=2.9.1-SNAPSHOT -SBT_VERSION=2.9.1-SNAPSHOT +SCALA_VERSION=2.9.2-SNAPSHOT build $* diff --git a/org.scala-ide.build/build-ide-trunk.sh b/org.scala-ide.build/build-ide-trunk.sh index f5bdc5028d..f7df2d66a1 100755 --- a/org.scala-ide.build/build-ide-trunk.sh +++ b/org.scala-ide.build/build-ide-trunk.sh @@ -3,6 +3,5 @@ . $(dirname $0)/env.sh SCALA_VERSION=2.10.0-SNAPSHOT -SBT_VERSION=0.10.3 build $* diff --git a/org.scala-ide.build/env.sh b/org.scala-ide.build/env.sh index e3f69ac18d..b826babb31 100755 --- a/org.scala-ide.build/env.sh +++ b/org.scala-ide.build/env.sh @@ -34,7 +34,6 @@ build() ${MAVEN} \ $PROFILE_NAME -U \ -Dscala.version=${SCALA_VERSION} \ - -Dsbt.version=${SBT_VERSION} \ -Dgit.hash=${GIT_HASH} \ -Dversion.tag=${VERSION_TAG}\ clean install $* diff --git a/org.scala-ide.build/pom.xml b/org.scala-ide.build/pom.xml index 6bd40c045e..17d3f2c8fd 100644 --- a/org.scala-ide.build/pom.xml +++ b/org.scala-ide.build/pom.xml @@ -9,7 +9,6 @@ pom - 2.8.0 nightly 2_10 2.10 @@ -18,6 +17,8 @@ 1.5 1.5 UTF-8 + + http://download.scala-ide.org @@ -179,7 +180,7 @@ scala-toolchain-2.8.0.final Scala Toolchain 2.8.0.final p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.8.0.final + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.8.0.final @@ -212,7 +213,7 @@ scala-toolchain-2.8.1.final Scala Toolchain 2.8.1.final p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.8.1.final + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.8.1.final @@ -244,7 +245,7 @@ scala-toolchain-2.8.2-SNAPSHOT Scala Toolchain 2.8.2-SNAPSHOT p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.8.2-SNAPSHOT + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.8.2-SNAPSHOT @@ -277,7 +278,7 @@ scala-toolchain-2.9.0.final Scala Toolchain 2.9.0.final p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.9.0.final + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.9.0.final @@ -310,7 +311,7 @@ scala-toolchain-2.9.0-1 Scala Toolchain 2.9.0-1 p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.9.0-1 + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.9.0-1 @@ -342,7 +343,7 @@ scala-toolchain-2.9.1.final Scala Toolchain 2.9.1.final p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.9.1.final + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.9.1.final @@ -374,7 +375,7 @@ scala-toolchain-2.9.2-SNAPSHOT Scala Toolchain 2.9.2-SNAPSHOT p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-2.9.2-SNAPSHOT + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-2.9.2-SNAPSHOT @@ -403,7 +404,7 @@ scala-toolchain-trunk Scala Toolchain trunk p2 repository p2 - http://download.scala-ide.org/scala-eclipse-toolchain-osgi-trunk + ${toolchain.base.url}/scala-eclipse-toolchain-osgi-trunk diff --git a/org.scala-ide.sbt/pom.xml b/org.scala-ide.sbt/pom.xml index 9ed4fbd576..1e12bfca47 100644 --- a/org.scala-ide.sbt/pom.xml +++ b/org.scala-ide.sbt/pom.xml @@ -9,7 +9,7 @@ ../org.scala-ide.build-toolchain/pom.xml org.scala-ide.sbt.full.library - ${sbt.version}.${sbt.library.qualifier} + ${sbt.version}.${version.suffix}-${maven.build.timestamp} bundle @@ -160,6 +160,7 @@ ${basedir} + maven-clean-plugin 2.4.1 @@ -448,7 +449,7 @@ org.scala-ide.sbt.full.library Sbt ${sbt.version} Library for Eclipse - ${sbt.version}.${sbt.library.qualifier} + ${sbt.version}.${version.suffix}-${maven.build.timestamp} *;scope=compile|runtime;inline=false <_exportcontents>sbt.*;version=${sbt.version},xsbt.*;version=${sbt.version},xsbti.*;version=${sbt.version},sbinary.*;version=${sbinary.version},jline.*;version=0.9.94,org.apache.ivy.*;version=2.2.0 lib diff --git a/org.scala-ide.sdt.core/META-INF/MANIFEST.MF b/org.scala-ide.sdt.core/META-INF/MANIFEST.MF index 09b05e3721..86d45cbb6d 100644 --- a/org.scala-ide.sdt.core/META-INF/MANIFEST.MF +++ b/org.scala-ide.sdt.core/META-INF/MANIFEST.MF @@ -39,10 +39,10 @@ Require-Bundle: org.eclipse.ui.workbench.texteditor, org.eclipse.pde.core;resolution:=optional, org.eclipse.pde.ui;resolution:=optional, - org.scala-ide.scala.library;bundle-version="[2.9.0,2.10)", - org.scala-ide.scala.compiler;bundle-version="[2.9.0,2.10)", + org.scala-ide.scala.library, + org.scala-ide.scala.compiler, org.scala-refactoring.library, - org.scala-ide.sbt.full.library;bundle-version="[0.10.3.2_09,0.10.4]", + org.scala-ide.sbt.full.library;bundle-version="[0.10.3,0.10.4)", scalariform, org.junit4;bundle-version="4.5.0", org.eclipse.ui.browser;bundle-version="3.3.0" diff --git a/org.scala-ide.sdt.core/pom.xml b/org.scala-ide.sdt.core/pom.xml index 2b6eb8ecb3..ac8ef948ec 100644 --- a/org.scala-ide.sdt.core/pom.xml +++ b/org.scala-ide.sdt.core/pom.xml @@ -24,6 +24,11 @@ jar compile + + + + +