问题
I have an update site, and got the directory which contains the features and plugins
How to install the plugin in eclipse application using the command line ? I want to automate this process
回答1:
You can invoke p2 director application using something like this:
eclipsec.exe
-application org.eclipse.equinox.p2.director
-repository http://download.eclipse.org/releases/galileo/
-installIU org.eclipse.cdt.feature.group
-destination d:/eclipse/
-profile SDKProfile
Here is also link to p2 wiki.
来源:https://stackoverflow.com/questions/11633529/installing-plugin-into-eclipse-using-command-line