You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2017/03/09 23:40:51 UTC

geode git commit: Add more info on deprecation of status/stop commands

Repository: geode
Updated Branches:
  refs/heads/feature/GEODE-2594 dc3d032d9 -> 260d85ddd


Add more info on deprecation of status/stop commands


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/260d85dd
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/260d85dd
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/260d85dd

Branch: refs/heads/feature/GEODE-2594
Commit: 260d85dddea3f78845c4195f647a0f0749b99d4a
Parents: dc3d032
Author: Kirk Lund <kl...@apache.org>
Authored: Thu Mar 9 15:40:29 2017 -0800
Committer: Kirk Lund <kl...@apache.org>
Committed: Thu Mar 9 15:40:29 2017 -0800

----------------------------------------------------------------------
 .../management/internal/cli/i18n/CliStrings.java      |  8 ++++----
 .../cli/commands/golden-help-offline.properties       | 14 ++++++++------
 2 files changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/260d85dd/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java b/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
index 9b1477d..2a2e02b 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
@@ -2722,7 +2722,7 @@ public class CliStrings {
       "Member name or ID of the Locator in the Geode cluster.";
   public static final String STATUS_LOCATOR__PID = "pid";
   public static final String STATUS_LOCATOR__PID__HELP =
-      "Process ID (PID) of the running Locator. Deprecated: Since Geode1.2, use --dir instead.";
+      "Process ID (PID) of the running Locator. Deprecated: Since Geode1.2, requires the JDK tools.jar which is not included on the classpath by default. Use --dir instead.";
   public static final String STATUS_LOCATOR__PORT = "port";
   public static final String STATUS_LOCATOR__PORT__HELP =
       "Port on which the Locator is listening. The default is 10334.";
@@ -2746,7 +2746,7 @@ public class CliStrings {
       "No Geode Cache Server with member name or ID {0} could be found.";
   public static final String STATUS_SERVER__PID = "pid";
   public static final String STATUS_SERVER__PID__HELP =
-      "Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, use --dir instead.";
+      "Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, requires the JDK tools.jar which is not included on the classpath by default. Use --dir instead.";
 
   /* stop gateway-reciver */
   public static final String STOP_GATEWAYRECEIVER = "stop gateway-receiver";
@@ -2783,7 +2783,7 @@ public class CliStrings {
       "Member name or ID of the Locator in the Geode cluster.";
   public static final String STOP_LOCATOR__PID = "pid";
   public static final String STOP_LOCATOR__PID__HELP =
-      "The process id (PID) of the running Locator. Deprecated: Since Geode1.2, use --dir instead.";
+      "The process id (PID) of the running Locator. Deprecated: Since Geode1.2, requires the JDK tools.jar which is not included on the classpath by default. Use --dir instead.";
   public static final String STOP_LOCATOR__GENERAL_ERROR_MESSAGE =
       "An error occurred while attempting to stop a Locator: %1$s";
   public static final String STOP_LOCATOR__LOCATOR_IS_CACHE_SERVER_ERROR_MESSAGE =
@@ -2814,7 +2814,7 @@ public class CliStrings {
       "No Cache Server with member name or ID {0} could be found.";
   public static final String STOP_SERVER__PID = "pid";
   public static final String STOP_SERVER__PID__HELP =
-      "Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, use --dir instead.";
+      "Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, requires the JDK tools.jar which is not included on the classpath by default. Use --dir instead.";
   public static final String STOP_SERVER__SHUTDOWN_MEMBER_MESSAGE =
       "Cache Server {0} has been requested to stop.";
   public static final String STOP_SERVER__STOPPING_SERVER_MESSAGE =

http://git-wip-us.apache.org/repos/asf/geode/blob/260d85dd/geode-core/src/test/resources/org/apache/geode/management/internal/cli/commands/golden-help-offline.properties
----------------------------------------------------------------------
diff --git a/geode-core/src/test/resources/org/apache/geode/management/internal/cli/commands/golden-help-offline.properties b/geode-core/src/test/resources/org/apache/geode/management/internal/cli/commands/golden-help-offline.properties
index 6690520..4cd8217 100644
--- a/geode-core/src/test/resources/org/apache/geode/management/internal/cli/commands/golden-help-offline.properties
+++ b/geode-core/src/test/resources/org/apache/geode/management/internal/cli/commands/golden-help-offline.properties
@@ -2874,7 +2874,8 @@ PARAMETERS\n\
 \ \ \ \ \ \ \ \ Port on which the Locator is listening. The default is 10334.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ pid\n\
-\ \ \ \ \ \ \ \ Process ID (PID) of the running Locator. Deprecated: Since Geode1.2, use --dir instead.\n\
+\ \ \ \ \ \ \ \ Process ID (PID) of the running Locator. Deprecated: Since Geode1.2, requires the JDK\n\
+\ \ \ \ \ \ \ \ tools.jar which is not included on the classpath by default. Use --dir instead.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ dir\n\
 \ \ \ \ \ \ \ \ Working directory in which the Locator is running. The default is the current directory.\n\
@@ -2894,8 +2895,8 @@ PARAMETERS\n\
 \ \ \ \ \ \ \ \ Member name or ID of the Cache Server in the Geode cluster.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ pid\n\
-\ \ \ \ \ \ \ \ Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, use --dir\n\
-\ \ \ \ \ \ \ \ instead.\n\
+\ \ \ \ \ \ \ \ Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, requires\n\
+\ \ \ \ \ \ \ \ the JDK tools.jar which is not included on the classpath by default. Use --dir instead.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ dir\n\
 \ \ \ \ \ \ \ \ Working directory in which the Cache Server is running. The default is the current\n\
@@ -2953,7 +2954,8 @@ PARAMETERS\n\
 \ \ \ \ \ \ \ \ Member name or ID of the Locator in the Geode cluster.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ pid\n\
-\ \ \ \ \ \ \ \ The process id (PID) of the running Locator. Deprecated: Since Geode1.2, use --dir instead.\n\
+\ \ \ \ \ \ \ \ The process id (PID) of the running Locator. Deprecated: Since Geode1.2, requires the JDK\n\
+\ \ \ \ \ \ \ \ tools.jar which is not included on the classpath by default. Use --dir instead.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ dir\n\
 \ \ \ \ \ \ \ \ Working directory in which the Locator is running. The default is the current directory.\n\
@@ -2982,8 +2984,8 @@ PARAMETERS\n\
 \ \ \ \ \ \ \ \ Member name or ID of the Cache Server in the Geode cluster.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ pid\n\
-\ \ \ \ \ \ \ \ Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, use --dir\n\
-\ \ \ \ \ \ \ \ instead.\n\
+\ \ \ \ \ \ \ \ Process ID (PID) of the running Geode Cache Server. Deprecated: Since Geode1.2, requires\n\
+\ \ \ \ \ \ \ \ the JDK tools.jar which is not included on the classpath by default. Use --dir instead.\n\
 \ \ \ \ \ \ \ \ Required: false\n\
 \ \ \ \ dir\n\
 \ \ \ \ \ \ \ \ Working directory in which the Cache Server is running. The default is the current\n\