Skip to content

Commit c11d76a

Browse files
committed
Update the messages describing generate features in the hot key help
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
1 parent b04e985 commit c11d76a

File tree

1 file changed

+11
-4
lines changed
  • src/main/java/io/openliberty/tools/common/plugins/util

1 file changed

+11
-4
lines changed

src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,13 +2605,20 @@ private void printFeatureGenerationHotkeys() {
26052605
info(formatAttentionMessage(
26062606
"g - toggle the automatic generation of features, type 'g' and press Enter."));
26072607
info(formatAttentionMessage(
2608-
" A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory."));
2609-
info(formatAttentionMessage("s - generate features to src directory, type 's' and press Enter."));
2608+
" A new server configuration file will be generated in the configDropins/overrides configuration directory"));
2609+
info(formatAttentionMessage(
2610+
" in either the build output directory or in the application source configuration directory."));
2611+
info(formatAttentionMessage("s - toggle the generation of features to src configuration directory, type 's' and press Enter."));
26102612
if (generateFeatures) {
26112613
// If generateFeatures is enabled, then also describe the optimize hotkey
26122614
info(formatAttentionMessage("o - optimize the list of generated features, type 'o' and press Enter."));
2613-
info(formatAttentionMessage(
2614-
" A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory."));
2615+
if (generateToSrc) {
2616+
info(formatAttentionMessage(
2617+
" A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory."));
2618+
} else {
2619+
info(formatAttentionMessage(
2620+
" A new server configuration file will be generated in the build output configDropins/overrides configuration directory."));
2621+
}
26152622
}
26162623
}
26172624

0 commit comments

Comments
 (0)