osgi - How to ensure eclipse plugin has required bundles available? -
i'm starting develop new eclipse plugin want web application server running in eclipse. found nice blog, osgi web application server, describes how this. author suggests creating target environment bundle requirements, , of bundles pulled in equinox project sdk (now called equinox target components in juno). notice tutorial project runs fine when target platform platform created in tutorial, fails start when default platform. so, question...
if need bundles not part of default, how plugin project access bundles? need deploy them along plugin? how know if user's eclipse or not have required bundles?
you not clear kind of application developing. running web server in eclipse ide plugin don't make sense me. kind of server application best running on top of equinox.
anyway, right path create "product configuration" file , add categories contains needed bundles (go file/plug-in development/product configuration).
with file can run instance of product (inside ide) , can export (create zip containing needed bundles)
and if want able user install plugin inside ide must create p2 repository (using target definition file) , expose exported directory within http server. research tycho build kind of components in maven style.
Comments
Post a Comment