I want to install SWTBot into Eclipse from their update site. I installed it manually via the UI and it worked. The link I used for repository is: http://download.eclipse.org/technology/swtbot/releases/latest/
Now I am trying to install SWTBot using command line. I found the following command:
eclipse.exe -application org.eclipse.equinox.p2.director \
-repository http://download.eclipse.org/technology/swtbot/releases/latest/ \
-installIU <feature IDs>
This works if I provide all feature IDs of SWTBot. My question is how to install all features in that update site without having to providing all feature IDs one by one?
I tried omitting the -installIU
option, but this doesn't work.
AFAIK there is no universal kosher way of doing that since a P2 repository (what you call "update site") may contain different types of artifacts which are not necessarily grouped together in a consistent way.
@oberlies' suggestion should work, you just need to find the proper syntax for that.
However I am not quite sure it's a good idea to blindly install everything you have in the repo.
The SWT bot repo contains only 5 categorized features, so IMHO there is no need for any scripts, just check which of the features you really need, since there are just few of them.