Community
Participate
Working Groups
With Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) Version: 2022-12 (4.26.0) Build id: 20221201-1913 I am unable to add a rule in Window -> Preferences -> Validation -> Settings (of any Validator) -> Add Rule because the Dialog "New Filter Rule Wizard" comes up unresponsive. However I am able to close the Dialog "Validation Filters for XML Validator" (or any other, as chosen before) - only then the Dialog "New Filter Rule Wizard" becomes responsive. However then it simply doesnt change anything.
I can verify this problem with Eclipse Version: 2022-12 Build id: 20221201-1913 Exact same behaviour for "JavaScript Validation" and "Client-side Validation" Using Windows 11
Same here: Version: 2022-12 (4.26.0) Build id: 20221201-1913
I have still the same issue with the following configuration: ** Eclipse IDE version: 4.27.0.v20230302-0300 ** OS is Windows 10 There is nothing in the "Error log" panel. I have found no way to alter the rules manually (for eg. by editing a configuration file used by wst.validation. The file used has a complex structure) The same behaviour also occurs if I want to add a SonarQube server. The dialog allowing to select SonarQube or SonarCloud cannot be clicked (
This also happens on MacOS (2023-09 build). Being unable to add rules, for example to exclude the node_modules folder for Javascript projects, makes the validation fairly useless because of thousands of problems it reports that are irrelevant to my project. This seems like it should be higher than a P3.
I have exactly the same problem as that described by Stefan Eder. Version: 2023-09 (4.29.0) Build id: 20230907-1323 When trying to add a rule to a group, the Rule dialog is blocked by the calling window. If I close the calling window, the Rule dialog can be operated but no changes are saved. As a workaround until the bug is fixed, would it be possible to edit the settings file directly? I assume that it is in '.settings/org.eclipse.wst.validation.prefs'. What must I enter to exclude XML Schema validation for all files in folder XYZ?
(In reply to Paul Ramsden from comment #5) > I have exactly the same problem as that described by Stefan Eder. > > Version: 2023-09 (4.29.0) > Build id: 20230907-1323 > > When trying to add a rule to a group, the Rule dialog is blocked by the > calling window. If I close the calling window, the Rule dialog can be > operated but no changes are saved. > > As a workaround until the bug is fixed, would it be possible to edit the > settings file directly? I assume that it is in > '.settings/org.eclipse.wst.validation.prefs'. What must I enter to exclude > XML Schema validation for all files in folder XYZ? Yes, you an edit it manually but the structure is not easy, it is TLV-like. What I do now is open the projet with a 2019 IDE and edit the rules
Version: 2023-09 (4.29.0) Build id: 20230907-1323 Windows 11 Home java version "17.0.9" 2023-10-17 LTS Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201) Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing) I am facing the same issue. The reason why I was trying to alter the rule was to add a rule to include group for JPA persistence.xml validation based on guidance as available in, https://stackoverflow.com/questions/3701901/eclipse-does-not-recognize-content-of-persistence-xml And the reason why I was trying this was because I was facing this error every time I tried to Update Maven project. Could not update project AssociationTest configuration org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'https://jakarta.ee/xml/ns/persistence' not found. (platform:/resource/AssociationTest/src/main/resources/META-INF/persistence.xml, 2, 270)
Same here: Version: 2024-03 (4.31.0) Build id: 20240307-1437 OS: Windows 11