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>
[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)
I'll add it in the next release.