I've coded an optional task for Ant that does the same thing as the
verifier. According to the Ant guys it would be best to add it to the JBoss
project, to avoid clashing with the Apache and LGPL license.
I've created a org.jboss.verifier.AntVerifier class that can be used in Ant
as follows:
<taskdef name='verify' classname='org.jboss.verifier.AntVerifier'/>
<verify>
<fileset dir='${build.lib}'>
<include name='*.ear'/>
</fileset>
<classpath>
<fileset dir='${lib.dir}'/>
</classpath>
</verify>
The classpath is optional and the fileset can be replaced with a 'file'
attribute to check only a single file.
Maurice le Rutte.
AntVerifier.java