Command line options (Bozza) |
|
|
When starded with no option [JSup] will show the [JSup Application menu|Application menu].
In [JSup production installation and configuration|production environment] it's better to not show the [JSup Application menu|Application menu], but to [JSup Create link to application|create a link to run the application].
Run JSup as a client
To create a link to run [JSup] in [JSup execution modes|client mode]:
- copy the standard [JSup] link (created in the Windows Starts menu when [JSup download and install|JSup was installed]) where you want.
- edit the copied link and add the following parameters to its command line:
-clientOf <serverAddress> where serverAddress is the [http://en.wikipedia.org/wiki/Ip_address|IP address] or the [http://en.wikipedia.org/wiki/Domain_Name_System|DNS] [http://en.wikipedia.org/wiki/Hostname|hostname] of the host where the [JSup execution modes|JSup server] is running (to connect with a [JSup execution modes|server] instance that is running and the same PC/Server you can use 127.0.0.1 (as IP) or localhost (as hostname).
Run JSup as a service
See [Run JSup as a service].
Command line reference
The following options can be used to customize the execution mode of [JSup].
Options
|
Description
|
---|
-appdir <application dir>
|Specify the JSup application [JSup application#Directory|dir] or [JSup application#Compressed file|archive] (if not specified the [application menu|Application menu] will be displayed), path that contains spaces must be quoted.
|
-run
|
Specify that the application must be started in runtime instead for edit (must be used with the -appdir option)
|
-clientOf <server address>
|
Connect as client of the specified server (server address can be an ip address or a host name)
|
-justShutdownServer
|
Must follow -clientOf option, does not start the client but only shutdown the specified JSup server
|
-serverOnly
|
server only] instance of JSup (no user interface, client needed)
|
-serverAddr <address>
|
Specify the ip address the server will listen for connection from clients (all availables addresses by default)
|
-serverPort <port number>
|
Specify the server listening TCP port (must be used with the same port number both on server and client, default is 945)
|
-httpServerPort <port number>
|
application specific port])
|
-outputFilePrefix <prefix>
|Specify the [JSup standard output file|output file] prefix for standard output recording: '.out' suffix will be added to current output file in current directory, if 'logs' subdir exists then previous execution file will be compressed there, [JSup execution modes|service] default prefix is 'service'
|
-disableAutoOutputFile
|
Disable the creation of the [JSup standard output file].
|
-showTitleBar
|
application option]).
|
-hideTitleBar
|
application option]).
|
-singleInstance "<app name>"
|
Force to run a single user interface of an application on the current desktop, if exising window is found then it will be showed instead of running a new instance.
|
|