Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

21.6. Installation Management

The easiest way to install plug-ins and features is via the Software Updates dialog we encountered while working with Hyperbola. However, there are use cases where installation has to happen programmatically or via the command line, such as in build and scripted environments. In p2 this is achieved using a tool called the p2 director that can perform installation operations in a headless fashion. The director application, org.eclipse.equinox.p2.director, is a command-line tool for installing additional software or uninstalling software from an Eclipse-based product. This application is capable of provisioning a complete installation from scratch or simply extending your application. Depending on your needs, it can be executed both inside and outside the target product being provisioned. For example, the next command will install the C/C++ Development Tools (CDT) into Eclipse:

<eclipseInstall>\eclipsec.exe
  -application org.eclipse.equinox.p2.director
  -repository http://download.eclipse.org/releases/galileo
  -installIU org.eclipse.cdt.feature.group/<version>


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint