Skip to content

Commit 085c184

Browse files
authored
alter xpath to be able to locate JDeveloper PSU releases (#235)
1 parent 245779f commit 085c184

File tree

1 file changed

+1
-1
lines changed
  • imagetool/src/main/java/com/oracle/weblogic/imagetool/aru

1 file changed

+1
-1
lines changed

imagetool/src/main/java/com/oracle/weblogic/imagetool/aru/AruUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ private String getReleaseNumber(AruProduct product, String version, String userI
333333
String result;
334334
Document allReleases = getAllReleases(userId, password);
335335

336-
String expression = String.format("string(/results/release[starts-with(text(), '%s')][@name = '%s']/@id)",
336+
String expression = String.format("string(/results/release[starts-with(text(), '%s %s')]/@id)",
337337
product.description(), version);
338338
try {
339339
result = XPathUtil.string(allReleases, expression);

0 commit comments

Comments
 (0)