[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipse-pmc] Request PMC approval to add API method
|
BACKGROUND:
In Eclipse 3.5, IncrementalProjectBuilder#getRule()
was added as a Service Provider Interface that would
allow Builders which extend IncrementalProjectBuilder
to let the build manager know what scheduling rule
they need to run.
The API was "inactive" in Eclipse 3.5, since the
Build Manager only started honoring the returned
Scheduling Rule in 3.6m4 as per bug 198591.
GOALS/BENEFITS:
We need to make the SPI richer by adding
IncrementalProjectBuilder#getRule(int trigger, Map args)
such that the CDT builder, which overrides this, can
know the context in which it is asked for a scheduling rule.
We could also do this in 3.7; but the benefit of doing
it now is that we can now deprecate the old SPI which
was not rich enough, before there's any real adoption
(since it got active only in 3.6m4).
Deprecating the old one now means we avoid confusion,
future ripple and keeping the old one around forever.
ASSOCIATED BUGS:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=306822
We need context for IncrementalProjectBuilder#getRule()
RISKS:
Minimal
PERFORMANCE IMPACT:
None.
Let me know if you have any questions.
Thanks,
Martin
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River direct
+43.662.457915.85 fax +43.662.457915.6