mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Workaround EASE 0.9.0 headless startup issue (#156)
We register org.eclipse.cdt.codan.internal.ui.cxx.Startup with EASE to avoid triggering bug 580960.
This commit is contained in:
parent
1893069eb5
commit
fa14e99ff8
3 changed files with 16 additions and 1 deletions
|
@ -27,7 +27,7 @@ compilers.p.unknown-class=0
|
|||
compilers.p.unknown-element=1
|
||||
compilers.p.unknown-identifier=0
|
||||
compilers.p.unknown-resource=0
|
||||
compilers.p.unresolved-ex-points=0
|
||||
compilers.p.unresolved-ex-points=1
|
||||
compilers.p.unresolved-import=0
|
||||
compilers.s.create-docs=false
|
||||
compilers.s.doc-folder=doc
|
||||
|
|
|
@ -8,6 +8,15 @@
|
|||
class="org.eclipse.cdt.codan.internal.ui.cxx.Startup"></startup>
|
||||
</extension>
|
||||
|
||||
<!-- Suppress startup in org.eclipse.ease.runScript application (bug 580960) -->
|
||||
<!-- Expect an 'Unknown extension point' warning when using the standard CDT target platform -->
|
||||
<extension
|
||||
point="org.eclipse.ease.headless">
|
||||
<startupBlacklist
|
||||
className="org.eclipse.cdt.codan.internal.ui.cxx.Startup">
|
||||
</startupBlacklist>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.menus">
|
||||
<menuContribution
|
||||
|
|
|
@ -103,6 +103,12 @@ git ls-files -- \*\*/.project ":!$COREPROJECT/.project" | while read i ; do
|
|||
'-es@compilers.p.unknown-identifier=0@compilers.p.unknown-identifier=1@' \
|
||||
$d/.settings/org.eclipse.pde.prefs
|
||||
fi
|
||||
if echo $i | grep 'org.eclipse.cdt.codan.ui.cxx' > /dev/null; then
|
||||
# Special case, see comment in org.eclipse.cdt.codan.ui.cxx/plugin.xml
|
||||
sed -i \
|
||||
'-es@compilers.p.unresolved-ex-points=0@compilers.p.unresolved-ex-points=1@' \
|
||||
$d/.settings/org.eclipse.pde.prefs
|
||||
fi
|
||||
else
|
||||
rm -f $d/.settings/org.eclipse.pde*.prefs
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue