Summary: | Enable conditional loading of APT | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | eclipse, jgarms, martinae |
Version: | 3.2 | ||
Target Milestone: | 3.2 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Dani Megert
2006-01-26 03:54:19 EST
Note that the apt.ui plugin gets activated by JDT UI through ContributedProcessorDescriptor#getProcessor(ICompilationUnit). So we need a more general solution than adding the required source level on the 'compilationParticipant' extension point. It feels that the UI participant (quickfix) should be parameterized by some marker type; i.e. until APT markers are created, there is no need to compute quickfixes for APT problems. I was too fast when I say a general solution was required (I was actually thinking of using the Bundle-RequiredExecutionEvironment, but this is at the runtime level. So we'll fix the JDT Core part by adding a required source level on the 'compilationParticipant' extension point. I entered bug 125450 against JDT UI for its counterpart. Added 'requiredSourceLevel' attribute in 'compilationParticipant.exsd'. Changed JavaModelManager.CompilationParticipants to check this attribute and compare it to the project's source level. Added regression test ReconcilerTests#testReconcileParticipant07() Jess, do you need a bug against APT? I'll make the fix to APT directly. Verified for 3.2 M5 using build I20060214-0010. |