Arquillian and TomEE Embedded

2015-10-07 Thread jieryn
Is there a way to leverage TomEE's exclusions.list when running the embedded container via Arquillian?

Re: Arquillian and TomEE Embedded

2015-10-07 Thread Romain Manni-Bucau
Yep either configuring a conf folder with this file or using the system property - sorry on a phone and dont recall the exact name but can check later if you dont find it. Le 7 oct. 2015 20:35, "jieryn" a écrit : > Is there a way to leverage TomEE's exclusions.list when running the > embedded con

Re: Arquillian and TomEE Embedded

2015-10-07 Thread jieryn
Well, I already have src/main/tomee/conf/exclusions.conf. Do I have to shrinkwrap add it somewhere? Sorry, I do not find the system property to define this location to pass it to the embedded container launched by Arq. Any tips are greatly appreciated! On Wed, Oct 7, 2015 at 2:47 PM, Romain Manni

Re: Arquillian and TomEE Embedded

2015-10-07 Thread Romain Manni-Bucau
did you set conf property to src/main/tomee/conf in arquillian.xml - not the default of the adapter which doesnt use a conf folder by default. property is openejb.additional.exclude=prefix1,prefix2 Romain Manni-Bucau @rmannibucau | Blog

Re: Arquillian and TomEE Embedded

2015-10-07 Thread jieryn
What is the property name for arquillian.xml? I have no arquillian.xml right now. Will try to pass to surefire the system property openejb.additional.exclude=pre1,pre2 On Wed, Oct 7, 2015 at 5:00 PM, Romain Manni-Bucau wrote: > did you set conf property to src/main/tomee/conf in arquillian.xml -

Re: Arquillian and TomEE Embedded

2015-10-07 Thread Romain Manni-Bucau
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd";> -1 -1 src/main/tomee/conf openejb.additional.exclude=prefix1,prefix2 Romain Manni-Bucau @rmannibucau

Re: Arquillian and TomEE Embedded

2015-10-08 Thread jieryn
No joy. I'm still seeing classes scanned at startup. I've tried with arquillian.xml, flavor with conf property and also openejb.additional.exclude property. Neither seemed to have any effect. I've tried with pom.xml and m-surefire-p configuration for systemProperties for openejb.additional.exclud

Re: Arquillian and TomEE Embedded

2015-10-09 Thread Romain Manni-Bucau
Hmm It is used in https://github.com/apache/tomee/blob/master/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ClasspathAsWebappTest.java Alternative is to use scan.xml, maybe easier in your case Le 9 oct. 2015 05:13, "jieryn" a écrit : > No joy. I'm still seeing classes scanned at