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.
You might find Building a custom Eclipse package helpful, although it's probably a bit more heavyweight that what you need.
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:
(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)Now there is also a support for p2 sites mirroring in maven using tycho plugins: http://wiki.eclipse.org/Tycho/Additional_Tools
One of the advantage is that you can very precisely specify what installable unites you want to mirror, for which os/ws/arch, ...
For instance to mirror Eclipse Indigo you can use following
pom.xml