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).插件

相關文章
相關標籤/搜索