Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace content of o.e.osgi.util by osgi-bundles from Maven-Central #41

Merged
merged 1 commit into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions bundles/org.eclipse.osgi.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,31 @@
<type>p2-installable-unit</type>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<id>org.osgi.util.function</id>
<type>eclipse-plugin</type>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<id>org.osgi.util.measurement</id>
<type>eclipse-plugin</type>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<id>org.osgi.util.position</id>
<type>eclipse-plugin</type>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<id>org.osgi.util.promise</id>
<type>eclipse-plugin</type>
<versionRange>0.0.0</versionRange>
</requirement>
<requirement>
<id>org.osgi.util.xml</id>
<type>eclipse-plugin</type>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,28 @@
*******************************************************************************/
package org.eclipse.osgi.tests.appadmin;

import java.util.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.core.tests.session.ConfigurationSessionTestSuite;
import org.eclipse.core.tests.session.SetupManager.SetupException;
import org.eclipse.osgi.tests.OSGiTest;
import org.eclipse.osgi.tests.OSGiTestsActivator;
import org.eclipse.osgi.tests.bundles.BundleInstaller;
import org.osgi.framework.*;
import org.osgi.service.application.*;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleException;
import org.osgi.framework.FrameworkUtil;
import org.osgi.framework.InvalidSyntaxException;
import org.osgi.framework.ServiceReference;
import org.osgi.service.application.ApplicationDescriptor;
import org.osgi.service.application.ApplicationException;
import org.osgi.service.application.ApplicationHandle;
import org.osgi.service.application.ScheduledApplication;
import org.osgi.util.tracker.ServiceTracker;
import org.osgi.util.tracker.ServiceTrackerCustomizer;

