Disable the JavaScript Facet

The JavaScript facet is automatically added to SAS web application projects by the Eclipse Web Tools Platform when the project is created. A side effect of this JavaScript support is that it forces JavaScript validation even when such validation is disabled in the Validation preferences. The only way to avoid the numerous JavaScript errors and warnings that come from the JavaScript in the SAS Java Components facet is to disable this JavaScript support by turning off the JavaScript facet.
To turn off the JavaScript facet:
  1. Right-click the project in the Project Explorer and select Properties.
  2. Select Project Facets.
  3. Right-click the JavaScript facet and select Unlock.
  4. Deselect the check box for the JavaScript facet and select Apply.
  5. Click OK.
  6. Open or switch to the Markers view.
  7. Right-click JavaScript Problems in the Description column and click Delete.
    Disabling the JavaScript facet does not automatically delete the problem markers that the facet created. Future builds will restore the problem markers for other projects that were included in the deletion.