Hi,
At 07:31 21.3.2001 +0100, you wrote:
>I am using the following ant-taget to verify my EJBs:
>
> <target name="verify" depends="jar">
> <java classname="org.jboss.verifier.Main"
> fork="true"
> dir="${jboss.home}/deploy">
> <arg value="${build.dir}/deploy/${name}.jar"/>
> <classpath>
> <pathelement location="${jboss.home}/lib/jaxp.jar"/>
> <pathelement location="${jboss.home}/lib/parser.jar"/>
> <pathelement location="${jboss.home}/bin/verifier.jar"/>
> <pathelement location="${jboss.home}/lib/ext/castor.jar"/>
> </classpath>
> </java>
> </target>
This is what I do as well. Seemed to work, so I haven't written a specific
ant task for it yet. Maurice, if you're interested in doing that, we'll add
it to the CVS. Should be quite easy to do too.
>I have not managed to reuse the result of the verifier in ant
>with ant's failonerror switch. Maybe the verifier does not set
>returncodes?
No it doesn't, but that's easily fixable. Just 0|1 or do you need something
more fancy?
-- Juha
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user