Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Howto ignore javascript errors?
Howto ignore javascript errors? [message #224652] Wed, 03 December 2008 14:48 Go to next message
Marijn is currently offline MarijnFriend
Messages: 19
Registered: July 2009
Junior Member
Hi,

I'm not sure whether this is the right place to ask this question, if
not let me know with a hint where I should be :). Currently I'm using
PDT which makes use of WTP-WST for HTML/CSS/JS support.
I have a project with "JavaScript Support" that somehow keeps generating
errors, specifically it complains about mootools 1.11 with a lot of
"cannot be resolved to a type" (even though 'Unresolved types' is set to
Warning and not Error!). All these errors clutter my problems view makes
it impossible to see if other projects have actual problems.
In Project Properties > JavaScript > JavaScript Validator >
Errors/Warnings I have tried to enable project specific settings and set
all to 'Ignore'. I've also suspended all validators under 'Validation'
however the errors keep coming back.
I have cleaned the projects and tried to forcefully delete the errors
from the Problems view, but everytime a rebuild is triggered the errors
pop up again.

I don't care much if this specific project has all javascript validation
disabled, as long as it stops generating all the errors.
Does anyone have an idea how this can be achieved?

Regards,

Marijn.
Re: Howto ignore javascript errors? [message #225264 is a reply to message #224652] Tue, 16 December 2008 06:45 Go to previous message
Eclipse UserFriend
Originally posted by: david_williams.linux.vnet.ibm.com

Marijn van Zon wrote:
>
> I don't care much if this specific project has all javascript
> validation disabled, as long as it stops generating all the errors.
> Does anyone have an idea how this can be achieved?
>
Sorry I don't know off the top of my head, but I suggest you see if WTP,
all by itself, has the same problem.
If so, it'd be worth opening a bug (or search existing bugs, in the JSDT
component). Be sure to be specific about which version you are using.

Thanks,
Previous Topic:Using a custom DTD with the HTML Editor
Next Topic:can't upgrade wdt
Goto Forum:
  


Current Time: Fri Dec 19 13:48:51 GMT 2014

Powered by FUDForum. Page generated in 0.01537 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software