From 9723dbb03d168dbe1b6a11b28da7aa9e4d37ad33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Galland?= Date: Thu, 25 Jan 2018 17:58:27 +0100 Subject: [PATCH] [docs] Provide explanations on the --jar option for janus. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Galland --- .../documentation/gettingstarted/RunSARLAgentCLI.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/io.sarl.docs.markdown/src/main/documentation/gettingstarted/RunSARLAgentCLI.md b/docs/io.sarl.docs.markdown/src/main/documentation/gettingstarted/RunSARLAgentCLI.md index dd8f0a4384..a2bf6fb616 100644 --- a/docs/io.sarl.docs.markdown/src/main/documentation/gettingstarted/RunSARLAgentCLI.md +++ b/docs/io.sarl.docs.markdown/src/main/documentation/gettingstarted/RunSARLAgentCLI.md @@ -38,6 +38,16 @@ The janus command-line tool provides options that will enable you to tune the la [:januscmd!] --help +One of the command-line options that is usually mandatory is the [:janusjaroption](--jar) option, which enables you to specify the jar files that contains your application: + + + [:januscmd!] [:janusjaroption!] path/to/myapp.jar [:janusagent!] + + +If the [:januscmd:] script indicates to you an error "agent not found", most of the time it is because your application's jar file is not on the class path. +The [:janusjaroption!] option becomes mandatory for specifying the jar file. + + ## Use the standard java method ### Boot of Janus