Skip to content

Commit

Permalink
[bugfix] Warn if no <target> is found in an EXPath packages's repo.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Jan 3, 2018
1 parent f5fe8ca commit b20ad0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/exist/repo/Deployment.java
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ public Optional<String> deploy(final String pkgName, final Optional<ExistReposit
} catch (final IllegalArgumentException e) {
throw new PackageException("Bad collection URI for <target> element: " + targetPath.get(), e);
}
} else {
LOG.warn("EXPath Package '" + pkgName + "' does not contain a <target> in its repo.xml, no files will be deployed to /apps");
}
}

Expand Down

0 comments on commit b20ad0c

Please sign in to comment.