Closed Binhao-Wang closed 4 years ago
(base) bhwang@Thinkpad:~/sbttest/foo-build$ sbt "run-main org.allenai.pdffigures2.FigureExtractorBatchCli ~/sbttest/foo-build/zhou2019.pdf"
[info] welcome to sbt 1.3.12 (Oracle Corporation Java 1.8.0_251) [info] loading project definition from /home/bhwang/sbttest/foo-build/project [info] loading settings for project foo-build from build.sbt ... [info] set current project to foo-build (in build file:/home/bhwang/sbttest/foo-build/) [error] Expected ';' [error] run-main org.allenai.pdffigures2.FigureExtractorBatchCli ~/sbttest/foo-build/zhou2019.pdf [error]
Use "runMain" instead of "run-main". This wil fix this ';' error.
(base) bhwang@Thinkpad:~/sbttest/foo-build$ sbt "run-main org.allenai.pdffigures2.FigureExtractorBatchCli ~/sbttest/foo-build/zhou2019.pdf"
[info] welcome to sbt 1.3.12 (Oracle Corporation Java 1.8.0_251) [info] loading project definition from /home/bhwang/sbttest/foo-build/project [info] loading settings for project foo-build from build.sbt ... [info] set current project to foo-build (in build file:/home/bhwang/sbttest/foo-build/) [error] Expected ';' [error] run-main org.allenai.pdffigures2.FigureExtractorBatchCli ~/sbttest/foo-build/zhou2019.pdf [error]