Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does validate do in eclipse?

Tags:

java

eclipse

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?

like image 863
Piofmc Avatar asked Apr 21 '14 14:04

Piofmc


1 Answers

Quoting from Eclipse docs:

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 this page.

like image 60
mohsen kamrani Avatar answered Sep 20 '22 17:09

mohsen kamrani