From fcdf77afeb992efad79ffa56e96195a6a3939d8d Mon Sep 17 00:00:00 2001 From: gjoranv Date: Mon, 18 Feb 2019 15:17:31 +0100 Subject: Remove references to the jdisc_start script. --- .../src/main/resources/configdefinitions/qr-start.def | 4 ++-- .../main/java/com/yahoo/jdisc/application/package-info.java | 12 +----------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/container-search/src/main/resources/configdefinitions/qr-start.def b/container-search/src/main/resources/configdefinitions/qr-start.def index 30983b4bcc7..9f92c5001ba 100644 --- a/container-search/src/main/resources/configdefinitions/qr-start.def +++ b/container-search/src/main/resources/configdefinitions/qr-start.def @@ -37,8 +37,8 @@ qrs.env string default="" restart ## Set ulimit -v in start script? this is mainly a safeguard against JNI stuff leaking memory. ulimitv string default="" restart -## Extra class path entries, forwarded to jdisc_start. Overrides the corresponding env setting. +## Extra class path entries, forwarded to vespa-start-container_daemon. Overrides the corresponding env setting. jdisc.classpath_extra string default="" restart -## Extra export packages entries, forwarded to jdisc_start. Overrides the corresponding env setting. +## Extra export packages entries, forwarded to vespa-start-container_daemon. Overrides the corresponding env setting. jdisc.export_packages string default="" restart diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/application/package-info.java b/jdisc_core/src/main/java/com/yahoo/jdisc/application/package-info.java index c856712e1af..e650dfc6328 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/application/package-info.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/application/package-info.java @@ -80,7 +80,7 @@ void reconfigureApplication() { * It is fairly tricky to get this right during integration testing, since dependencies might be part of the build * tree instead of being installed on the host. To facilitate this, JDisc will prefix any non-schemed location (e.g. * "my_dependency.jar") with the system property "jdisc.bundle.path". This property defaults to the current - * directory when running inside an IDE, but is set to "$VESPA_HOME/lib/jars/" by the jdisc_start script. + * directory when running inside an IDE, but is set to "$VESPA_HOME/lib/jars/" by the jdisc startup scripts. * * One may also reference system properties in a bundle location using the syntax "${propertyName}". If the property * is not found, it defaults to an empty string. @@ -116,16 +116,6 @@ void reconfigureApplication() { $ install myapp_jar $ set jdisc.application="myapp.jar" $ restart jdisc - - * - * For testing and development, the jDISC binary also supports command line parameters to start and stop a local - * application. - * -
-$ install jdisc-dev
-$ emacs src/main/java/edu/disc/MyApplication.java
-$ mvn install
-$ sudo jdisc_start target/myapp.jar
 
* *

It is the responsibility of the Application itself to create, configure -- cgit v1.2.3