Added more logging

This commit is contained in:
Erik C. Thauvin 2023-10-30 15:05:22 -07:00
parent af828201ce
commit 9260fa5068
3 changed files with 29 additions and 14 deletions

View file

@ -76,6 +76,11 @@ public class BootWarOperation extends AbstractBootOperation<BootWarOperation> {
for (var jar : providedLibs_) {
Files.copy(jar.toPath(), boot_inf_lib_dir.toPath().resolve(jar.getName()));
if (jar.exists()) {
Files.copy(jar.toPath(), lib_provided_dir.toPath().resolve(jar.getName()));
} else if (LOGGER.isLoggable(Level.WARNING)) {
LOGGER.warning("ERROR: file not found: " + jar);
}
}
}