-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leverage OSGi-DS component-xml file generation of PDE-DS/Tycho
Remove generated xml-files from equinox.ds.tests.
- Loading branch information
1 parent
c7754d3
commit ddfd814
Showing
17 changed files
with
77 additions
and
73 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
/scr_test | ||
OSGI-INF/org.eclipse.*.xml |
1 change: 0 additions & 1 deletion
1
bundles/org.eclipse.equinox.ds.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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
classpath=true | ||
dsVersion=V1_3 | ||
eclipse.preferences.version=1 | ||
enabled=true | ||
|
9 changes: 0 additions & 9 deletions
9
...NF/org.eclipse.equinox.ds.tests.LazyServiceComponentActivationDeadLockTest$Component1.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...NF/org.eclipse.equinox.ds.tests.LazyServiceComponentActivationDeadLockTest$Component2.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...NF/org.eclipse.equinox.ds.tests.LazyServiceComponentActivationDeadLockTest$Component3.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...tests.LazyServiceComponentActivationDeadLockTest$Component4$AwaitComponent5Activation.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...NF/org.eclipse.equinox.ds.tests.LazyServiceComponentActivationDeadLockTest$Component4.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...ests.LazyServiceComponentActivationDeadLockTest$Component5$ActivationStartedIndicator.xml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...NF/org.eclipse.equinox.ds.tests.LazyServiceComponentActivationDeadLockTest$Component5.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,61 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2024, 2024 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.equinox</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>4.34.0-SNAPSHOT</version> | ||
<relativePath>../..</relativePath> | ||
</parent> | ||
<artifactId>org.eclipse.equinox.ds.tests</artifactId> | ||
<version>1.7.200-SNAPSHOT</version> | ||
<packaging>eclipse-test-plugin</packaging> | ||
<properties> | ||
<testClass>org.eclipse.equinox.ds.tests.AllTests</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/OSGI-INF/org.eclipse.*.xml |
7 changes: 7 additions & 0 deletions
7
bundles/org.eclipse.equinox.event/.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
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