Advertisement
valtih1978

sbt fails to compile anything

Nov 20th, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. C:\...\src>type vhdl_parser.scala
  2.  
  3. object use extends App {
  4. println ("fuck off")
  5. }
  6. C:\...\src>scalac vhdl_parser.scala
  7.  
  8. C:\...\src>scala use
  9. fuck off
  10.  
  11. C:\...\src>sbt
  12. Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
  13. [info] Set current project to src (in build file:C:/.../src/)
  14. [INFO] Unable to bind key for unsupported operation: display-shell-version
  15. > run
  16. [warn] No main class detected
  17. java.lang.RuntimeException: No main class detected.
  18. at scala.sys.package$.error(package.scala:27)
  19. [trace] Stack trace suppressed: run last compile:run for the full output.
  20. [error] (compile:run) No main class detected.
  21. [error] Total time: 0 s, completed 20.11.2015 17:42:26
  22. [INFO] Unable to bind key for unsupported operation: display-shell-version
  23. > [INFO] Unable to bind key for unsupported operation: display-shell-version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement