7

I'm developing a web project in Eclipse and using a bower. Some of libraries which I used has demo files and its own dependencies which related to structure of project which is different from structure of my project. Eclipse complains and gives me a lot of errors:

enter image description here

How can I disable validation of included resources in these folders? I already disabled JavaScript validation on these folder as described here: How do I remove javascript validation from my eclipse project?

Thank you.

4
  • What Type of problem are they as shown in this view? Commented Aug 24, 2015 at 13:35
  • @nitind, you mean when I open a file in an editor? If yes it shows that path to required file is wrong and shows red error marker. Commented Aug 24, 2015 at 14:03
  • No, I assume that screenshot was cropped from the Problems or Markers View in the workbench. The value in the Type column can be a clue as to where you have to go to shut them off. Commented Aug 24, 2015 at 14:16
  • There's written Web Resource Problem in the Type column of Problems view, thank you. Commented Aug 24, 2015 at 14:31

1 Answer 1

9

Check the Web Resources preference page for options when it comes to validation. It's provided from https://github.com/angelozerr/eclipse-wtp-webresources .

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you, I've changed settings that it will raise warning instead of error, but it will be great if I could exclude some folders from validation path in future.
To add this config will be under Preferences / Web / Web Resources.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.