Expand All @@ -37,7 +49,6 @@ public class ApplicationAdminTest extends OSGiTest {
public static final String[] tests = new String[] {"testSimpleApp", "testInvalidArgs", "testAsyncValue01", "testAsyncValue02", "testAsyncValue03", "testAsyncValue04", "testAsyncValue05", "testAsyncValue06", "testExitValue01", "testExitValue02", "testExitValue03", "testExitValue04", "testExitValue05", "testExitValue06", "testExitValue07", "testExitValue08", "testExitValue09", "testExitValue10", "testGlobalSingleton", "testCardinality01", "testCardinality02", "testMainThreaded01", "testMainThreaded02", "testHandleEvents01", "testDescriptorEvents01", "testPersistentLock01", "testPersistentLock02", "testPersistentLock03", "testPersistentSchedule01", "testPersistentSchedule02", "testPersistentSchedule03", "testPersistentSchedule04", "testPersistentSchedule05", "testPersistentSchedule06", //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$//$NON-NLS-5$//$NON-NLS-6$//$NON-NLS-7$//$NON-NLS-8$//$NON-NLS-9$//$NON-NLS-10$//$NON-NLS-11$//$NON-NLS-12$//$NON-NLS-13$//$NON-NLS-14$//$NON-NLS-15$//$NON-NLS-16$//$NON-NLS-17$//$NON-NLS-18$//$NON-NLS-19$//$NON-NLS-20$//$NON-NLS-21$//$NON-NLS-22$//$NON-NLS-23$//$NON-NLS-24$//$NON-NLS-25$//$NON-NLS-26$//$NON-NLS-27$//$NON-NLS-28$//$NON-NLS-29$
"testPersistentSchedule07", "testPersistentSchedule08", "testFailedApplication01", "testDestroyBeforeStart01", "testDestroyBeforeStart02"};
private static final String PI_OSGI_SERVICES = "org.eclipse.osgi.services"; //$NON-NLS-1$
private static final String PI_OSGI_UTIL = "org.eclipse.osgi.util";

public static Test suite() {
TestSuite suite = new TestSuite(ApplicationAdminTest.class.getName());
Expand All @@ -47,10 +58,15 @@ public static Test suite() {
for (String id : ids) {
appAdminSessionTest.addBundle(id);
}
appAdminSessionTest.addBundle(PI_OSGI_UTIL);
appAdminSessionTest.addBundle(PI_OSGI_SERVICES);
appAdminSessionTest.addBundle(PI_OSGI_TESTS);
appAdminSessionTest.setApplicationId(testRunnerApp);
appAdminSessionTest.addBundle("org.osgi.util.function");
appAdminSessionTest.addBundle("org.osgi.util.measurement");
appAdminSessionTest.addBundle("org.osgi.util.position");
appAdminSessionTest.addBundle("org.osgi.util.promise");
appAdminSessionTest.addBundle("org.osgi.util.xml");

try {
appAdminSessionTest.getSetup().setSystemProperty("eclipse.application.registerDescriptors", "true"); //$NON-NLS-1$//$NON-NLS-2$
} catch (SetupException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public class ApplicationRelaunchTest extends OSGiTest {
public static final String simpleResults = "test.simpleResults"; //$NON-NLS-1$
public static final String[] tests = new String[] { "testRelaunch" };
private static final String PI_OSGI_SERVICES = "org.eclipse.osgi.services"; //$NON-NLS-1$
private static final String PI_OSGI_UTIL = "org.eclipse.osgi.util";

public static Test suite() {
TestSuite suite = new TestSuite(ApplicationRelaunchTest.class.getName());
Expand All @@ -43,7 +42,6 @@ public static Test suite() {
for (String id : ids) {
appAdminSessionTest.addBundle(id);
}
appAdminSessionTest.addBundle(PI_OSGI_UTIL);
appAdminSessionTest.addBundle(PI_OSGI_SERVICES);
appAdminSessionTest.addBundle(PI_OSGI_TESTS);
appAdminSessionTest.setApplicationId(testRunnerRelauncherApp);
Expand Down
6 changes: 0 additions & 6 deletions bundles/org.eclipse.osgi.util/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,4 @@
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
19 changes: 6 additions & 13 deletions bundles/org.eclipse.osgi.util/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,16 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %osgiUtil
Bundle-SymbolicName: org.eclipse.osgi.util
Bundle-Version: 3.6.100.qualifier
Bundle-Version: 3.7.0.qualifier
Bundle-Description: %osgiUtilDes
Bundle-Vendor: %eclipse.org
Bundle-Localization: plugin
Bundle-DocUrl: http://www.eclipse.org
Bundle-ContactAddress: www.eclipse.org
Export-Package: org.osgi.util.function;version="1.1",
org.osgi.util.measurement;version="1.0.2",
org.osgi.util.position;version="1.0.1";uses:="org.osgi.util.measurement",
org.osgi.util.promise;version="1.1.1";uses:="org.osgi.util.function",
org.osgi.util.xml;version="1.0.1";uses:="org.osgi.framework,javax.xml.parsers"
Import-Package: org.osgi.framework; version=1.1,
javax.xml.parsers,
org.osgi.util.function; version="[1.1, 1.2)",
org.osgi.util.measurement; version="[1.0.2, 1.1)",
org.osgi.util.position; version="[1.0.1, 1.1)",
org.osgi.util.promise; version="[1.1.1, 1.2)",
org.osgi.util.xml; version="[1.0.1, 1.1)"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Automatic-Module-Name: org.eclipse.osgi.util
Require-Bundle: org.osgi.util.function;bundle-version="[1.2.0,1.3.0)";visibility:=reexport,
org.osgi.util.promise;bundle-version="[1.2.0,1.3.0)";visibility:=reexport,
org.osgi.util.measurement;bundle-version="[1.0.0,1.1.0)";visibility:=reexport,
org.osgi.util.position;bundle-version="[1.0.0,1.1.0)";visibility:=reexport,
org.osgi.util.xml;bundle-version="[1.0.0,1.1.0)";visibility:=reexport
5 changes: 0 additions & 5 deletions bundles/org.eclipse.osgi.util/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
bin.includes = plugin.properties,\
about.html,\
META-INF/,\
.,\
about_files/
src.includes = about.html,\
about_files/
source.. = src/
output.. = bin/
jars.extra.classpath = lib/osgi.annotation.jar,\
lib/function.interface.jar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion bundles/org.eclipse.osgi.util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</parent>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi.util</artifactId>
<version>3.6.100-SNAPSHOT</version>
<version>3.7.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading