Not only but also inspired by the osgi-dev thread "Why default version for Export-Package is 0.0.0, not bundle version?" (see http://www.mail-archive.com/osgi-dev@mail.osgi.org/msg01514.html) I'm just a little bit confused about the bnd approach with the file naming "packageinfo".
The JLS (http://java.sun.com/docs/books/jls/third_edition/html/packages.html 7.4ff) already defines "package-info.java" for package relevant infos.
Wouldn't it be simplier (less complex) to have only one file for package definitions?
So, the bnd tool could manage the package version in "package-info.java", too.
Greetings from Germany
Oliver
Not only but also inspired by the osgi-dev thread "Why default version for Export-Package is 0.0.0, not bundle version?" (see http://www.mail-archive.com/osgi-dev@mail.osgi.org/msg01514.html) I'm just a little bit confused about the bnd approach with the file naming "packageinfo".
The JLS (http://java.sun.com/docs/books/jls/third_edition/html/packages.html 7.4ff) already defines "package-info.java" for package relevant infos.
Wouldn't it be simplier (less complex) to have only one file for package definitions?
So, the bnd tool could manage the package version in "package-info.java", too.
Greetings from Germany
Oliver