Skip to content

Commit

Permalink
fix #2490 check Fess-WebAppJar as a key
Browse files Browse the repository at this point in the history
  • Loading branch information
marevol committed Oct 8, 2020
1 parent 5f02aa3 commit c868eb4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ protected void processWebInfLib() throws LifecycleException {
final Manifest manifest = jarFile.getManifest();
if (manifest != null && manifest.getEntries() != null) {
final Attributes attributes = manifest.getMainAttributes();
if (attributes != null && attributes.get("Fess-WebAppJar") != null) {
if (attributes != null
&& (attributes.get("Fess-WebAppJar") != null || attributes.getValue("Fess-WebAppJar") != null)) {
createWebResourceSet(ResourceSetType.CLASSES_JAR, "/WEB-INF/classes", possibleJar.getURL(), "/");
}
}
Expand Down

0 comments on commit c868eb4

Please sign in to comment.