Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Display a meaningful error message for build.sbt files that do not use empty lines #58

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

Comments

Projects
None yet
1 participant
Owner

harrah commented Jan 5, 2013

I just kicked off a new app and wanted to use SBT 0.10. I did not notice empty lines requirement initially and wasted about 20 minutes figuring out why my build.sbt cannot be parsed:

/Users/antares/Development/supersecretapp/build.sbt:2: error: eof expected but ';' found.
name := "supersecretapp"
^
[error] Error parsing expression.

I am sorry but this error message just isn't helpful. I don't know why this empty lines requirement is there but it is very counter-intuitive. At least improve this error message.

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#58 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