Java 验证在 eclipse 中做什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23198995/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 21:17:21 来源:igfitidea点击:
What does validate do in eclipse?
提问by Piofmc
If you right click the project, and click validate, it'll pop something up and then tons of errors show for some reason. What does validate do and how do you get rid of these errors?
如果您右键单击该项目,然后单击验证,它会弹出一些内容,然后出于某种原因显示大量错误。验证的作用是什么,你如何摆脱这些错误?
回答by mok
Quoting from Eclipsedocs:
引用Eclipse文档:
The workbench includes validators that check certain files in your enterprise application module projects for errors. By default, the workbench validates your files automatically after any build, including automatic builds. You can also begin the validation process manually without building. On the workbench Preferences window, you can enable or disable validators to be used on your projects. Also, you can enable or disable validators for each enterprise application module project individually on the Properties page for that project. Each validator can apply to certain types of files, certain project natures, and certain project facets. When a validator applies to a project facet or nature, the workbench uses that validator only on projects that have that facet or nature. Likewise, most validators apply only to certain types of files, so the workbench uses those validators only on those types of files.
工作台包括验证器,用于检查企业应用程序模块项目中的某些文件是否有错误。默认情况下,工作台会在任何构建(包括自动构建)之后自动验证您的文件。您还可以在不构建的情况下手动开始验证过程。在工作台首选项窗口中,您可以启用或禁用要在项目中使用的验证器。此外,您可以在该项目的“属性”页面上为每个企业应用程序模块项目单独启用或禁用验证器。每个验证器都可以应用于某些类型的文件、某些项目性质和某些项目方面。当验证器应用于项目方面或性质时,工作台仅在具有该方面或性质的项目上使用该验证器。同样,大多数验证器仅适用于某些类型的文件,
For more information please visit thispage.
如需更多信息,请访问此页面。