Skip to content

Commit 20053ff

Browse files
authored
Merge pull request #2269 from adamretter/hotfix/startconfig-xmldb-api-jar
Fix a regression with loading the XML:DB API Jar via bin/startup
2 parents 9bb2f06 + b6f3631 commit 20053ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/exist/start/LatestFileResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public String getResolvedFileName(final String filename) {
8080

8181
final String artifactId = Pattern.quote(uptoToken.substring(uptoToken.lastIndexOf(File.separatorChar) + 1));
8282
final String suffix = Pattern.quote(fileinfo[1]);
83-
final String patternString = '^' + artifactId + "(?:(?:[0-9]+(?:(?:\\.|_)[0-9]+)*)(?:-SNAPSHOT)?(?:-[0-9a-f]{7})?)" + suffix + '$';
83+
final String patternString = '^' + artifactId + "(?:(?:[0-9]+(?:(?:\\.|_)[0-9]+)*)(?:-SNAPSHOT)?(?:-patched)?(?:-[0-9a-f]{7})?)" + suffix + '$';
8484
final Pattern pattern = Pattern.compile(patternString);
8585
final Matcher matcher = pattern.matcher("");
8686

0 commit comments

Comments
 (0)