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:
-
Right-click the project
in the Project Explorer and select
Properties.
-
-
Right-click the
JavaScript facet
and select
Unlock.
-
Deselect the check box
for the
JavaScript facet and select
Apply.
-
-
Open or switch to the
Markers view.
-
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.