Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 841 Bytes

old_readme.md

File metadata and controls

29 lines (19 loc) · 841 Bytes

How to run

./mvnw compile exec:java -Dexec.mainClass="tech.catheu.jnotebook.Main"

run with dependencies in the class-path

Use --class-path or -cp like with java.

Use maven dependencies

Make sure your project is built with mvn install. If there is a pom.xml file where jNotebook is launched, jNotebook tries to add the maven runtime dependencies to the classpath.

For more fined grained control, use the following:

java -jar jNotebook.jar --class-path $(./mvnw -q exec:exec -pl 'jnotebook-core' -Dexec.executable=echo -Dexec.args="%classpath")

Use -pl to control which module classpath you want. Use ... to include test dependencies.

Use gradle dependencies

This is undocumented. Please contribute!

Developer

Set the log level to DEBUG:

-Dorg.slf4j.simpleLogger.defaultLogLevel=debug