Eclipse plug-in installation, local mirroring method

Source: Internet
Author: User
downloading Eclipse plug-in update sites for offline installation
Equinox p2 Repository mirroring
Today in the installation of maven2eclipse feel too slow, can only be installed online, not find offline package, looking for a long time, found that can follow the way above to create a local image, and then installed, the speed of the rod

Here is the shell script from the above Daniel, saved in the file mirror_eclipse_p2_site.sh, I chose to use Cygwin to run, there is a window under the call method, but did not try
#!/bin/sh

If [$#-ne 2]; then
	echo "Usage: $ from to";
	Exit 1;
Fi

Eclipse_home=${eclipse_home:-/cygdrive/d/eclipse-jee-juno-win32-x86_64/eclipse}

$eclipse _home/ Eclipse-application Org.eclipse.equinox.p2.artifact.repository.mirrorapplication-source $1-destination
$ Eclipse_home/eclipse-application Org.eclipse.equinox.p2.metadata.repository.mirrorapplication-source $- Destination
Call the above command file in Cygwind
SH mirror_eclipse_p2_site.sh http://download.eclipse.org/technology/m2e/releases/file:/tmp/m2e_local_mirror/

Because the network is slow, the command execution time will be longer, to be patient, if the command is interrupted, re-execute the above command is good, a bit of the meaning of the continuation of the breakpoint, until the normal end of the command, the total size of the image folder is more than 120 trillion, the package is now the history of each jar package is created Quickly install using the install New software under Eclipse and enter the address file:e:\tmp\m2emirror-file:/e:/tmp/m2emirror/


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.