3 Replies Latest reply on Aug 27, 2008 2:45 PM by peterj

    Missing version number in jar-version.xml

    superdev

      I use JBoss4.2.3 GA in a project, and need to check the jar versions in the JBoss AS distribution. I read ar-version.xml and found the version for hibernate3.jar, but could not find version information for hibernate-annotations.jar and hibernate-entitymanager.jar. I also noticed there are also other jar items that do not have the referenced jar version information. I'm wondering whether the information is missing or by some reason it's written in this way and how can I get the version information of the jars. Thanks a lot in advance!

        • 1. Re: Missing version number in jar-version.xml
          peterj

          Most of the jar files contain a META-INF/manifest.mf file that identify the version for that jar file.

          • 2. Re: Missing version number in jar-version.xml
            henk53

            Wouldn't it be better to include this information in jar-versions.xml anyway, since that's where this information is also supposed to be, right? ;)

            I noticed though that jar-versions.xml for Jboss 5 beta 1 does contain the exact versions for the different Hibernate/JPA jars.

            • 3. Re: Missing version number in jar-version.xml
              peterj

               

              henk53 wrote:
              Wouldn't it be better to include this information in jar-versions.xml anyway, since that's where this information is also supposed to be, right? ;)


              This is known as preaching to the choir...

              henk53 wrote:
              jar-versions.xml ... does contain the exact versions for ...


              I have found that jar-versions.xml typically lists the JBossAS version number as the version number for the JARs that belong to JBoss, despite the fact that many of those JARs are in separate projects with their own release numbers. Makes it hard to determine what is included. But the manifest.mf seems to be more accurate.