Validador de Javascript en Eclipse

Como he visto que la entrada Javascript validator problem in Eclipse es bastante popular lo voy a traducir al español para los lectores hispanohablantes.

Este es un problema que me ha pasado con varios proyectos de tipo ‘Web Dynamic’. Cada vez que el proyecto se compila Eclipse me da este error:

“Errors occurred during the build.
Errors running builder ‘JavaScript Validator’ on project ‘some-project’.
java.lang.NullPointerException”

En un principio parece que el validador de javascript está lanzando la excepción NullPointerException, así que probablemente lo primero que intentas es deshabilitar el validador de Javascript ‘Client-side Javascript’ desde Project->Properties->Validation… pero ya te digo que el problema no es ese, debes ir a Project->Properties->Builders y ahí deshabilitar el ‘Javascript Validator’.

Problema resuelto. En realidad no es un verdadero problema, pero el mensaje es bastante molesto si aparece cada vez que se compila el proyecto…

Advertisements

Publish button disabled (greyed out) in Aptana plugin for Eclipse 4.2 (Juno)

This problem begun happening when I had upgraded to Eclipse 4.2 (Juno) and installed the Aptana’s 3 plugin. I have some PHP projects and I like Aptana’s plugin because it lets you synchronize your project with a local directory or a remote host, but when I moved the mouse over the Publish button associated with the project, it became disabled (greyed out)!. That is very annoying, but have an easy solution thanks to Chris William.

You only have to download this patch and copy it into eclipse/dropins/plugins directory, restart Eclipse and voilá, the button will work like a charm.

 

Javascript Validator problem in Eclipse

This is a problem that has happened to me on some Web Dynamic projects. Every time the project is built, I get this error:

“Errors occurred during the build.
Errors running builder ‘JavaScript Validator’ on project ‘some-project’.
java.lang.NullPointerException”

At a first sight it seems that a Javascript validator is throwing a NullPointerException, so probably you will try to disable ‘Client-side Javascript’ validation from Project->Properties->Validation… but I tell you that the problem is not there, you must go to Project->Properties->Builders then disable ‘Javascript Validator’.

Problem solved. Indeed is not a real problem, but the message is a bit annoying because it happens in every build so….