Skip to content

"packageinfo" or "package-info.java" ? #30

@boeffi

Description

@boeffi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions