the current development uses Eclipse, every time the error will build, each build time is very long, close to 10 seconds or so, very uncomfortable ah.
At first, I always thought it was the project content, but think about the project, no matter how many, also is the second-level compilation. Now, whether you modify a class
, modify a JSP, create a document, all to compile in 10 seconds or so .... There must be a problem.
When the eclipse compiled with a look, 10 seconds basically stop in the JS compilation, the original is JS problem, no wonder the project JS has so many reminders ...
but I checked it carefully. Eclipse configuration, and found that the checksum can be turned off.
1, Preferences-javascript-validator-errors/warning inside the Enable javaScript semantic valudation has been closed
Window->preference->java script->validator->errors/warnings->enable Javascript Sematic The hooks in front of the validation are removed;
2, the preference-validation inside all validator all closed.
3. Right-click Project-Property-validation all validator are closed.
The above 3 are all closed, before this kind of operation certainly no problem, now what is the reason? I can't take it anymore Baidu look
4. Find a method. Remove the JavaScript section from the project's. Project file
as follows
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments></arguments>
</buildCommand>
And
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
Delete After the refresh try, sure enough seconds to compile, finally took the hateful JS verification, if not good, copy the JS file, and then delete the JS file in Eclipse, and then copy the JS file in;
No more, shut down the project and eclipse again and try again.
Eclipse build time is too long, unbearable, perfect solution, Eclipse compiles too card, takes too long