Disable javascript validation from my eclipse project?
by bernt & torsten
I have been using Eclipse for my projects, recently I run into some problems with Eclipse while going through the Two-Minute-Tutorial 5 for Android. While setting up a new project using the Phonegap plugin for Eclipse with jQuery Mobile, I got an error with my jQuery library – after some investigation – I found that the problem was caused by having the Javascript validation enabled in Eclipse.
How do you disable the Javascript validation in Eclipse, it’s not that straightforward – you need to take a few actions to disable it.
Turn off the JavaScript Validator in the “Builders” config for your project:
- Right click your project
- Select Properties -> Builders
- Uncheck the “JavaScript Validator”
Then restart your Eclipse.
If that does not solve your problem or is a bit drastic for you, then you can selectively remove some JavaScript sources from validation.
- Right click your project
- Select Properties -> JavaScript -> Include Path
- Select
Source
tab. ( It looks identical to Java Build Path Source tab ) - Expand JavaScript source folder
- Highlight
Excluded
pattern - Click
Edit
button - Click
Add
button next toExclusion patterns
box. - You may either type Ant-style wildcard pattern, or click
Browse
button to mention the JavaScript source by name.
That should be, your choice of which method to use.
Why It’s Important to Exercise When You’re Over 60
Many of us find ourselves in a pickle as the years pile up. Once reliable sidekicks, our...
A Poem: The Last Time
You never know when it will be,
The last time you ski down slopes of snow,
A Poem: Time Millionaire
When the morning wakes, still and clear,
No more alarms, no more rush....