Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to ignore XML warnings from a specific folder in Eclipse?

I'm building a java project with Eclipse and the plugin m2e (it adds Maven support in Eclipse).

There some XML Surefire reports ine the target directory. They generate annoying warnings because they have neither a DTD nor an XML Schema.

How can you tell Eclipse to ignore **/target folders ?

like image 207
Stephan Avatar asked Jun 20 '13 08:06

Stephan


People also ask

How ignore specific error in Eclipse?

It isn't obvious on how to use the eclipse compiler to ignore errors. i.e. Go to Settings > Compiler > Java Compiler, use the Eclipse compiler and specify "-proceedOnError" as a command line parameter.

How do I view XML files in Eclipse?

For a single file you can right click on the file and select 'Open With > XML Editor'. Eclipse remembers which editor you use so you only have to do this once. If 'XML Editor' is not in the list, select 'Other...' and select it from the list displayed in the dialog.

Why XML option is not showing in eclipse?

Go to help->eclipse marketplace then search for xml editor, install the Rinzo XML Editor restart eclipse and you should be ready to go. Save this answer. Show activity on this post.


1 Answers

See the following image:
Open the preferences Window > Preferences

enter image description here

like image 184
Sumit Singh Avatar answered Nov 14 '22 23:11

Sumit Singh