Skip to content

Commit 2903f94

Browse files
committed
tmp
1 parent 64541ea commit 2903f94

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

ui/org.eclipse.pde.genericeditor.extension.tests/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Tests for Generic Target Platform Editor
44
Bundle-SymbolicName: org.eclipse.pde.genericeditor.extension.tests
5-
Bundle-Version: 1.3.100.qualifier
5+
Bundle-Version: 1.3.200.qualifier
66
Bundle-Vendor: Eclipse.org
77
Bundle-RequiredExecutionEnvironment: JavaSE-21
88
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.29.0,4.0.0)",

ui/org.eclipse.pde.genericeditor.extension.tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<relativePath>../../</relativePath>
1919
</parent>
2020
<artifactId>org.eclipse.pde.genericeditor.extension.tests</artifactId>
21-
<version>1.3.100-SNAPSHOT</version>
21+
<version>1.3.200-SNAPSHOT</version>
2222
<packaging>eclipse-test-plugin</packaging>
2323

2424
<properties>

ui/org.eclipse.pde.genericeditor.extension.tests/src/org/eclipse/pde/genericeditor/extension/tests/UpdateUnitVersionsCommandTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ private Map<String, String> getVersionsForIdsFromTargetFile(String targetFile) {
7777

7878
private void confirmVersionUpdates(Map<String, String> expected) throws Exception {
7979

80+
System.out.println("running command");
8081
Command command = service.getCommand("org.eclipse.pde.updateUnitVersions");
8182
Object response = command.executeWithChecks(new ExecutionEvent());
8283
@SuppressWarnings("unchecked")

ui/org.eclipse.pde.genericeditor.extension/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.pde.genericeditor.extension;singleton:=true
5-
Bundle-Version: 1.3.200.qualifier
5+
Bundle-Version: 1.3.300.qualifier
66
Bundle-Localization: plugin
77
Require-Bundle: org.eclipse.core.runtime,
88
org.eclipse.jface.text,

ui/org.eclipse.pde.genericeditor.extension/src/org/eclipse/pde/internal/genericeditor/target/extension/command/UpdateUnitVersions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public Object execute(ExecutionEvent event) throws ExecutionException {
4848
// Logic placed in a CompletableFuture so that the progress monitors of the
4949
// cache update jobs are shown
5050
return CompletableFuture.supplyAsync(() -> {
51+
System.out.println("document: " + document);
5152
if (document == null) {
5253
return null;
5354
}
@@ -56,14 +57,19 @@ public Object execute(ExecutionEvent event) throws ExecutionException {
5657
try {
5758
parser.parse(document);
5859
} catch (XMLStreamException e) {
60+
e.printStackTrace(System.out);
5961
return null;
6062
}
6163
Node rootNode = parser.getRootNode();
64+
System.out.println("rootNode: " + rootNode);
6265
if (rootNode == null) {
66+
System.out.println("root node: " + rootNode);
6367
return null;
6468
}
6569
List<Node> locationsNode = rootNode.getChildNodesByTag(ITargetConstants.LOCATIONS_TAG);
70+
System.out.println("locationsNode: " + rootNode);
6671
if (locationsNode == null || locationsNode.isEmpty()) {
72+
System.out.println("no locations node");
6773
return null;
6874
}
6975

0 commit comments

Comments
 (0)