Skip to content

Commit 03cc6f9

Browse files
committed
Update STARR to freshly bootstrapped build
As built in https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-bootstrap/326/console To pick this up in PR validation, I've configured SBT to use the extra resolver. Once we gain some more confidence about the new STARR candidate, we'll tag it and have the bootstrap script publish it to Sonatype, at which time we can drop this change.
1 parent 6692bb4 commit 03cc6f9

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

build.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ TODO:
307307

308308
<artifact:remoteRepository id="sonatype-release" url="https://oss.sonatype.org/content/repositories/releases"/>
309309
<artifact:remoteRepository id="extra-repo" url="${extra.repo.url}"/>
310+
<artifact:remoteRepository id="scala-release-temp" url="https://scala-ci.typesafe.com/artifactory/scala-release-temp/"/>
310311

311312
<!-- prepare, for each of the names below, the property "@{name}.cross", set to the
312313
necessary cross suffix (usually something like "_2.11.0-M6". -->
@@ -330,12 +331,14 @@ TODO:
330331
-->
331332
<artifact:remoteRepository refid="sonatype-release"/>
332333
<artifact:remoteRepository refid="extra-repo"/>
334+
<artifact:remoteRepository refid="scala-release-temp"/>
333335
<dependency groupId="org.scala-lang.modules" artifactId="scala-partest${partest.cross}" version="${partest.version.number}" />
334336
</artifact:dependencies>
335337
<copy-deps project="partest"/>
336338

337339
<artifact:dependencies pathId="scalacheck.classpath" filesetId="scalacheck.fileset" versionsId="scalacheck.versions">
338340
<artifact:remoteRepository refid="extra-repo"/>
341+
<artifact:remoteRepository refid="scala-release-temp"/>
339342
<dependency groupId="org.scalacheck" artifactId="scalacheck${scalacheck.cross}" version="${scalacheck.version.number}" />
340343
</artifact:dependencies>
341344

@@ -348,6 +351,7 @@ TODO:
348351
must specify sourcesFilesetId, javadocFilesetId to download these types of artifacts -->
349352
<artifact:dependencies pathId="external-modules.deps.classpath" sourcesFilesetId="external-modules.sources.fileset" javadocFilesetId="external-modules.javadoc.fileset">
350353
<artifact:remoteRepository refid="extra-repo"/>
354+
<artifact:remoteRepository refid="scala-release-temp"/>
351355
<dependency groupId="org.scala-lang.modules" artifactId="scala-xml${scala-xml.cross}" version="${scala-xml.version.number}"/>
352356
<dependency groupId="org.scala-lang.modules" artifactId="scala-parser-combinators${scala-parser-combinators.cross}" version="${scala-parser-combinators.version.number}"/>
353357
<dependency groupId="org.scala-lang.modules" artifactId="scala-swing${scala-swing.cross}" version="${scala-swing.version.number}"/>
@@ -376,6 +380,7 @@ TODO:
376380
<echo message="Using Scala ${starr.version} for STARR."/>
377381
<artifact:dependencies pathId="starr.compiler.path" filesetId="starr.fileset">
378382
<artifact:remoteRepository refid="extra-repo"/>
383+
<artifact:remoteRepository refid="scala-release-temp"/>
379384
<dependency groupId="org.scala-lang" artifactId="scala-library" version="${starr.version}"/>
380385
<dependency groupId="org.scala-lang" artifactId="scala-reflect" version="${starr.version}"/>
381386
<dependency groupId="org.scala-lang" artifactId="scala-compiler" version="${starr.version}"/>

scripts/common

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,18 @@ IVY_CACHE="$WORKSPACE/.ivy2"
1818
mkdir -p $IVY_CACHE
1919
rm -rf $IVY_CACHE/cache/org.scala-lang
2020

21+
cat >$SBT_HOME/repositories <<EOF
22+
[repositories]
23+
local
24+
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
25+
maven-central
26+
sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots
27+
private-repo: https://scala-ci.typesafe.com/artifactory/scala-release-temp/
28+
EOF
29+
2130
SBT_CMD=${sbtCmd-sbt}
2231
SBT_CMD="$SBT_CMD -sbt-version 0.13.9"
32+
SBT_CMD="$SBT_CMD -Dsbt.repository.config=$SBT_HOME/repositories"
2333

2434
# temp dir where all 'non-build' operation are performed
2535
TMP_ROOT_DIR=$(mktemp -d -t pr-scala.XXXX)

versions.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# The scala version used for bootstrapping. This has no impact on the final classfiles:
99
# there are two stages (locker and quick), so compiler and library are always built
1010
# with themselves. Stability is ensured by building a third stage (strap).
11-
starr.version=2.12.0-M3
11+
starr.version=2.12.0-3ecc141-nightly
1212

1313
# These are the versions of the modules that go with this release.
1414
# These properties are used during PR validation and in dbuild builds.
@@ -19,7 +19,7 @@ starr.version=2.12.0-M3
1919
# - After 2.x.0 is released, the binary version is 2.x.
2020
# - During milestones and RCs, modules are cross-built against the full version.
2121
# So the value is the full version (e.g. 2.12.0-M2).
22-
scala.binary.version=2.12.0-M3
22+
scala.binary.version=2.12.0-3ecc141-nightly
2323

2424
# external modules shipped with distribution, as specified by scala-library-all's pom
2525
scala-xml.version.number=1.0.5

0 commit comments

Comments
 (0)