Reputation: 2718
How can I know and download all plugin dependencies so that I could install it later offline
without the need of internet
Thanks
Upvotes: 1
Views: 943
Reputation: 10654
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.
Upvotes: 2
Reputation: 4989
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.
Upvotes: 1