-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
270 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17" /> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="tck/OSGI-INF/impl-src"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.pde.ds.tck</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ds.core.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
2 changes: 2 additions & 0 deletions
2
ds/org.eclipse.pde.ds.tck/.settings/org.eclipse.core.resources.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
encoding/<project>=UTF-8 |
9 changes: 9 additions & 0 deletions
9
ds/org.eclipse.pde.ds.tck/.settings/org.eclipse.jdt.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 | ||
org.eclipse.jdt.core.compiler.compliance=17 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning | ||
org.eclipse.jdt.core.compiler.release=enabled | ||
org.eclipse.jdt.core.compiler.source=17 |
4 changes: 4 additions & 0 deletions
4
ds/org.eclipse.pde.ds.tck/.settings/org.eclipse.m2e.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
resolveWorkspaceProjects=true | ||
version=1 |
7 changes: 7 additions & 0 deletions
7
ds/org.eclipse.pde.ds.tck/.settings/org.eclipse.pde.ds.annotations.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dsVersion=V1_3 | ||
eclipse.preferences.version=1 | ||
enabled=true | ||
generateBundleActivationPolicyLazy=true | ||
path=OSGI-INF | ||
validationErrorLevel=error | ||
validationErrorLevel.missingImplicitUnbindMethod=error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Component XML TCK | ||
Bundle-SymbolicName: org.eclipse.pde.ds.tck | ||
Bundle-Version: 1.0.0.qualifier | ||
Import-Package: org.osgi.framework, | ||
org.osgi.service.component, | ||
org.osgi.service.log | ||
Service-Component: OSGI-INF/org.osgi.impl.bundle.component.annotations.HelloWorld10.xml, | ||
OSGI-INF/testActivationFields.xml, | ||
OSGI-INF/testComponentPropertyTypes.xml, | ||
OSGI-INF/testComponentReferences.xml, | ||
OSGI-INF/testConfigPid.xml, | ||
OSGI-INF/testConfigPidMultiple.xml, | ||
OSGI-INF/testConfigPolicyIgnore.xml, | ||
OSGI-INF/testConfigPolicyOptional.xml, | ||
OSGI-INF/testConfigPolicyRequire.xml, | ||
OSGI-INF/testDelayed.xml, | ||
OSGI-INF/testDisabled.xml, | ||
OSGI-INF/testEnabled.xml, | ||
OSGI-INF/testFactory.xml, | ||
OSGI-INF/testFactoryProperties.xml, | ||
OSGI-INF/testFieldReferences.xml, | ||
OSGI-INF/testHelloWorld11.xml, | ||
OSGI-INF/testHelloWorld12.xml, | ||
OSGI-INF/testHelloWorld13.xml, | ||
OSGI-INF/testHelloWorld14.xml, | ||
OSGI-INF/testImmediate.xml, | ||
OSGI-INF/testNameMapping.xml, | ||
OSGI-INF/testNoInheritService.xml, | ||
OSGI-INF/testNoService.xml, | ||
OSGI-INF/testNoServiceFactory.xml, | ||
OSGI-INF/testProperties.xml, | ||
OSGI-INF/testPropertyOrdering.xml, | ||
OSGI-INF/testReferenceNames.xml, | ||
OSGI-INF/testReferenceScopes.xml, | ||
OSGI-INF/testReferenceService.xml, | ||
OSGI-INF/testReferences.xml, | ||
OSGI-INF/testService.xml, | ||
OSGI-INF/testServiceBundle.xml, | ||
OSGI-INF/testServiceFactory.xml, | ||
OSGI-INF/testServicePrototype.xml, | ||
OSGI-INF/testServiceSingleton.xml | ||
Bundle-Vendor: Eclipse.org | ||
Automatic-Module-Name: org.eclipse.pde.ds.tck | ||
Bundle-ActivationPolicy: lazy | ||
Bundle-RequiredExecutionEnvironment: JavaSE-17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/*.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source.. = tck/OSGI-INF/impl-src | ||
output.. = target/classes | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
OSGI-INF/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.eclipse.pde</groupId> | ||
<artifactId>eclipse.pde</artifactId> | ||
<version>4.30.0-SNAPSHOT</version> | ||
<relativePath>../../</relativePath> | ||
</parent> | ||
<artifactId>org.eclipse.pde.ds.tck</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>eclipse-plugin</packaging> | ||
|
||
<properties> | ||
<!-- Might be overidden in build.properties --> | ||
<tck.engine>org.junit.vintage.engine,junit-jupiter-engine</tck.engine> | ||
<tck.tester>biz.aQute.tester.junit-platform</tck.tester> | ||
<tck.security>false</tck.security> | ||
<tck.skip>false</tck.skip> | ||
<tycho.version>5.0.0-SNAPSHOT</tycho.version> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<configuration> | ||
<!-- <dependency-resolution>--> | ||
<!-- <extraRequirements>--> | ||
<!-- This is the one we want to test here--> | ||
<!-- <requirement>--> | ||
<!-- <type>eclipse-plugin</type>--> | ||
<!-- <id>org.eclipse.pde.ds.annotations</id>--> | ||
<!-- <versionRange>0.0.0</versionRange>--> | ||
<!-- </requirement>--> | ||
<!-- </extraRequirements>--> | ||
<!-- </dependency-resolution>--> | ||
<filters> | ||
<filter> | ||
<!-- see-https://github.com/eclipse-equinox/equinox/discussions/402 --> | ||
<type>p2-installable-unit</type> | ||
<id>org.eclipse.osgi.services</id> | ||
<removeAll /> | ||
</filter> | ||
</filters> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>unpack-tck-sourcec</id> | ||
<phase>process-resources</phase> | ||
<goals> | ||
<goal>unpack-dependencies</goal> | ||
</goals> | ||
<configuration> | ||
<includeArtifactIds>org.osgi.test.cases.component.annotations</includeArtifactIds> | ||
<outputDirectory>${basedir}/tck</outputDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-compiler-plugin</artifactId> | ||
<version>5.0.0-SNAPSHOT</version> | ||
<executions> | ||
<execution> | ||
<id>generate-xmls</id> | ||
<goals> | ||
<goal>eclipse-build</goal> | ||
</goals> | ||
<phase>compile</phase> | ||
<configuration> | ||
<local>true</local> | ||
<debug>true</debug> | ||
<failOnError>false</failOnError> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>default-compile</id> | ||
<phase>none</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-ds-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
<executions> | ||
<!--we don't want the tycho ds as we want to test pde DS! --> | ||
<execution> | ||
<id>default-declarative-services</id> | ||
<phase>none</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-surefire-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>execute-tck</id> | ||
<goals> | ||
<goal>bnd-test</goal> | ||
<goal>verify</goal> | ||
</goals> | ||
<configuration> | ||
<bundles> | ||
org.osgi.test.cases.component.annotations | ||
</bundles> | ||
<skipTests>${tck.skip}</skipTests> | ||
<tester>${tck.tester}</tester> | ||
<engine>${tck.engine}</engine> | ||
<trace>false</trace> | ||
<testerTrace>false</testerTrace> | ||
<printBundles>true</printBundles> | ||
<launchActivationEager>true</launchActivationEager> | ||
<!-- <enableSecurity>${tck.security}</enableSecurity>--> | ||
<!-- <keyStores>${project.basedir}/ ../../releng/tck.keystore</keyStores>--> | ||
<reportDirectory>${project.build.directory}/tck-results</reportDirectory> | ||
<properties> | ||
<org.osgi.test.cases.component.annotations.bundle.symbolic.name>org.eclipse.pde.ds.tck</org.osgi.test.cases.component.annotations.bundle.symbolic.name> | ||
<!-- <org.osgi.framework.system.capabilities.extra>--> | ||
<!-- osgi.ee; osgi.ee="testOSGiEE",--> | ||
<!-- osgi.ee; osgi.ee="AA/BB",--> | ||
<!-- osgi.ee; osgi.ee="CC-XX/DD-YY",--> | ||
<!-- osgi.ee; osgi.ee="EE/FF-YY"; version:Version="2.0",--> | ||
<!-- osgi.ee; osgi.ee="GG-XX/HH"; version:Version="1.0",--> | ||
<!-- osgi.ee; osgi.ee="II-1.0/JJ-2.0",--> | ||
<!-- osgi.ee; osgi.ee="div/tb7a"--> | ||
<!-- </org.osgi.framework.system.capabilities.extra>--> | ||
</properties> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.osgi</groupId> | ||
<artifactId>org.osgi.test.cases.component.annotations</artifactId> | ||
<version>8.1.0</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |