Rolf, just wondering how far along you got in converting the CaveatEmptor JPA/EJB3/Hibernate app from Ant to Maven... I've been working on this myself some this morning.
Were you ever 100% successful? Assuming you were, we should send your modified zip to Hibernate for inclusion on their download page. Also, why is the JBoss stuff only available on the Andromda repo? I'd hope JBoss would host it, or perhaps even Central. Wayne On 4/2/07, Thorsten Heit <[EMAIL PROTECTED]> wrote:
Hi Rolf, > this is not a junit test but a testng. > Transactions are handled in the testmethods themselves. > The error messages are not describing the real error. > The problem is that for some reason during the maven execution of the > test. > Testng and the embeddable ejb container have some conflicts but I don't > see why > I know this only by looking at the first error and having commented > out > a line in the second test (transaction.begin) than the second test fails > by > stating that a session bean was not bound/found. Sorry, but I don't know TestNG, only JUnit... According to the exception I'd assume that there _is_ a problem with correctly opening and closing the transaction. If not, then at least with the initialization and/or shutdown of your test class / test method... Without knowing your source I'm wondering whether your failing test class can run standalone or relies on others for doing its checks, for example via static initializers, during init/shutdown etc. Have you checked that? Cheers Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
