i want able specify main class use when running sbt project command line without having select list on example:
[warn] multiple main classes detected. run 'show discoveredmainclasses' see list multiple main classes detected, select 1 run: [1] sample.stream.basictransformation [2] sample.stream.grouplogfile [3] sample.stream.tcpecho [4] sample.stream.writeprimes enter number:
to run specific class command is:
sbt "runmain my.class.name param1 param2"
Comments
Post a Comment