Hi Jon,

It's working :D
Found what's your problem. Actually, filtering now also works in Tomcat.
By default, we filter SystemApps with

if (filterSystemApps){
    urlSet =
urlSet.exclude(".*/openejb-[^/]+(.(jar|ear|war)(!/)?|/target/(test-)?classes/?)");
}

In the itest webapp, ejb modules are openejb-itests-(beans|servlet).
So they are just ignore.

To force OpenEJB to also scan beans in those jars, you need to add in the
web.xml
<context-param>
    <param-name>openejb.deployments.classpath.include</param-name>
    <param-value>.*openejb-itests-.*</param-value>
</context-param>

By the way, I also changed DeploymentResolver to change the order
include/exclude are applied regarding SystemApps.

I will do a full compile/run and give it another try with itest-runner.
I gonna let you know what's the result this afternoon.

Jean-Louis

-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/Current-tasks-and-status-tp3171647p3207001.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to