Labels

Ubuntu (5) Jax-RS (4) angular.js (4) java (4) linux (4) Jersey (3) classloader (3) javascript (3) Angular-UI (2) Eclipse (2) Google Chrome (2) Liferay (2) RAD 7.0 (2) SSL (2) WAS 6.1 (2) ATI Radeon 2600 (1) Apache (1) Axis (1) Birt (1) Bootstrap3 (1) CORS (1) CompizConfig (1) Finder (1) Generator (1) Google Docs (1) Grunt.js (1) JAX-RPC (1) Junit (1) Liferay javascript (1) MySQL (1) Power Mock (1) Python (1) Rest client (1) Service Builder (1) Subclipse (1) Unity (1) Virtual Host (1) Web Services (1) WebGL (1) WebStorm (1) bash (1) drivers (1) ext plugin (1) jvm (1) node.js (1) openVZ (1) play framework (1) validation (1) yeoman (1) yo (1)
Showing posts with label validation. Show all posts
Showing posts with label validation. Show all posts

November 21, 2012

Eclipse : JS validator error on minified javascript files

Eclipse was giving me errors on minified javascript files located in my theme plugin.
There's a configuration in the Windows / Preferences / Validator menu to exclude some files from the validator scope, but it's not that natural, so I'll write it down here 

You'll have to go to this menu



Then click on the settings button in the last column.


From there you can add an exclude group, and then add some exclusion rules





The thing here is that I was working with Liferay plugin SDK, so my javascript file to exclude was located outside of my workspace.

But even if the Browse button doesn't seem to work when you try to pick a resource outside of your eclipse workspace, you can put a relative path in the text field.

Hope this help.