1 Reply Latest reply on Mar 21, 2007 9:41 AM by Shane Bryzak

    Reporting Seam version

    Carsten Hoehne Master

      Hello,
      i have written a little utility for version reporting of jar files. This is the ant task which shows the usage:

      <target name="getversion">
       <java classname="de.bafz.utils.JarVersion"
       classpath="ant/jarversion.jar"
       outputproperty="bazversion.seam">
       <arg value="${webinf.dir}/lib/jboss-seam.jar" />
       </java>
       ....
       <echo>
       Facelets ${bazversion.facelets}
       Seam ${bazversion.seam}
       Hibernate ${bazversion.hibernate}
       Myfaces ${bazversion.myfaces}
       Tomahawk ${bazversion.tomahawk}
       </echo>
       </target>
      

      My problem: The output is:
      [echo] Facelets 1.1.12
       [echo] Seam No version available.
       [echo] Hibernate 3.2.1.ga (hibernate.org)
       [echo] Myfaces 1.1.4 (Apache Software Foundation)
       [echo] Tomahawk 1.1.3 (Apache Software Foundation)
      

      There is an jira entry which describes the problem:
      http://jira.jboss.org/jira/browse/JBSEAM-882
      By now, i have to hand edit the MANIFEST by hand to get my utility working for seam. It would be nice if this little change could be incorporated in the next seam release. Thanks
      Ciao,
      Carsten