"Reference to undefined setting" while using an optional key #204

Closed
harrah opened this Issue Jan 5, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

harrah commented Jan 5, 2013

steps

> test <<= test or (test in Test)

problem

[info] Reapplying settings...
[error] Reference to undefined setting:
[error]
[error]   *:test from *:test
[error]      Did you mean test:test ?
[error]
[error] Use 'last' for the full log.

expectation

test is wired to test in Test only if it's not already initialized.

note

This works on 0.10, but it doesn't for 0.11.
I should've tested on RC, but I only recently discovered this trick.

Owner

harrah commented Jan 5, 2013

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#204 for the full issue and to comment.

@harrah harrah closed this Jan 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment