here the sample with hibernate: http://svn.apache.org/repos/asf/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/java/org/apache/openejb/arquillian/tests/hibernate/HibernateTest.java
the pom to get hibernate dependencies: http://svn.apache.org/repos/asf/openejb/trunk/openejb/arquillian/arquillian-tomee-tests/src/test/resources/hibernate-pom.xml the drawback: it needs to use reflection then (so for codi it means using manually the bean manager), not a big deal, just a little hack ;) - Romain 2012/8/14 dsh <[email protected]> > For those not familiar with ShrinkWrap (it's really an > Arquillian-related tool and not a tool that helps shrinking JavaScript > files): > > http://java.dzone.com/articles/using-shrinkwrap-maven > http://www.jboss.org/shrinkwrap/ > > PS: Adding a bit more of context information sometimes improves the > outcome of a discussion ;) > > Cheers > Daniel > > On Tue, Aug 14, 2012 at 11:55 AM, Romain Manni-Bucau > <[email protected]> wrote: > > Hi, > > > > currently bringing cody in our tests make a lot of them printing > stacktrace > > because in a lot of them we don't care about codi and even cdi. > > > > The solution are: > > 1) remove codi (-1) > > 2) use shrinkwrap maven + reflection (i'll try to push a hibernate test > > like it) > > 3) simply create an example project with the test > > > > wdyt? > > > > - Romain >
