forked from eclipse-platform/eclipse.platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully rely on generated OSGi Declarative Services component-xml
and remove the ones committed into git.
- Loading branch information
1 parent
947ff03
commit 00e9088
Showing
16 changed files
with
73 additions
and
92 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 @@ | ||
OSGI-INF/*.xml |
7 changes: 7 additions & 0 deletions
7
runtime/tests/org.eclipse.e4.core.tests/.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 |
8 changes: 0 additions & 8 deletions
8
runtime/tests/org.eclipse.e4.core.tests/OSGI-INF/DisabledServiceA.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
runtime/tests/org.eclipse.e4.core.tests/OSGI-INF/DisabledServiceB.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...4.core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.contexts.inject.TestServiceA.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...4.core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.contexts.inject.TestServiceB.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...sts/OSGI-INF/org.eclipse.e4.core.internal.tests.contexts.inject.TestServiceController.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.di.extensions.ComponentEnabler.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...4.core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.di.extensions.FilterServiceA.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...4.core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.di.extensions.FilterServiceB.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...4.core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.di.extensions.SampleServiceA.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...4.core.tests/OSGI-INF/org.eclipse.e4.core.internal.tests.di.extensions.SampleServiceB.xml
This file was deleted.
Oops, something went wrong.
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
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,62 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2023, 2023 Hannes Wellmann and others. | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Distribution License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/org/documents/edl-v10.php | ||
Contributors: | ||
Hannes Wellmann - initial implementation | ||
--> | ||
<project | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.eclipse.platform</groupId> | ||
<artifactId>eclipse.platform.runtime</artifactId> | ||
<version>4.30.0-SNAPSHOT</version> | ||
<relativePath>../..</relativePath> | ||
</parent> | ||
<artifactId>org.eclipse.e4.core.tests</artifactId> | ||
<version>1.3.200-SNAPSHOT</version> | ||
<packaging>eclipse-test-plugin</packaging> | ||
<properties> | ||
<testClass>org.eclipse.e4.core.tests.CoreTestSuite</testClass> | ||
</properties> | ||
<build> | ||
<testSourceDirectory>src</testSourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<executions> | ||
<!-- The tycho-ds-plugin generates component-xml files into | ||
target/classes/OSGI-INF, but when this Plugin is exected in a tycho-surefire | ||
runtime, the bundle-root is this project's root directory and the | ||
Service-Component-Runtime only searches for component-xml files only in | ||
<bundle-root>/OSGI-INF and does not consider the classpath--> | ||
<execution> | ||
<id>copy-ds-component-xml</id> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<phase>process-test-resources</phase> | ||
<configuration> | ||
<resources> | ||
<resource> | ||
<directory> | ||
${project.build.outputDirectory}/OSGI-INF</directory> | ||
<include>*.xml</include> | ||
</resource> | ||
</resources> | ||
<outputDirectory>${project.basedir}/OSGI-INF</outputDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</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