Skip to content

Commit

Permalink
Update message to not say clean is required
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Feb 21, 2024
1 parent 295a900 commit f0d36c4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ public boolean recompileBuildFile(File buildFile, Set<String> compileArtifactPat
// artifact that gets installed would be different. This can happen when using 'libertyRuntime' for example and
// only changing the 'version'.
reinstallLiberty = true;
getLog().error("A change in Liberty runtime installation configuration requires a 'clean'. Stopping dev mode.");
getLog().error("A change in Liberty runtime installation configuration requires a restart of dev mode. Stopping dev mode.");
}
if (hasServerPropertyChanged(project, backupProject)) {
restartServer = true;
Expand All @@ -1027,7 +1027,7 @@ public boolean recompileBuildFile(File buildFile, Set<String> compileArtifactPat
// only changing the 'version'.
//throw new PluginExecutionException("A change in Liberty runtime installation configuration requires a 'clean'. After running the 'clean' goal, please run the 'dev' goal again for the change to take effect.");
reinstallLiberty = true;
getLog().error("A change in Liberty runtime installation configuration requires a 'clean'. Stopping dev mode.");
getLog().error("A change in Liberty runtime installation configuration requires a restart of dev mode. Stopping dev mode.");
}
}
}
Expand Down Expand Up @@ -1120,7 +1120,7 @@ public boolean recompileBuildFile(File buildFile, Set<String> compileArtifactPat
project = backupProject;
session.setCurrentProject(backupProject);
util.stopServer();
throw new PluginExecutionException("A change in Liberty runtime installation configuration requires a 'clean'. After running the 'clean' goal, please run the 'dev' goal again for the change to take effect.");
throw new PluginExecutionException("A change in Liberty runtime installation configuration requires a restart of dev mode. Please run the 'dev' goal again for the change to take effect.");
} else if (restartServer) {
// - stop Server
// - create server or runBoostMojo
Expand Down

0 comments on commit f0d36c4

Please sign in to comment.