The Source for Java Technology Collaboration


In current Update Center(1.0) we use module release numbers to determine compatibility of module with its previous version(s). Modules with different release numbers represent incompatible releases. Whereas modules with same release numbers represent upgrade releases. Module with higher specification version is an update for module with lower specification version. Use of just the release numbers alone is not sufficient. We may not be able to express some of the possible use cases. For example, currently we can express the following: The given module is not compatible with its previous version but it's compatible with the version prior to its previous version.

We need a more flexible semantic support to express module compatibility. In Update Center 2.0 we should support the following semantics-

For the given module, we should be able to say-

Module is compatible with:

  • = 2.1

Here, the given module is compatible with its previous versions 2.1

  • > 3.0

Here, the given module is compatible with its previous versions greater than 3

  • < 4.5

Here, the given module is compatible with its previous versions less than 4.5

We should also be able to use above semantics as a comma separated list. For example, compatibility for the given module can be expressed as

  • < 2.5, = 3.0, = 4.0, > 8.0

Here, the given module is compatible with any of it's previous version if its- less than 2.5, or equal to 3.0, or equal to 4.0 or greater than 8.0

Please note we are referring to specification version in the above examples.

Topic ModuleCompatibility . { Edit | Ref-By | Printable | Diffs r1 | More }
 XML java.net RSS

Revision r1 - 04 Oct 2007 - 04:38:00 - Main.rajeshwar
Parents: WebHome > Updatecenter