Permalink
Browse files

Fix #212 by looking for both /catalog.xml and /META-INF/catalog.xml …

…in jar files
  • Loading branch information...
ndw committed May 28, 2015
1 parent 218dc8b commit 59bc06d7b66eb58fbb44fd31e30c0d7cf9ddc80e
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/com/xmlcalabash/core/XProcConfiguration.java
@@ -220,6 +220,10 @@ private void init() {
if (catalog != null) {
catalogs.add("jar:file://" + s + "!/catalog.xml");
}
+ catalog = jar.getEntry("META-INF/catalog.xml");
+ if (catalog != null) {
+ catalogs.add("jar:file://" + s + "!/META-INF/catalog.xml");
+ }
} catch (IOException e) {
// nevermind
}

0 comments on commit 59bc06d

Please sign in to comment.