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

Are sbt-revolver configuration README.md examples correct after recent autoplugin changes? #59

Closed
LeeTibbert opened this issue Feb 27, 2016 · 1 comment

Comments

@LeeTibbert
Copy link

Could someone in the know take a look at the sbt-revolver configuration examples in
the light of recent autoplugin changes?
Specifically the example

mainClass in Revolver.reStart := Some("com.example.Main")

Using sbt-revolver 0.8.0, sbt 0.13.11 & scala 2.11.7, that example failed in
my build.sbt with a complaint about reStart not being a member of Revolver.
(I believe/suspect that Revolver became RevolverPlugin, along
with other changes, during the autoplugin transformation.)

After much thrashing, I found that the following code line worked
for me as described.

mainClass in reStart := Some("yyy.zzz.SubmitToSpark")

I apologize in advance if there is some obvious sbt wizardry I missed.
I am probably neither the first nor the last to note that sbt has a step
learning curve.

Most importantly, thank you for sbt-revolver. It is saving me time already.

@jrudolph
Copy link
Member

Thanks, @LeeTibbert. Very good point. We need to go through all the code examples and see if they still work or fix them otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants