Eclipse plugin deployment: couldn't find a bundle file -
i developing eclipse plugin, in eclipse kepler platform develop plugin, add together file: bundle org.eclipse.jface.databinding 1.6.200
1 of dependencies. when tried install plugin in eclipse juno in machine, failed. , error message is: ...bundle org.eclipse.jface.databinding 1.6.200' not found
.
could tell me how solve problem?
when developing eclipse plugins have think dependencies. osgi (on eclipse built) has ability, unlike normal java jar dependencies) specify versions and/or version ranges dependencies. need think version range want back upwards when developing plugins.
in case, version 1.6.200 of org.eclipse.jface.databinding
in latest releases of eclipse (luna , kepler), juno has older version (1.6.0). if want plugin compatible juno need specify version range in dependency on org.eclipse.jface.databinding
. @ how many of eclipse plugins declare own depdencies examples.
you should read more educate (this isn't trivial stuff normal java projects adding jars no version information). here useful links:
https://wiki.eclipse.org/index.php/version_numbering plug-in development should done target platform. see here. this question , answer has interesting points, difference between importing packages , depending on bundles.there lot understand stuff; it's not wise take naive approach, sadly tutorials gloss on or totally ignore these aspects of dependency management.
eclipse plugins deployment
No comments:
Post a Comment