From d374b171c04a503855f686980c3c8d545be03fab Mon Sep 17 00:00:00 2001 From: Paul Gooderham Date: Tue, 24 Jun 2025 10:51:24 -0400 Subject: [PATCH] Update the messages describing generate features in the hot key help Signed-off-by: Paul Gooderham --- .../tools/common/plugins/util/DevUtil.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java index 1751b628..622799b2 100644 --- a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java +++ b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java @@ -2605,13 +2605,20 @@ private void printFeatureGenerationHotkeys() { info(formatAttentionMessage( "g - toggle the automatic generation of features, type 'g' and press Enter.")); info(formatAttentionMessage( - " A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory.")); - info(formatAttentionMessage("s - generate features to src directory, type 's' and press Enter.")); + " A new server configuration file will be generated in the configDropins/overrides configuration directory")); + info(formatAttentionMessage( + " in either the build output directory or in the application source configuration directory.")); + info(formatAttentionMessage("s - toggle the generation of features to src configuration directory, type 's' and press Enter.")); if (generateFeatures) { // If generateFeatures is enabled, then also describe the optimize hotkey info(formatAttentionMessage("o - optimize the list of generated features, type 'o' and press Enter.")); - info(formatAttentionMessage( - " A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory.")); + if (generateToSrc) { + info(formatAttentionMessage( + " A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory.")); + } else { + info(formatAttentionMessage( + " A new server configuration file will be generated in the build output configDropins/overrides configuration directory.")); + } } }