From 9369ede0384760373bf694acddde92894c271b98 Mon Sep 17 00:00:00 2001 From: Scott Kurz Date: Fri, 11 Aug 2023 15:54:01 -0400 Subject: [PATCH] Avoid unnecessary war:exploded calls for mere recompilation of Java classes Signed-off-by: Scott Kurz --- .../io/openliberty/tools/common/plugins/util/DevUtil.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java index 150841a8..e307dea4 100644 --- a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java +++ b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java @@ -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()); @@ -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) @@ -4998,8 +4993,6 @@ protected boolean recompileJava(Collection javaFilesChanged, Set a // redeploy app after compilation if not loose application if (!isLooseApplication()) { redeployApp(); - } else { - updateLooseApp(); } if (projectName != null) { info(projectName + " source compilation was successful.");