-
Notifications
You must be signed in to change notification settings - Fork 1k
sbt --script-version doesn't work on sbt 2.x project directories #8711
Copy link
Copy link
Labels
Bugarea/runner-scriptissues around sbt-the-bash-script, or bat scriptissues around sbt-the-bash-script, or bat script
Description
Steps
- Make a sbt 2.x project.
cd /tmpmkdir hellocd hellotouch build.sbtmkdir projectecho "sbt.version=2.0.0-RC8" > project/build.properties
$ $HOME/work/sbt/sbt --script-version -v
Problem
It runs sbtn instead of printing out the script version:
$ $HOME/work/sbt/sbt --script-version -v
....
[debug] running native client
# Executing command line:
/Users/xxx/.cache/sbt/boot/sbtn/1.12.1/sbtn
--sbt-script=/Users/xxx/work/sbt/sbt
--script-version
-v
[info] server was not detected. starting an instance
[error] failed to connect to serverExpectation
$ $HOME/work/sbt/sbt --script-version -v
....
[process_args] java_version = '8'
_to_be_replacedPrint out the script version. If you used the one in sbt/sbt it should say _to_be_replaced.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bugarea/runner-scriptissues around sbt-the-bash-script, or bat scriptissues around sbt-the-bash-script, or bat script