Skip to content

Commit fa6e6d1

Browse files
committed
Import fragments in the feature to reflect p2.inf in bundles
Currently we have for the bundles that require the native fragments a p2.inf to pull them in. This does not work in the IDE as PDE has no way to understand P2 metadata that is possibly not present (e.g. when consumed from a target platform). This now adds requires/import to the feature to get the same effect when using the feature in an IDE launch without explicitly require to depend on a strict version.
1 parent 5f1be90 commit fa6e6d1

File tree

1 file changed

+9
-0
lines changed
  • terminal/features/org.eclipse.platform.terminal.feature

1 file changed

+9
-0
lines changed

terminal/features/org.eclipse.platform.terminal.feature/feature.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
%license
1818
</license>
1919

20+
<requires>
21+
<import plugin="org.eclipse.cdt.core.linux.x86_64" filter="(&amp;(osgi.os=linux)(osgi.arch=x86_64))"/>
22+
<import plugin="org.eclipse.cdt.core.linux.ppc64le" filter="(&amp;(osgi.os=linux)(osgi.arch=ppc64le))"/>
23+
<import plugin="org.eclipse.cdt.core.linux.aarch64" filter="(&amp;(osgi.os=linux)(osgi.arch=aarch64))"/>
24+
<import plugin="org.eclipse.cdt.core.macosx" filter="(osgi.os=macosx)"/>
25+
<import plugin="org.eclipse.cdt.core.win32.x86_64" filter="(&amp;(osgi.os=win32)(osgi.arch=x86_64))"/>
26+
<import plugin="org.eclipse.cdt.core.win32.aarch64" filter="(&amp;(osgi.os=win32)(osgi.arch=aarch64))"/>
27+
</requires>
28+
2029
<plugin
2130
id="org.eclipse.tm.terminal.control"
2231
version="0.0.0"/>

0 commit comments

Comments
 (0)