Skip to content

Commit

Permalink
changes for multi restart issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arunvenmany-ibm committed Dec 23, 2024
1 parent 315e5c6 commit cb46259
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4025,10 +4025,10 @@ private void initWatchLoop() throws IOException {
if (isMultiModuleProject()) {
for (ProjectModule project : upstreamProjects) {
if (compileMojoError) {
info("Recompile "+project.getProjectName()+ " due to an earlier compilation error");
info("Recompile " + project.getProjectName() + " due to an earlier compilation error");
triggerUpstreamModuleCompile(project, false);
} else {
info("Recompile skipped for "+project.getProjectName()+ " since earlier compilation is successful");
info("Recompile skipped for " + project.getProjectName() + " since earlier compilation is successful");
}
// build file tracking of upstream projects
lastBuildFileChange.put(project.getBuildFile(), System.currentTimeMillis());
Expand All @@ -4037,11 +4037,11 @@ private void initWatchLoop() throws IOException {

// initial source and test compile
if (compileMojoError) {
info("Recompile "+getProjectName()+ " due to an earlier compilation error");
info("Recompile " + getProjectName() + " due to an earlier compilation error");
triggerMainModuleCompile(false);
// build file tracking of main project
} else {
info("Recompile skipped for "+getProjectName()+ " since earlier compilation is successful");
info("Recompile skipped for " + getProjectName() + " since earlier compilation is successful");
}
lastBuildFileChange.put(buildFile, System.currentTimeMillis());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ public DevTestUtil(File serverDirectory, File sourceDirectory, File testSourceDi
List<File> resourceDirs, List<Path> webResourceDirs, boolean hotTests, boolean skipTests) throws IOException {
super(temp.newFolder(), serverDirectory, sourceDirectory, testSourceDirectory, configDirectory, null, null,
resourceDirs, false, hotTests, skipTests, false, false, false, null, 30, 30, 5, 500, true, false, false, false,
false, null, null, null, 0, false, null, false, null, null, false, null, null, null, false, null, null, webResourceDirs,true);
false, null, null, null, 0, false, null, false, null, null, false, null, null, null, false, null, null, webResourceDirs, true);
}

public DevTestUtil(File serverDirectory, File buildDir) {
super(buildDir, serverDirectory, null, null, null, null, null,
null, false, false, false, false, false, false, null, 30, 30, 5, 500, true, false, false, false,
false, null, null, null, 0, false, null, false, null, null, false, null, null, null, false, null, null, null,true);
false, null, null, null, 0, false, null, false, null, null, false, null, null, null, false, null, null, null, true);
}

@Override
Expand Down

0 comments on commit cb46259

Please sign in to comment.