openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eltonk <>
Subject include/exclude classpath
Date Thu, 23 Aug 2012 12:22:24 GMT
Hello there!

I was taking a look about the include/exclude classpath with the properties
"openejb.deployments.classpath.exclude" and
"openejb.deployments.classpath.include", but I'm not  able to solve the
problem by myself. :(

I have 2 properties files, called "". One of them in
main/resource (used by real application) and the other one in test/resource
(to test purposes).

In my test environment, I need exclude the first one (main/resource) because
the second one (test/resource) should be used.

I'm trying do it as follow:


The problem is that it isn't working. I'm not able to exclue the
"target/classes/" from test's classpath.

My doubt is if the "exclude" path has priority over "include" path. As I'm
seeing it's not true. Am I right?

If I'm right, how can I do something such that?

I'm using ebedded OpenEJB to my tests.

Thanks a lot!

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message