Wiki source code of JShell
Last modified by David De La Harpe Golden on 2019/03/09 20:54
Hide last authors
author | version | line-number | content |
---|---|---|---|
2.1 | 1 | Handy alias to launch JShell with Maven dependencies on the java classpath: | |
1.1 | 2 | ||
4.1 | 3 | {{code language="sh"}} | |
1.1 | 4 | ||
3.1 | 5 | alias mvn-jshell='jshell --class-path $(mvn -q exec:exec -Dexec.executable=echo -Dexec.classpathScope=test -Dexec.args="%classpath")' | |
6 | |||
4.1 | 7 | {{/code}} |