Equinox P2的学习

product.configuration 点击“Add按钮”并添加如下插件:eclipse

  • org.eclipse.equinox.p2.ui
  • org.eclipse.equinox.p2.ui.sdk
  • org.eclipse.equinox.p2.ui.sdk.scheduler
  • org.eclipse.equinox.p2.transport.ecf
  • org.eclipse.equinox.p2.touchpoint.natives
  • org.eclipse.equinox.p2.garbagecollector
  • org.eclipse.equinox.p2.touchpoint.eclipse
  • org.eclipse.equinox.ds
  • org.eclipse.equinox.event
  • org.eclipse.equinox.frameworkadmin.equinox
  • org.eclipse.equinox.frameworkadmin
  • org.eclipse.equinox.simpleconfigurator.manipulator
  • org.eclipse.equinox.util

添加完成后点击“Add Required Plug-ins”.ui

 

p2.inf

p2.inf的内容以下:
instructions.configure=\
  addRepository(type:0,location:http${#58}//127.0.0.1:8080/repository);\
  addRepository(type:1,location:http${#58}//127.0.0.1:8080/repository);

注意:p2.inf这个文件必须和 xxx.product文件位于相同目录之下,不然,导出产品的菜单“Window” > "Preferences" > "Install/Update"节点对应的页面中,就不会包含咱们在p2.inf中所设置的软件站点(http${#58}//127.0.0.1:8080/repository).插件

相关文章
相关标签/搜索