Skip to content

Commit

Permalink
changing message incorparate review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Arun Venmany <[email protected]>
  • Loading branch information
arunvenmany-ibm committed Nov 11, 2024
1 parent d9a2f34 commit 2f793d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ class DevTask extends AbstractFeatureTask {
throws PluginExecutionException {
// for multi module, unable to identify the changes made, showing option for user. return true to trigger recompile
if (isMultiModuleProject()) {
warn("A change was detected in a build file. The libertyDev task could not determine if a server restart is required.");
warn("A change was detected in a build file. The libertyDev task could not determine if a server restart is required. To restart server, type 'r' and press Enter.");
return true;
}
return false;
Expand All @@ -511,7 +511,7 @@ class DevTask extends AbstractFeatureTask {
public boolean updateArtifactPaths(File parentBuildFile) {
// for multi module, unable to identify the changes made, showing option for user. return true to trigger recompile
if (isMultiModuleProject()) {
warn("A change was detected in a build file. The libertyDev task could not determine if a server restart is required.");
warn("A change was detected in a build file. The libertyDev task could not determine if a server restart is required. To restart server, type 'r' and press Enter.");
return true;
}
return false;
Expand Down Expand Up @@ -544,7 +544,7 @@ class DevTask extends AbstractFeatureTask {
boolean optimizeGenerateFeatures = false;
// for multi module, unable to identify the changes made, showing option for user. return true to trigger recompile
if (isMultiModuleProject()) {
warn("A change was detected in a build file. The libertyDev task could not determine if a server restart is required.");
warn("A change was detected in a build file. The libertyDev task could not determine if a server restart is required. To restart server, type 'r' and press Enter.");
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {
javaWriter.append(str);
javaWriter.close();

if (!verifyLogMessage(123000, "A change was detected in a build file. The libertyDev task could not determine if a server restart is required.")) {
assertTrue(verifyLogMessage(123000, "A change was detected in a build file. The libertyDev task could not determine if a server restart is required."));
if (!verifyLogMessage(123000, "A change was detected in a build file. The libertyDev task could not determine if a server restart is required. To restart server, type 'r' and press Enter.")) {
assertTrue(verifyLogMessage(123000, "A change was detected in a build file. The libertyDev task could not determine if a server restart is required. To restart server, type 'r' and press Enter."));
}
}

Expand Down

0 comments on commit 2f793d9

Please sign in to comment.