ActiveMQ
  1. ActiveMQ
  2. AMQ-1041

Detailed version info within both tarball and within jar-files, and possible version-naming of jars

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 5.x
    • Component/s: None
    • Labels:
      None
    • Environment:

      n/a

      Description

      I can't find a file detailing which exact version of activeMQ I've uncompressed.

      The actual 4.1 tarball currently have a filename "apache-activemq-4.1-incubator-SNAPSHOT", not including anything more specific.

      Inside the tarball there's nothing detailing what exact version we're at. The same goes for the jar-files themselves.

      NOTE: All this "as far as I can see" - I might have missed the obvious spot. If so, sorry.

      Inside the "full jar", the META-INF/MANIFEST.MF just states:

      Manifest-Version: 1.0
      Archiver-Version: Plexus Archiver
      Created-By: Apache Maven
      Built-By: chirino
      Build-Jdk: 1.5.0_06
      

      The information in these files are the information that will show up in the java.lang.Package object for the Classes that was loaded from the jar in question, and its methods getSpecification[Title|Vendor|Version]() and getImplementation[Title|Vendor|Version]() - which is nothing for activemq due to this info completely missing.

      In comparison, here's a bunch of better manifests:

      Log4j: "log4j-1.2.12.jar" (note the version in the jar-name too, which is perfect) (This MANIFEST file have missing date and Spec-triplet):
      Manifest-Version: 1.0

      Ant-Version: Apache Ant 1.6.4
      Created-By: 1.3.1_16-b06 (Sun Microsystems Inc.)
      
      Name: org/apache/log4j/
      Implementation-Title: log4j
      Implementation-Version: 1.2.12
      Implementation-Vendor: "Apache Software Foundation"
      

      And here's the spring jar actually included with the activemq distro (2.0), which is called "spring-2.0.jar" (has missing date, spec-triplet):
      Manifest-Version: 1.0

      Ant-Version: Apache Ant 1.6.5
      Created-By: 1.5.0_08-b03 (Sun Microsystems Inc.)
      Implementation-Title: Spring Framework
      Implementation-Version: 2.0
      Spring-Version: 2.0
      Premain-Class: org.springframework.instrument.InstrumentationSavingAgent
      

      Here's a version of JGoodies Looks, which has the best MANIFEST.MF file of the lot (it defines both Spec and Impl, perfect). The file's name is "looks-2.0-beta.jar". (The last piece of information that would have been nice is explicit build-date, but presumably the date mentioned in "Implementation-Version" is it (this is also definately the correct thing to do).):

      Manifest-Version: 1.0
      Ant-Version: Apache Ant 1.6.5
      Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
      Built-By: Karsten
      Specification-Title: JGoodies Looks API Specification
      Specification-Vendor: JGoodies Karsten Lentzsch
      Specification-Version: 2.0
      Implementation-Title: JGoodies Looks
      Implementation-Vendor: JGoodies Karsten Lentzsch
      Implementation-Version: 2.0-beta 2006-01-29 10:40:27
      

      In addition, it would be good if one of the txt-files of the root in the tarball included all this information, and more. Everything about the build and its environment is nice to have, including but not limited to all versions, checkout date, build date, full environment, user, OS, OS-version, JVM-version - the lot.

      There are no Sub-Tasks for this issue.

        Activity

        Claus Ibsen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Bruce Snyder [ bsnyder ] Claus Ibsen [ davsclaus ]
        Fix Version/s 5.x [ 12316331 ]
        Fix Version/s NEEDS_REVIEWED [ 12315630 ]
        Resolution Fixed [ 1 ]
        Jeff Turner made changes -
        Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
        Rob Davies made changes -
        Fix Version/s NEEDS_REVIEWED [ 12186 ]
        Fix Version/s 5.4.0 [ 12110 ]
        Bruce Snyder made changes -
        Fix Version/s AGING_TO_DIE [ 12187 ]
        Assignee Bruce Snyder [ bsnyder ]
        Fix Version/s 5.4.0 [ 12110 ]
        Bruce Snyder made changes -
        Link This issue is related to AMQ-1903 [ AMQ-1903 ]
        Bruce Snyder made changes -
        Fix Version/s 5.4.0 [ 12110 ]
        Fix Version/s AGING_TO_DIE [ 12187 ]
        Gary Tully made changes -
        Fix Version/s 5.3.0 [ 11914 ]
        Fix Version/s 5.4.0 [ 12110 ]
        Gary Tully made changes -
        Fix Version/s 5.2.0 [ 11841 ]
        Fix Version/s 5.3.0 [ 11914 ]
        Rob Davies made changes -
        Field Original Value New Value
        Fix Version/s 5.2.0 [ 11841 ]
        Endre Stølsvik created issue -

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Endre Stølsvik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development