在idempiere增加自己的插件
http://www.vogella.com/articles/OSGi/article.html#OSGi_firstbundle
http://www.vogella.com/articles/OSGi/article.html#exportbundle
http://wiki.eclipse.org/Gemini/Web
值得說明一點:
網頁的目錄不會放在webapps(tomcat)目錄下的,是根據MANIFEST.MF 的
Web-ContextPath: /osgi-web-app的屬性來訪問的,如http://domain:port/osgi-web-app
Install file: plugins/myplugins.jar
Osgi> start xx
讓你的plugin自安裝
在C:\adempiere\configuration\org.eclipse.equinox.simpleconfigurator 目錄下的bundles.info
最后一行增加
osgi.web.app,0.0.1,plugins/osgi.web.app.war,4,false(名字,版本號,路徑,啟動優先級)
有些情況下,bundle沒有能自啟動,狀態不是active,要在
要在config.ini設置bundle @start,就可以了
==
另如果自己寫了一個plugin,想通過buckminster來自動打包,要在cspec文件中增加,仿wstore樣式。
posted on 2012-04-28 15:38 gdufo 閱讀(848) 評論(0) 編輯 收藏 所屬分類: idempiere Adempiere empiere