Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to disable Javascript validation in Helios J2EE IDE(javascript validation helios )
How to disable Javascript validation in Helios J2EE IDE [message #548176] Tue, 20 July 2010 19:32 Go to next message
Eclipse UserFriend
I'd like to disable Javascript validation because I am getting many javascript errors. These aren't even my error but errors from libraries like jquery, so I definitely don't want to tamper with these files. I am guessing that the Javascript validator is very strict, so even a popular library like jquery fails. Every time I clean the workspace and do an automatic build, I get bombarded by a series of "Problem Occurred" pop-ups with details saying "Errors running builder 'Javascript Validator' on project 'ProjectName'. java.lang.NullPointerException" (where ProjectName is actually the name of the project). Because I build my workspace regularly, these error pop-ups get very annoying. I am using Mac OS X (does it even matter since eclipse (Java) is platform independent?). I went to Properties->Javascript->Validation, but everything there is locked, and it has ECMAScript compliance level of "ECMAScript 3" locked. I tried clicking various checkboxes, but none allow me to do anything with the locked settings. I tried going to Properties->Validation and go to the extreme of disabling all validation, but that doesn't seem to work either (still gets javascript errors and validation still runs). Please help, and thank you in advance!
Re: How to disable Javascript validation in Helios J2EE IDE [message #549000 is a reply to message #548176] Fri, 23 July 2010 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Did you try to disable the checkbox under:
Javascript > Validator > Errors/Warnings (Enable JavaScript semantic validation)?
I did this and it worked for me.
Re: How to disable Javascript validation in Helios J2EE IDE [message #551882 is a reply to message #548176] Mon, 09 August 2010 19:49 Go to previous messageGo to next message
Eclipse UserFriend
I'm getting this same error when it tries to build my workspace and it eventually crashes Helios - out of memory error.
Re: How to disable Javascript validation in Helios J2EE IDE [message #551886 is a reply to message #548176] Mon, 09 August 2010 20:32 Go to previous messageGo to next message
Eclipse UserFriend
Looks like my problem is fixed when I go to the project's preference->Builders and uncheck the Javascript Validator.
Re: How to disable Javascript validation in Helios J2EE IDE [message #551887 is a reply to message #548176] Mon, 09 August 2010 20:38 Go to previous messageGo to next message
Eclipse UserFriend
Awesome, that works for me too, but what kind of side effects can happen with this workaround?
Re: How to disable Javascript validation in Helios J2EE IDE [message #558165 is a reply to message #551887] Fri, 10 September 2010 07:53 Go to previous messageGo to next message
Eclipse UserFriend
Up, please!

I have unchecked in the preferences: Javascript > Validator > Errors/Warnings (Enable JavaScript semantic validation), but some times, not always, when I open a project there is javascript problems. Sad
Re: How to disable Javascript validation in Helios J2EE IDE [message #558171 is a reply to message #558165] Fri, 10 September 2010 08:04 Go to previous messageGo to next message
Eclipse UserFriend
I found with a right click on the project -> properties -> Builders a "Javascript Validator" and here it is checked.... Maybe! Rolling Eyes
Re: How to disable Javascript validation in Helios J2EE IDE [message #558579 is a reply to message #551887] Mon, 13 September 2010 10:54 Go to previous messageGo to next message
Eclipse UserFriend
On 8/9/2010 8:38 PM, John Bocalig wrote:
> Awesome, that works for me too, but what kind of side effects can happen
> with this workaround?

Standalone .js files will not be validated at all as part of the Build.
The entry for the Client script validator on the Validation
preference/property page affects JS within web page files.

All JavaScript questions should be directed to the eclipse.webtools
forum instead of this one. JavaScript != Java and JSDT != JDT.

news://news.eclipse.org/eclipse.webtools
http://eclipse.org/forums/eclipse.webtools

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
Re: How to disable Javascript validation in Helios J2EE IDE [message #558588 is a reply to message #558579] Mon, 13 September 2010 11:29 Go to previous message
Eclipse UserFriend
Sorry. I understand that javascript is not java. It's just that it's part of the J2EE IDE, and it's my fault for not checking the names of all existing forums for the best fit.
Previous Topic:[SOLVED] Eclipse crash on startup
Next Topic:problems to install eclipse software windows 7
Goto Forum:
  


Current Time: Fri Nov 07 01:30:01 EST 2025

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

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

Back to the top