1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Lower missing PDE unknown-identifier to warning for this bundle

Because the reference is to a TCF defined identifier, make
this just a warning because CDT does not have TCF in its
target platform.
This commit is contained in:
Jonah Graham 2022-11-03 19:41:11 -04:00
parent 211bdec58e
commit 8ab702fec8
3 changed files with 12 additions and 1 deletions

View file

@ -85,6 +85,12 @@ git ls-files -- \*\*/.project ":!$COREPROJECT/.project" | while read i ; do
'-es@compilers.p.not-externalized-att=1@compilers.p.not-externalized-att=2@' \
$d/.settings/org.eclipse.pde.prefs
fi
if echo $i | grep 'org.eclipse.tm.terminal.view.ui' > /dev/null; then
# Special case, see comment in org.eclipse.tm.terminal.view.ui/plugin.xml
sed -i \
'-es@compilers.p.unknown-identifier=0@compilers.p.unknown-identifier=1@' \
$d/.settings/org.eclipse.pde.prefs
fi
else
rm -f $d/.settings/org.eclipse.pde*.prefs
fi

View file

@ -25,7 +25,7 @@ compilers.p.service.component.without.lazyactivation=1
compilers.p.unknown-attribute=1
compilers.p.unknown-class=0
compilers.p.unknown-element=1
compilers.p.unknown-identifier=0
compilers.p.unknown-identifier=1
compilers.p.unknown-resource=0
compilers.p.unresolved-ex-points=0
compilers.p.unresolved-import=0

View file

@ -44,6 +44,11 @@
<!-- Perspective extension contributions -->
<extension point="org.eclipse.ui.perspectiveExtensions">
<!-- This next line will be a warning about
Referenced identifier 'org.eclipse.tcf.te.ui.perspective' in attribute 'targetID' cannot be found
If you don't have TCF bundles in your target platform. As TCF is not part of standard CDT target platform
this message has been downgraded to a warning.
-->
<perspectiveExtension targetID="org.eclipse.tcf.te.ui.perspective">
<!-- Register the view shortcuts -->
<viewShortcut id="org.eclipse.tm.terminal.view.ui.TerminalsView"/>