-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling build-level keys at a subproject resolves to wrong scoping #2851
Comments
eed3si9n
changed the title
Calling settings/tasks/commands at a subproject resolves to wrong scoping
Calling build-level keys at a subproject resolves to wrong scoping
Nov 29, 2016
eed3si9n
added a commit
to eed3si9n/sbt
that referenced
this issue
Nov 30, 2016
Fixes sbt#2460 Fixes sbt#2851 Ref sbt#2707, sbt#2708, sbt#2469 Unlike the previous attempts at fixing the handling of build-level keys, this change does not change the main parsing logic, which uses `getKey` to retrieve the key from the key map. The fact that shell worked pre-0.13.11 means that the parsing was ok. What this changes is just the "example" keys supplied to the parser so the tab completion works.
eed3si9n
added a commit
to eed3si9n/sbt
that referenced
this issue
Jan 16, 2017
Fixes sbt#2460 Fixes sbt#2851 Ref sbt#2707, sbt#2708, sbt#2469 Unlike the previous attempts at fixing the handling of build-level keys, this change does not change the main parsing logic, which uses `getKey` to retrieve the key from the key map. The fact that shell worked pre-0.13.11 means that the parsing was ok. What this changes is just the "example" keys supplied to the parser so the tab completion works.
eed3si9n
added a commit
to eed3si9n/sbt
that referenced
this issue
Jan 16, 2017
Fixes sbt#2460 Fixes sbt#2851 Ref sbt#2707, sbt#2708, sbt#2469 Unlike the previous attempts at fixing the handling of build-level keys, this change does not change the main parsing logic, which uses `getKey` to retrieve the key from the key map. The fact that shell worked pre-0.13.11 means that the parsing was ok. What this changes is just the "example" keys supplied to the parser so the tab completion works.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ref #2707, #2708, #2469
steps
Using a multi-project build with sbt 0.13.13, navigate to a subproject and call
version
.problem
The problem is that typing "version" seems to be resolving to some build level scoping, and it ends up aggregating calls to the build level and the subprojects.
expectation
Here's the result using sbt 0.13.11:
notes
This behavior may result to unintended side effect aggregating over the subprojects.
The text was updated successfully, but these errors were encountered: