Hi Martin

Do you only want to develop using 4.2 as your IDE or do you also want your 
code be based on 4.2 i.e. use 4.2 as target platform? If the former, I 
suspect that your target platform is wrong (4.2 instead of 3.x).

> For instance, I?d expect a quickfix ?convert this error into a warning? 
with each of the new reports introduced.
Quick Fix is not the right thing here. I think PDE should do the same as 
JDT and offer to go to the correct preference via rich hover (no, I don't 
think there's a bug for that yet).

Having said that, I doubt that changing the severity from 'Error' to 
'Warning' is what you should do. Instead, I would go to the 'Problems' 
view, group the problems by 'Java Problem Type' and then first fix the 
errors in the 'Build Path' and the 'Plug-in Development' category.

Dani


From:
"Oberhuber, Martin" <martin.oberhu...@windriver.com>
To:
"Cross project issues (cross-project-issues-dev@eclipse.org)" 
<cross-project-issues-dev@eclipse.org>
Date:
19.01.2012 15:36
Subject:
[cross-project-issues-dev] New PDE error reporting in 4.2m4



Hi all,
 
Updating to 4.2m4 as my SDK for development, I?m finding myself swamped 
with tons of new errors such that I can?t compile my code any more.
 
I do see some value in reporting issues such as version constraints in 
require-bundle, but ?
-          Some messages do not seem appropriate to report as errors (eg 
exporting an ?internal? package with x-friends should not require 
specifying a version with the package; or, adding additional files to the 
source build should not be an error).
-          And it should be easier to turn them from ?error? to ?warning? 
(which Preference Page item corresponds to what error?)
 
The effort needed before I can compile my code which has been running fine 
for years seems not acceptable for me.
For instance, I?d expect a quickfix ?convert this error into a warning? 
with each of the new reports introduced.
 
Is this already discussed in a bug anywhere ?
What are other projects doing ?
 
Thanks,
Martin_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to