Tagged: "Exclude from validation"
- This topic has 5 replies, 2 voices, and was last updated 6 years, 10 months ago by Brian Fernandes.
-
AuthorPosts
-
guyrevision-caParticipantHi,
Under MyEclipse 2017 CI 7 (I do not know if the issue happened on CI 6 since I passed from CI 5 to 7 directly), the files and folders marked with “Exclude from validation” are still validated and added to the “Problems” view, which can be painful when using libraries that are not always “up to standards”.
This inconsistent behavior happens on some projects, while under some projects the feature remains functional.
I tested a new project in a new workspace and it has the issue.
This does not seem to be related to the content of the project… I have J2EE projects that validate fine, some not. I also have PDT-based projects that display the issue while others not.
Resetting the validation exclusions and remarking files/folders does not improve the situation.
Thanks,
GR.
guyrevision-caParticipantI tried with a brand new MyEclipse 2017 CI 7 installation on a brand-new workstation: same behavior.
GR.
guyrevision-caParticipantStill occurring in a new MyEclipse 2017 CI 10 installation…
Brian FernandesModeratorGR,
I’m sorry your previous posts were ignored, we somehow missed them.
To give you some context, the “Exclude from Validation” functionality must be separately implemented for each validator, due to which if there is a bug, you might see it work for some file types, but not for others. Consequently, you should consistently see the same behavior for the same file types across projects and workspaces.
Could you tell me for which types of files you do not see the exclusion setting working?
guyrevision-caParticipantHi,
It happens sometimes with JavaScript files (*.js) or PHP files (*.php, *.inc).
It never happens with pure-Java projects.
GR.
Brian FernandesModeratorGR,
Since we don’t ship the PHP tooling with MyEclipse, this functionality won’t work for those files. I know this isn’t made clear in the exclude from validation property page – that’s something we can look into.
An alternative is the validation property page, where, for each validator, you can exclude files or folders (see attached screenshot) – this is not as convenient as the exclude from validation functionality, but it should work for just about any validator.You should not be seeing inconsistencies with the JS validator, if excluded, there shouldn’t be any validation markers in that file. I’ll get this checked internally as well.
Attachments:
You must be logged in to view attached files. -
AuthorPosts