Last active
November 12, 2018 10:10
-
-
Save Miopas/2311df888d8e6038e8fb7ad45f9573b3 to your computer and use it in GitHub Desktop.
mvn/sbt runmain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mvn run main | |
# 网上的例子给的是:mvn exec:java -D"exec.mainClass"="com.example.Main",但是我这边是去掉 Main 才能跑通 | |
mvn exec:java -D"exec.mainClass"="com.example" | |
# sbt run main (background) | |
setsid nohup sbt -mem 2048 "runMain example.YourClassName ${dataSet} ${normOutput}" > norm.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment