Probably the most useful SBT tip I'll ever give: java -cp $(cat .cp || sbt 'export runtime:fullClasspath' | tail -n1 | tee .cp) <main-class>
It's the entire class path (colon-separated) of your project. Does that answer the question?
-
-
Oh, totally makes sense. I was just surprised that the tail was needed. But sbt does like to spam on startup so that makes sense. Thank!
-
Yeah, I think that spam is unavoidable. By the time you get a chance to tell it not to, it's already too late.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.