Bug 647: Use bin/karaf arguments as JVM arguments 62/47062/2
authorVratko Polak <vrpolak@cisco.com>
Tue, 18 Oct 2016 10:30:18 +0000 (12:30 +0200)
committerStephen Kitt <skitt@redhat.com>
Mon, 24 Oct 2016 15:03:50 +0000 (15:03 +0000)
commitf9fdd6a4ed1065a3925835c89748290546b6979c
treec2af6c565eafec457d16db719651326aed71ed05
parent4cad6322b64ebbd37ffb6341370985e45c6eca70
Bug 647: Use bin/karaf arguments as JVM arguments

This is just a convenience for users,
so that they do not have to manipulate JAVA_OPTS.

Using JAVA_OPTS requires user to know DEFAULT_JAVA_OPTS,
this change only appends to default options (possibly overriding them).

Example usage:
$ bin/karaf -Xmx4g -DmySystemProperty=foo

Change-Id: Ice07a9c3a2c9455d622722498f3433501091728e
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
karaf/opendaylight-karaf-resources/src/main/resources/bin/karaf