mirror of https://github.com/sbt/sbt.git
When a test fails with ClassNotFoundException/IllegalAccessError, sbt suggests a set command to change classLoaderLayeringStrategy. If the project name contains hyphens (e.g. bug-report), the suggested command was syntactically invalid because it parses as subtraction in Scala. Quote project IDs using Util.quoteIfNotScalaId so the suggested commands are valid when copy-pasted. Fixes #5803 |
||
|---|---|---|
| .. | ||
| example-work/src/main/scala | ||
| util-complete | ||
| util-control | ||
| util-core/src | ||
| util-interface/src/main/java/xsbti | ||
| util-logging | ||
| util-logic/src | ||
| util-position/src | ||
| util-relation/src | ||
| util-scripted/src/main | ||