Skip to content

Commit

Permalink
Avoid unnecessary war:exploded calls for mere recompilation of Java c…
Browse files Browse the repository at this point in the history
…lasses

Signed-off-by: Scott Kurz <[email protected]>
  • Loading branch information
scottkurz committed Aug 11, 2023
1 parent 09c8274 commit 9369ede
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4082,9 +4082,6 @@ private void processFileChanges(
}
}
}
// Update the loose app in case something changed
updateLooseApp();

} else if (upstreamResourceParent != null
&& directory.startsWith(upstreamResourceParent.getCanonicalFile().toPath())) { // resources
debug("Resource dir: " + upstreamResourceParent.toString());
Expand Down Expand Up @@ -4233,8 +4230,6 @@ private void processFileChanges(
triggerJavaTestRecompile = true;
}
}
// Update the loose app in case something changed
updateLooseApp();
runTestThread(true, executor, numApplicationUpdatedMessages, skipUTs, false, buildFile);
}
} else if (fileChanged.equals(dockerfileUsed)
Expand Down Expand Up @@ -4998,8 +4993,6 @@ protected boolean recompileJava(Collection<File> javaFilesChanged, Set<String> a
// redeploy app after compilation if not loose application
if (!isLooseApplication()) {
redeployApp();
} else {
updateLooseApp();
}
if (projectName != null) {
info(projectName + " source compilation was successful.");
Expand Down

0 comments on commit 9369ede

Please sign in to comment.