Talk:PropertyFiles
From APIDesign
(Comment provided by Richard S. Hall - via ArticleComments extension) |
(Comment provided by Chris Aniszczyk - via ArticleComments extension) |
||
Line 23: | Line 23: | ||
--Richard S. Hall 15:27, 16 December 2008 (CET) | --Richard S. Hall 15:27, 16 December 2008 (CET) | ||
+ | </div> | ||
+ | == Chris Aniszczyk said ... == | ||
+ | |||
+ | <div class='commentBlock'> | ||
+ | If you used any OSGi-related tools like Eclipse PDE... this would catch the problem immediately. | ||
+ | |||
+ | Your point about including version identifiers is very valid and people should learn to take it in heart. It's a common mistake people forget about. | ||
+ | |||
+ | --[http://mea-bloga.blogspot.com Chris Aniszczyk] 16:03, 16 December 2008 (CET) | ||
</div> | </div> |
Revision as of 15:03, 16 December 2008
Comments on PropertyFiles <comments />
Contents |
Wayne Beaton said ...
Richard S. Hall said ...
Actually, the real reason we had to introduce Bundle-ManifestVersion is because we changed the semantics of the existing Export-Package header (in R3 it also implied an Import-Package, but in R4 it does not). Otherwise, I agree it would have been smarter to include the manifest version from the beginning. :-)
--Richard S. Hall 15:25, 16 December 2008 (CET)
Richard S. Hall said ...
Also, Wayne makes a good point. BND will also "verify" bundles, but I am not sure if it would have pointed out the issue in this case. Of course, the moral to this story is, don't use Require-Bundle, use Import-Package instead. ;-)
--Richard S. Hall 15:27, 16 December 2008 (CET)
Chris Aniszczyk said ...
If you used any OSGi-related tools like Eclipse PDE... this would catch the problem immediately.
Your point about including version identifiers is very valid and people should learn to take it in heart. It's a common mistake people forget about.
--Chris Aniszczyk 16:03, 16 December 2008 (CET)
FWIW, The Eclipse Plug-in Development Environment (PDE) has tools for configuring OSGi manifests. And it works with Felix.
--Wayne Beaton 14:54, 16 December 2008 (CET)