Skip to content

Commit 35390b9

Browse files
authored
Merge pull request #100 from merks/issue-95
Brute force update of the target platform to latest Orbit versions
2 parents 1349fb6 + fe15866 commit 35390b9

File tree

25 files changed

+624
-63
lines changed

25 files changed

+624
-63
lines changed

examples/bundles/com.mycorp.examples.osgi.async.consumer/launch/ExampleOSGIAsyncConsumer.generic.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<plugins>
2929
<plugin id="com.mycorp.examples.osgi.async"/>
3030
<plugin id="com.mycorp.examples.osgi.async.consumer"/>
31-
<plugin id="javax.servlet"/>
31+
<plugin id="jakarta.servlet.jsp-api"/>
3232
<plugin id="org.apache.commons.logging"/>
3333
<plugin id="org.apache.felix.gogo.command"/>
3434
<plugin id="org.apache.felix.gogo.runtime"/>

examples/bundles/com.mycorp.examples.osgi.async.impl/launch/ExampleOSGiAsync.generic.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<plugins>
2929
<plugin id="com.mycorp.examples.osgi.async"/>
3030
<plugin id="com.mycorp.examples.osgi.async.impl"/>
31-
<plugin id="javax.servlet"/>
31+
<plugin id="jakarta.servlet.jsp-api"/>
3232
<plugin id="org.apache.commons.logging"/>
3333
<plugin id="org.apache.felix.gogo.command"/>
3434
<plugin id="org.apache.felix.gogo.runtime"/>

examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.generic.etcd.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<plugin id="org.eclipse.osgi.services"/>
6363
<plugin id="org.eclipse.osgi.services.remoteserviceadmin"/>
6464
<plugin id="org.eclipse.osgi.util"/>
65-
<plugin id="org.json"/>
65+
<plugin id="json"/>
6666
</plugins>
6767

6868
<configurations>

examples/bundles/com.mycorp.examples.timeservice.consumer.ds.async/launch/TimeServiceConsumer.xmlrpc.zeroconf.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<plugins>
3131
<plugin id="com.mycorp.examples.timeservice.async"/>
3232
<plugin id="com.mycorp.examples.timeservice.consumer.ds.async"/>
33-
<plugin id="javax.servlet"/>
33+
<plugin id="jakarta.servlet.jsp-api"/>
3434
<plugin id="org.apache.commons.logging"/>
3535
<plugin id="org.apache.felix.gogo.command"/>
3636
<plugin id="org.apache.felix.gogo.runtime"/>

examples/bundles/com.mycorp.examples.timeservice.consumer.ds/launch/TimeServiceConsumer.generic.etcd.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<plugin id="org.eclipse.osgi.services"/>
6767
<plugin id="org.eclipse.osgi.services.remoteserviceadmin"/>
6868
<plugin id="org.eclipse.osgi.util"/>
69-
<plugin id="org.json"/>
69+
<plugin id="json"/>
7070
</plugins>
7171

7272
<configurations>

examples/bundles/com.mycorp.examples.timeservice.consumer.ds/launch/TimeServiceConsumer.xmlrpc.zeroconf.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<plugins>
3131
<plugin id="com.mycorp.examples.timeservice.async"/>
3232
<plugin id="com.mycorp.examples.timeservice.consumer.ds"/>
33-
<plugin id="javax.servlet"/>
33+
<plugin id="jakarta.servlet.jsp-api"/>
3434
<plugin id="org.apache.commons.logging"/>
3535
<plugin id="org.apache.felix.gogo.command"/>
3636
<plugin id="org.apache.felix.gogo.runtime"/>

examples/bundles/com.mycorp.examples.timeservice.host/launch/TimeServiceHost.generic.etcd.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<plugin id="org.eclipse.osgi.services"/>
6666
<plugin id="org.eclipse.osgi.services.remoteserviceadmin"/>
6767
<plugin id="org.eclipse.osgi.util"/>
68-
<plugin id="org.json"/>
68+
<plugin id="json"/>
6969
</plugins>
7070

7171
<configurations>

examples/bundles/com.mycorp.examples.timeservice.host/launch/TimeServiceHost.xmlrpc.zeroconf.product

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<plugins>
3737
<plugin id="com.mycorp.examples.timeservice.async"/>
3838
<plugin id="com.mycorp.examples.timeservice.host"/>
39-
<plugin id="javax.servlet"/>
39+
<plugin id="jakarta.servlet.jsp-api"/>
4040
<plugin id="org.apache.commons.commons-codec"/>
4141
<plugin id="org.apache.commons.logging"/>
4242
<plugin id="org.apache.felix.gogo.command"/>
@@ -80,7 +80,7 @@
8080
<plugin id="org.eclipse.osgi.services"/>
8181
<plugin id="org.eclipse.osgi.services.remoteserviceadmin"/>
8282
<plugin id="org.eclipse.osgi.util"/>
83-
<plugin id="org.json"/>
83+
<plugin id="json"/>
8484
</plugins>
8585

8686
<configurations>

examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/start/AccountStart.java

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
*****************************************************************************/
1313
package org.eclipse.ecf.internal.example.collab.start;
1414

