Skip to content

Commit

Permalink
Add release notes and docs for 1.3.0 (#926)
Browse files Browse the repository at this point in the history
Add release notes and docs for 1.3.0
  • Loading branch information
jvican authored Jun 6, 2019
2 parents e40609d + 11e2728 commit 6d906b2
Show file tree
Hide file tree
Showing 32 changed files with 3,210 additions and 121 deletions.
11 changes: 9 additions & 2 deletions backend/src/main/scala/bloop/ScalaInstance.scala
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,15 @@ object ScalaInstance {

val fromResourceStream =
clazz.getResourceAsStream("/" + expectedPath.getSchemeSpecificPart)
if (fromResourceStream == null) None
else {
if (fromResourceStream == null) {
val scalaJarResourceError =
"""Unexpected error when creating Bloop's default Scala instance!
| -> The resources where Bloop Scala jars are hosted cannot be accessed
|This error can happen when making an standalone bootstrap of bloop via coursier which is currently not supported
""".stripMargin
logger.error(scalaJarResourceError)
None
} else {
val outPath = tempDirectory.resolve(jarName)
logger.debug(s"${clazz} detected in resource, dumping to ${outPath}...")
Files.copy(fromResourceStream, outPath)
Expand Down
4 changes: 2 additions & 2 deletions bin/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ def coursier_bootstrap(target, main):
check_call(["java"] + http + https + ["-Divy.home=" + args.ivy_home, "-jar", BLOOP_COURSIER_TARGET, "bootstrap", BLOOP_ARTIFACT,
"-r", "bintray:scalameta/maven",
"-r", "bintray:scalacenter/releases",
"-o", target, "-f", "--standalone", "--main", main
"-o", target, "-f", "--main", main
])
else:
check_call(["java"] + http + https + ["-jar", BLOOP_COURSIER_TARGET, "bootstrap", BLOOP_ARTIFACT,
"-r", "bintray:scalameta/maven",
"-r", "bintray:scalacenter/releases",
"-r", "https://oss.sonatype.org/content/repositories/staging",
"-o", target, "-f", "--standalone", "--main", main
"-o", target, "-f", "--main", main
])
except CalledProcessError as e:
print("Coursier couldn't create %s. Please report an issue." % target)
Expand Down
43 changes: 43 additions & 0 deletions docs/assets/build-optimization-example-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions docs/assets/build-optimization-example-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/zipkin-akka-traces-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/zipkin-akka-traces-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/build-tools/sbt.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Install and learn how to export the build in the Installation Guide:

The following page only walks you through all the configuration options that the `sbt-bloop` plugin
allows when it's configured in your build. To learn how to install the plugin or the basic concepts
of exporting your build via bloopp head to the installation guide linked above.
of exporting your build via bloop head to the installation guide linked above.

## Don't export certain targets

Expand Down
Loading

0 comments on commit 6d906b2

Please sign in to comment.