This content has been marked as final.
Show 4 replies
-
1. Re: Excluding EJB deployment in unit test
mikkus70 Dec 10, 2009 4:25 PM (in response to rkilcoyne.rkilcoyne.mac.com)I haven't tried this, but EJB specs say that the ejb-jar.xml descriptor should override class-level annotations. I would try to add an ejb-jar.xml file to the test setup.
-
2. Re: Excluding EJB deployment in unit test
rkilcoyne.rkilcoyne.mac.com Dec 10, 2009 4:45 PM (in response to rkilcoyne.rkilcoyne.mac.com)Great idea -- I'll take a look! Thanks Emir!
-
3. Re: Excluding EJB deployment in unit test
rkilcoyne.rkilcoyne.mac.com Dec 10, 2009 7:47 PM (in response to rkilcoyne.rkilcoyne.mac.com)That did it, only the <depends> tag had to be added to a jboss.xml descriptor and a couple build script changes were necessary. -
4. Re: Excluding EJB deployment in unit test
mikkus70 Dec 10, 2009 11:42 PM (in response to rkilcoyne.rkilcoyne.mac.com)Good to know, as said is not something I've tried before, so it is good info to keep handy... thanks for the feedback.
Cheers