Skip to content

Commit

Permalink
Fix #212 by looking for both /catalog.xml and /META-INF/catalog.xml i…
Browse files Browse the repository at this point in the history
…n jar files
  • Loading branch information
ndw committed May 28, 2015
1 parent 218dc8b commit 59bc06d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/xmlcalabash/core/XProcConfiguration.java
Expand Up @@ -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
}
Expand Down

0 comments on commit 59bc06d

Please sign in to comment.