Eclipse 3.4 manual download of Chinese package

Source: Internet
Author: User

Since eclipse 3.4, multilingual packages are not officially provided. Although you can use the http://download.eclipse.org/technology/babel/update-site/ganymede/ to add updates, but do not know the eclipse itself what is the problem, often download to half will die, the query found that the file name is spelled wrong, leading to the entire update failure. There are too many jar files in the multi-language package, so after a long time, find a method for manual download.

 

Eclipse plug-in. Now we use the site. xml method to specify the jar files in the features and plugins directories... Start with site. xml.

Where does site. xml come from? Well... Enter the above HTTP address in the browser...

So, look at this file and pay attention to a bunch of items in <feature>... </feature>. If you want to use Chinese characters, find Zh. Note that zh_tw is not used. Download the corresponding JAR file according to url = and put it in the features directory. Jar can work out the feature. xml file. Similarly, this file contains a bunch of <plugin> items. Download the corresponding JAR file according to the URL and put it in the Plugins directory. The download is complete.

 

Finally, I put this Chinese package under the dropins of eclipse and used it as a plug-in. Note that you must delete site. XML from the package. Otherwise, it cannot be recognized.

 

The shell script automatically downloaded in Linux is as follows:

 

#! /Bin/bash </P> <p> site = 'cat site.txt '<br/> RM site. XML features/* plugins/* <br/> wget $ site-O site. XML <br/> grep "<feature" site. XML | grep "zh/" "| cut-d'" '-F2 | wget-Nv-T 120-T 10-P features-B $ site-I-<br/> for I in 'ls features /*. jar '<br/> DO <br/> jar XF $ I feature. XML <br/> grep "<plugin" feature. XML | cut-d' "'-- output-delimiter =" _ "-F4, 8 | awk' {print" plugins/"$1 ". jar "} '| wget-Nv-T 120-T 10-P plugins-B $ site-I-<br/> RM feature. XML <br/> done <br/>

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.