- This topic has 5 replies, 4 voices, and was last updated 11 years, 7 months ago by support-tony.
-
AuthorPosts
-
Florian FischerMemberI really don’t understand what “Exclude from Validation” is supposed to do. As far as I can tell, it just doesnt’t work.
I have a project with some generated code, and that code generates lots of warnings. I do not need any warning about generated code as I cannot do anything about it and I expect the generator to know what it is doing.
So I right-click on the generated package in the Package Explorer and set the flag “MyEclipse > Exclude from validation.”.
What I expect is that no more warning about any file in the package is reported in the “Problems” window.
What happens instead is that warnings keep coming back. I tried cleaning the project, deleting the warnings manually, refreshing the package or the project, but nothing works.
I don’t see why it should be a problem at all. Perhaps it is not obvious to tell the compiler to refrain from warning about files in some packages. But the Problem window has a column “Path”. It is trival to check that the path of the error is within an excluded package and should be hidden.
If anybody has managed to use “Exclude from Validation” for this situation, I’d be glad to hear how ti is supposed to be used.
support-pradeepMemberflorianfj,
We already have a PR raised on this issue and the fix will be available for the next release.
Sorry for the inconvenience caused.
Florian FischerMemberThanks. Looking forward to it.
support-tonyKeymasterflorianfj,
Sorry, but Pradeep’s reply wasn’t quite right. We have a bug filed related to this problem and that bug may be fixed in the next release. However, note that the bug fix would likely only remove the menu option for Java files, which can’t be excluded from validation in the base eclipse functionality. The validation is done by the internal eclipse compiler.
Sorry for the confusion.
Florian FischerMemberCan’t you update the base eclipse functionality for that? Or alternatively, couldn’t you filter the problems window to discard the messages on some resources?
support-tonyKeymasterflorianf,
I’m not sure what can be done in this area but I’ve forwarded your comments to development for them to consider.
-
AuthorPosts