-Dopenejb.conf.file=src/test/config/openejb.xml
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-02-09 14:30 GMT+01:00 mauro2java2011 <[email protected]>: > form a test with EJB , i read from the ouput console: > > * > INFO - Cannot find the configuration file [conf/openejb.xml]. Will attempt > to create one for the beans deployed.* > > Now suppose that i would set a custom datasource for test : > > I know that i can set resource like datasource with JNDI.properties ,or > also with properties that i put into the following code: > > * EJBContainer ejbContainer=EJBContainer.createEJBContainer(properties);* > > *now i ask: it is possible into the test package put a conf/openejb.xml or > conf/tomee.xml that is read with test?* > > > I not would use maven or arquillan . > i put all jars of openejb.4.7.1 into the classpath of test package. > > into the package test JUNIT i have to put a META-INF/conf/openejb.xml or > META/INF/conf/TOmee.xml??? > mauro > > > > > > > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/is-possible-to-put-a-conf-openejb-xml-or-conf-TOmee-xml-into-JUNITtest-package-tp4673726.html > Sent from the TomEE Users mailing list archive at Nabble.com.
