Skip to content
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

"Retry" after "reload return" goes back to subproject #973

Closed
Blaisorblade opened this issue Nov 11, 2013 · 0 comments
Closed

"Retry" after "reload return" goes back to subproject #973

Blaisorblade opened this issue Nov 11, 2013 · 0 comments
Labels

Comments

@Blaisorblade
Copy link
Contributor

To reproduce:

  1. start SBT on some project
  2. insert an error in build.sbt
  3. do reload plugins
  4. do reload return
  5. when it fails, press retry. It will succeed, whether you fixed the error or not, because SBT forgets it was performing a "reload return" and will retry loading the subproject (with success).

Example transcript:

> reload plugins
[info] Loading project definition from /Users/pgiarrusso/Documents/Research/PhD/Teaching/SLE2013/public-material-repo/lectures/sbt-sample/project
> reload return
[info] Loading project definition from /Users/pgiarrusso/Documents/Research/PhD/Teaching/SLE2013/public-material-repo/lectures/sbt-sample/project
/Users/pgiarrusso/Documents/Research/PhD/Teaching/SLE2013/public-material-repo/lectures/sbt-sample/build.sbt:34: error: illegal start of simple expression
 */
   ^
[error] Error parsing expression.  Ensure that there are no blank lines within a setting.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? r
[info] Loading project definition from /Users/pgiarrusso/Documents/Research/PhD/Teaching/SLE2013/public-material-repo/lectures/sbt-sample/project
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant