Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse building workspace hangs after importing existing maven project because of JavaScript validation

Tags:

When running Eclipse Kepler and importing an existing Maven project, Eclipse hangs during "Building Workspace (XX%)". Switching to the Progress tab reveals a "Validating nnn"; it looks like it’s validating a directory containing JavaScript files.

like image 947
user3444334 Avatar asked Mar 21 '14 00:03

user3444334


People also ask

How do I stop auto build in STS?

In these situations, autobuild can be turned off through Window > Preferences > General > Workspace > Build automatically. Even for smaller workspaces, turning off autobuilding may be a useful feature.


1 Answers

  • Kill Eclipse process.

  • Go to project folder and edit .project file.

  • Remove the following lines (it will disable failing JavaScript validator):

    <buildCommand>   <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>   <arguments>   </arguments> </buildCommand> 
  • Save file.

  • Re-open Eclipse.

like image 76
user3444334 Avatar answered Sep 23 '22 08:09

user3444334