[jboss-user] [JBoss Seam] - Reporting Seam version

baz do-not-reply at jboss.com
Wed Mar 21 06:57:32 EDT 2007

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:
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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030183#4030183

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030183

More information about the jboss-user mailing list