From 7b322fe8b5d297ff52820a3268a58bf885781e70 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 6 Feb 2020 10:01:41 +0100 Subject: [PATCH] Fix #8218: Add missing TASTy Inspector dependency in dist/pack --- dist/bin/common | 2 +- dist/bin/dotc | 1 + dist/bin/dotd | 2 +- dist/bin/dotr | 2 +- project/Build.scala | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dist/bin/common b/dist/bin/common index 13097da97419..0ee5dae27619 100755 --- a/dist/bin/common +++ b/dist/bin/common @@ -108,7 +108,7 @@ DOTTY_COMP=$(find_lib "*dotty-compiler*") DOTTY_INTF=$(find_lib "*dotty-interfaces*") DOTTY_LIB=$(find_lib "*dotty-library*") DOTTY_STAGING=$(find_lib "*dotty-staging*") -DOTTY_CONSUME_TASTY=$(find_lib "*dotty-consume-tasty*") +DOTTY_TASTY_INSPECTOR=$(find_lib "*dotty-tasty-inspector*") TASTY_CORE=$(find_lib "*tasty-core*") SCALA_ASM=$(find_lib "*scala-asm*") SCALA_LIB=$(find_lib "*scala-library*") diff --git a/dist/bin/dotc b/dist/bin/dotc index 532224705709..7a0fd239296e 100755 --- a/dist/bin/dotc +++ b/dist/bin/dotc @@ -64,6 +64,7 @@ classpathArgs () { toolchain+="$DOTTY_COMP$PSEP" toolchain+="$TASTY_CORE$PSEP" toolchain+="$DOTTY_STAGING$PSEP" + toolchain+="$DOTTY_TASTY_INSPECTOR$PSEP" # jine toolchain+="$JLINE_READER$PSEP" diff --git a/dist/bin/dotd b/dist/bin/dotd index ff4cce9788ce..5c9c6287097a 100755 --- a/dist/bin/dotd +++ b/dist/bin/dotd @@ -76,7 +76,7 @@ ST4_LIB=$(find_lib "*ST4*") # Set jsoup dep: JSOUP_LIB=$(find_lib "*jsoup*") -CLASS_PATH="$DOTTY_LIB$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_DOC_LIB$PSEP$DOTTY_INTF$PSEP$SBT_INTF$PSEP$DOTTY_STAGING" +CLASS_PATH="$DOTTY_LIB$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_DOC_LIB$PSEP$DOTTY_INTF$PSEP$SBT_INTF$PSEP$DOTTY_STAGING$PSEP$DOTTY_TASTY_INSPECTOR" CLASS_PATH="$CLASS_PATH$PSEP$SCALA_LIB" CLASS_PATH="$CLASS_PATH$PSEP$FLEXMARK_LIBS" CLASS_PATH="$CLASS_PATH$PSEP$JACKSON_LIBS" diff --git a/dist/bin/dotr b/dist/bin/dotr index 78f18a910dfa..3a6dfcd3390b 100755 --- a/dist/bin/dotr +++ b/dist/bin/dotr @@ -102,7 +102,7 @@ elif [ $execute_repl == true ] || [ ${#residual_args[@]} -ne 0 ]; then echo "warning: multiple classpaths are found, dotr only use the last one." fi if [ $with_compiler == true ]; then - cp_arg+="$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_INTF$PSEP$SCALA_ASM$PSEP$DOTTY_STAGING$PSEP$DOTTY_CONSUME_TASTY" + cp_arg+="$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_INTF$PSEP$SCALA_ASM$PSEP$DOTTY_STAGING$PSEP$DOTTY_TASTY_INSPECTOR" fi eval exec "\"$JAVACMD\"" "$DEBUG" "-classpath \"$cp_arg\"" "${jvm_options[@]}" "${residual_args[@]}" else diff --git a/project/Build.scala b/project/Build.scala index 0f55f2dff80b..3de2076dc2df 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -1382,7 +1382,7 @@ object Build { def asDist(implicit mode: Mode): Project = project. enablePlugins(PackPlugin). withCommonSettings. - dependsOn(`dotty-interfaces`, dottyCompiler, dottyLibrary, tastyCore, `dotty-staging`, dottyDoc). + dependsOn(`dotty-interfaces`, dottyCompiler, dottyLibrary, tastyCore, `dotty-staging`, `dotty-tasty-inspector`, dottyDoc). settings(commonDistSettings). bootstrappedSettings( target := baseDirectory.value / "target" // override setting in commonBootstrappedSettings