RE: Override annotations in ejb-jar.xml for a test case

2008-10-09 Thread Marcin Kwapisz
Hi, We don't have any functionality for supplying an alternate ejb-jar.xml for testing purposes. It's not a bad idea and is something we might be able to add after we get the 3.1 release out the door. [Marcin Kwapisz] My Maven2 profile is as follows. resource directs to folder

Re: Override annotations in ejb-jar.xml for a test case

2008-10-09 Thread David Blevins
On Oct 9, 2008, at 3:16 AM, Marcin Kwapisz wrote: Correct me if I am wrong: when ejb-jar is empty OpenEJB process all class files (in classes and test-classes) and looks for annotated EJBs. When ejb-jar is modified, OpenEJB process that file and looks for annotated EJBs in test-classes

Re: Override annotations in ejb-jar.xml for a test case

2008-10-08 Thread David Blevins
On Sep 22, 2008, at 5:33 AM, Marcin Kwapisz wrote: Hi, I would like to add an interceptor to my EJB but only in a test. I have separate ejb-jar.xml for tests and all my EJBs are annotated. We don't have any functionality for supplying an alternate ejb-jar.xml for testing purposes. It's