Depot Version
Home
Ant Tasks
Tools
API
Integration
 Apache Incubator > Depot > Version 

Depot Version: Java Versioning

Versioning Approaches

Depot Version supports a number of versioning approaches. Manual versioning is available to all, with no requirements -- simply enter a correctly formatted version into a manifest, or code. Automated versioning is available to folk who invest in learning tools, such as Ant. Here are some supported methods:

  • JAR Manifest information.
  • Integration via the Dynamic Version Interface.
  • Stamping the version of a package into the package (as a class).
  • Filename naming convention --e.g. foo-1.2.jar

Version Management Approaches

Depot Version supports a variety of versioning management approaches, from the manual to the fully automated:

  • Manual management - one edits/increments the Manifest (or hand produces a Version class).
  • Ant management - Ant tasks do the mundane work (vanilla ant, or Centipede antlibs)

by Adam R. B. Jack