BAXTER-IT / yurconf

Baxter Configuration Server
http://www.yurconf.org/
0 stars 1 forks source link

Use command line parameters to launch Yurconf Server #19

Closed ykryshchuk closed 9 years ago

ykryshchuk commented 9 years ago

Command line parameters should be used to set up Yurconf Server instead of system properties.

There is args4j library for this purpose.

ykryshchuk commented 9 years ago

The usage is

 [-c (--context) context] [-h (--host) host] [-l (--location) location] [-p (--port) port] [-r (--repository) repository]
 -c (--context) context       : Yurconf Server context name, defauls to '/'
 -h (--host) host             : Host name to bind Yurconf Server, default is
                                '0.0.0.0'
 -l (--location) location     : Location of Configuration Processor Archives.
                                Multiple options allowed.
 -p (--port) port             : Port to listen by Yurconf Server, default is
                                '4040'
 -r (--repository) repository : Yurconf Repository Root. Default is
                                '~/.yurconf/repository'
ykryshchuk commented 9 years ago

start scripts have been adjusted