如何忽略Eclipse中特定文件夹中的XML警告? [英] How to ignore XML warnings from a specific folder in Eclipse?

查看:211
本文介绍了如何忽略Eclipse中特定文件夹中的XML警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse和插件m2e(它在Eclipse中增加了对Maven的支持)来构建Java项目.

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

target目录中有一些XML Surefire报告.它们生成烦人的警告,因为它们既没有DTD也没有XML模式.

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

如何告诉Eclipse忽略**/target文件夹?

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

推荐答案

请参见下图:
打开首选项Window > Preferences

See the following image:
Open the preferences Window > Preferences

这篇关于如何忽略Eclipse中特定文件夹中的XML警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