Packaging Best Practices - Dependencies

Version 17 by ckamps
on Aug 23, 2009 15:53.

compared with
Current by dipol
on Sep 08, 2009 09:29.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View page history
The main benefit for using specific version constraints between packages your project produces is that it helps to avoid the situation where your customer ends up mixing packages from different project builds. Plus it makes it a bit easier for a customer to install packages from your project for a specific build (instead of just the latest).
If being specific is good then why not include the "2132" package/revision number? Because that locks you in a bit too much. By leaving that off you have the option of updating a single package (maybe with a bug fix) and bumping the revision number without needing to increment the dependency specification oin other packages that depend on the updated package.

h5. 5. Use looser version constraints for dependencies on packages delivered by other projects.

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact