Eclipse build time is too long, unbearable, perfect solution, Eclipse compiles too card, takes too long

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.