hossein,
we only test ejb's with cactus. we use cactus within an ear as such:
1. create ejb-jar file.
2. create cactified war file.
3. create ear with ejb-jar and cactified war.
4. use ant integration or browser integration to call cactified war to test
beans. for ant integration, we use the following:
<cactus fork="yes" earfile="${basedir.ejb.build}/ejb.ear" printsummary="yes"
failureproperty="tests.failed">
...
</cactus>
> -----Original Message-----
> From: hossein rahmani [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 10:12 AM
> To: cactus mailist
> Subject: cactus+ejb+hibernate
>
>
> hi,
> can we cactify a war file , then copy it in the ear file
> ,which include jar file <for ejb module> and sar file <for
> hibernate module>
> and then pass the address of ear file to the cactus ant task
>
> for example
> <cactus earfile="${target.dir}/hospital-cactified.ear"
> fork="yes" failureproperty="tests.failed"
> haltonerror="false" >
>
> bye
>
>
>
> ---------------------------------
> Find local movie times and trailers on Yahoo! Movies.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]