15-
import java.util.Collection;
16-
import java.util.HashMap;
17-
import java.util.Iterator;
18-
import java.util.Map;
15+
import java.util.*;
1916
import org.eclipse.core.runtime.IStatus;
2017
import org.eclipse.core.runtime.Status;
2118
import org.eclipse.core.runtime.preferences.InstanceScope;
@@ -41,8 +38,7 @@ private String normalizeURI(String uri) {
4138

4239
public void removeConnectionDetails(ConnectionDetails cd) {
4340
try {
44-
Preferences preferences = new InstanceScope()
45-
.getNode(ClientPlugin.PLUGIN_ID);
41+
Preferences preferences = InstanceScope.INSTANCE.getNode(ClientPlugin.PLUGIN_ID);
4642
Preferences connections = preferences.node(SAVED);
4743
String[] targets = connections.childrenNames();
4844
for (int i = 0; i < targets.length; i++) {
@@ -55,10 +51,7 @@ public void removeConnectionDetails(ConnectionDetails cd) {
5551
}
5652
connections.flush();
5753
} catch (BackingStoreException e) {
58-
ClientPlugin.getDefault().getLog().log(
59-
new Status(IStatus.ERROR, ClientPlugin.PLUGIN_ID,
60-
BACKING_STORE_LOAD_ERROR,
61-
Messages.AccountStart_EXCEPTION_LOADING_CONNECTION_DETAILS, e));
54+
ClientPlugin.getDefault().getLog().log(new Status(IStatus.ERROR, ClientPlugin.PLUGIN_ID, BACKING_STORE_LOAD_ERROR, Messages.AccountStart_EXCEPTION_LOADING_CONNECTION_DETAILS, e));
6255
}
6356
}
6457

@@ -67,13 +60,11 @@ public Collection getConnectionDetails() {
6760
}
6861

6962
public void saveConnectionDetailsToPreferenceStore() {
70-
Preferences preferences = new InstanceScope()
71-
.getNode(ClientPlugin.PLUGIN_ID);
63+
Preferences preferences = InstanceScope.INSTANCE.getNode(ClientPlugin.PLUGIN_ID);
7264
Preferences connections = preferences.node(SAVED);
7365
for (Iterator i = connectionDetails.keySet().iterator(); i.hasNext();) {
7466
String target = (String) i.next();
75-
ConnectionDetails details = (ConnectionDetails) connectionDetails
76-
.get(target);
67+
ConnectionDetails details = (ConnectionDetails) connectionDetails.get(target);
7768
Preferences p = connections.node(target);
7869
p.put(ConnectionDetails.CONTAINER_TYPE, details.getContainerType());
7970
p.put(ConnectionDetails.TARGET_URI, details.getTargetURI());
@@ -83,35 +74,27 @@ public void saveConnectionDetailsToPreferenceStore() {
8374
try {
8475
connections.flush();
8576
} catch (BackingStoreException e) {
86-
ClientPlugin.getDefault().getLog().log(
87-
new Status(IStatus.ERROR, ClientPlugin.PLUGIN_ID,
88-
BACKING_STORE_SAVE_ERROR,
89-
Messages.AccountStart_EXCEPTION_SAVING_CONNECTION_DETAILS, e));
77+
ClientPlugin.getDefault().getLog().log(new Status(IStatus.ERROR, ClientPlugin.PLUGIN_ID, BACKING_STORE_SAVE_ERROR, Messages.AccountStart_EXCEPTION_SAVING_CONNECTION_DETAILS, e));
9078
}
9179
}
9280

9381
public void loadConnectionDetailsFromPreferenceStore() {
9482
try {
95-
Preferences preferences = new InstanceScope()
96-
.getNode(ClientPlugin.PLUGIN_ID);
83+
Preferences preferences = InstanceScope.INSTANCE.getNode(ClientPlugin.PLUGIN_ID);
9784
Preferences connections = preferences.node(SAVED);
9885
String[] targets = connections.childrenNames();
9986
for (int i = 0; i < targets.length; i++) {
10087
String target = targets[i];
10188
Preferences node = connections.node(target);
10289
if (node != null) {
103-
addConnectionDetails(new ConnectionDetails(node.get(
104-
ConnectionDetails.CONTAINER_TYPE, ""), node.get( //$NON-NLS-1$
105-
ConnectionDetails.TARGET_URI, ""), node.get( //$NON-NLS-1$
106-
ConnectionDetails.NICKNAME, ""), node.get( //$NON-NLS-1$
107-
ConnectionDetails.PASSWORD, ""))); //$NON-NLS-1$
90+
addConnectionDetails(new ConnectionDetails(node.get(ConnectionDetails.CONTAINER_TYPE, ""), node.get( //$NON-NLS-1$
91+
ConnectionDetails.TARGET_URI, ""), //$NON-NLS-1$
92+
node.get(ConnectionDetails.NICKNAME, ""), //$NON-NLS-1$
93+
node.get(ConnectionDetails.PASSWORD, ""))); //$NON-NLS-1$
10894
}
10995
}
11096
} catch (BackingStoreException e) {
111-
ClientPlugin.getDefault().getLog().log(
112-
new Status(IStatus.ERROR, ClientPlugin.PLUGIN_ID,
113-
BACKING_STORE_LOAD_ERROR,
114-
Messages.AccountStart_EXCEPTION_LOADING_CONNECTION_DETAILS, e));
97+
ClientPlugin.getDefault().getLog().log(new Status(IStatus.ERROR, ClientPlugin.PLUGIN_ID, BACKING_STORE_LOAD_ERROR, Messages.AccountStart_EXCEPTION_LOADING_CONNECTION_DETAILS, e));
11598
}
11699
}
117100
}

examples/bundles/org.eclipse.ecf.example.twitter.client/feature.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
unpack="false"/>
505505

506506
<plugin
507-
id="javax.servlet.jsp"
507+
id="jakarta.servlet.jsp-api"
508508
download-size="0"
509509
install-size="0"
510510
version="0.0.0"
@@ -743,7 +743,7 @@
743743
unpack="false"/>
744744

745745
<plugin
746-
id="javax.servlet"
746+
id="jakarta.servlet.jsp-api"
747747
download-size="0"
748748
install-size="0"
749749
version="0.0.0"

0 commit comments

Comments
 (0)