Ant compilation in Eclipse terminated or no log output workaround

Source: Internet
Author: User

The recent use of ant development in eclipse has encountered this situation: First, Ant is compiled, and sometimes the compilation is not completed, then the inexplicable exception terminated. The second is that when Ant is compiled, it can be completed but the log stops in a row and is not output.

Look closely at the log of success, you can find that when the console output is Chinese, will run to the output of Chinese characters in the previous step to stop, there are several solutions can choose

If it is a situation, you can try the following methods:
1, eclipse->run->external tool->external tool Configurations->main->arguments:-log Org.apache.tools.ant.NoBannerLogger

2, eclipse->run->external tool->external tool CONFIGURATIONS->JRE->VM arguments:-duser.language=en

If the log is stopped, try the following methods:

Eclipse->run->external tool->external tool configurations->common-> Encoding:

If this is GBK, then change to UTF-8; Is UTF-8, then change to GBK, each other should be OK.

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.