1

How can I know and download all plugin dependencies so that I could install it later offline

without the need of internet

Thanks

becks
  • 2,656
  • 8
  • 35
  • 64
  • You can mirror update sites for later use, see this answer for more details: http://stackoverflow.com/questions/1371176/downloading-eclipse-plug-in-update-sites-for-offline-installation/1907322#1907322 – Fredrik Sep 10 '12 at 15:42

2 Answers2

2

You can use the p2 mirror facility to create a local copy of the p2 repos you need. Then you can install it later off line.

I use ant mirror scripts to mirror p2 repos (ex: mirror-jface.xml), and they can be run like:

bash$ eclipse/eclipse -noSplash \
-application org.eclipse.ant.core.antRunner \
-DbaseDir=/some/useful/basedir -buildfile mirror-jface.xml

You have to specify all of the repositories to search in order to pick up all the dependencies.

Paul Webster
  • 10,614
  • 1
  • 25
  • 32
1

If you start off by installing the plugin online, then open up the folowing view:

Window->Show View->Other->Plug-in Development->Plug-in Registry

In that view find the plugin(s) you're interested in, expand them, and make a note of all the pluigns under the "Prerequisites" section. Note that it only lists direct dependencies, so you may need to follow these down to find the whole dependency hierarchy.

Quite a manual process, and hopefully someone else can point out an easier way, but this should give you a full list of plugins that you can then install offline.

Nick Wilson
  • 4,959
  • 29
  • 42