Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for downloading eclipse plugins from update sites

I need to install an eclipse plugin to a machine not connected to the Internet and I cannot find a dist to use for a local install.

Is there a tool for downloading a plugin from an update site and create a local installation archive (or a local update site)? Rumors says you can do this with eclipse, but I cant find any info on how to do it.

like image 277
mafro Avatar asked Aug 10 '09 21:08

mafro


People also ask

How do I download plugins from Eclipse Marketplace?

From within the Eclipse IDE, you can search the market place by using the Eclipse Marketplace dialog which can be invoked by clicking on the Help menu and selecting Eclipse Marketplace. In the screenshot above, to install PyDev-Python IDE for Eclipse , just click on the Install button.

Is there an installer for Eclipse?

The new Eclipse Installer shows the packages available to Eclipse users. You can search for the package you want to install or scroll through the list. Select and click on the package you want to install.

How do I get Eclipse Update Manager?

In Eclipse, open the Eclipse Update Manager through the Help menu. Before you have the IBM Security Directory Integrator plug-in installed you will want to add a new update site.


1 Answers

You can use P2 mirror tool (or P2 mirror in Galileo documentation) to mirror remote metadata and artifacts repository.

Here is sample command to mirror Galileo artifacts repository locally:

eclipse\eclipsec.exe -nosplash -verbose 
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
-source http://download.eclipse.org/releases/galileo
-destination file:d:/temp/galileo/

eclipse\eclipsec.exe -nosplash -verbose
-application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
-source http://download.eclipse.org/releases/galileo
-destination file:d:/temp/galileo/

(First command mirrors metadata, second mirrors artifacts. Command should be on one line in windows)

After you run these commands, you can use file:d:/temp/galileo as a local mirror.

Alternatively, you can use P2 Mirror Ant Task, which lets you specify installable units (plugins or features) to mirror. Note: when specifying feature, don't forget to use .feature.group suffix)

like image 138
Peter Štibraný Avatar answered Oct 04 '22 17:10

Peter Štibraný