tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Arquillian and TomEE Embedded
Date Fri, 09 Oct 2015 07:59:08 GMT
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" <jieryn@gmail.com> a écrit :

> 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.exclude. Nothing seems to
> work.
>
> Some new function required the addition of about 20mb of additional
> libraries to the WAR, and our tests went from about 1 minute to closer
> to 4 minutes. It's seriously impacting our flow.
>
> On Wed, Oct 7, 2015 at 5:04 PM, Romain Manni-Bucau
> <rmannibucau@gmail.com> wrote:
> > <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://jboss.org/schema/arquillian
> > http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> <container
> qualifier
> > ="tomee-embedded" default="true"> <configuration> <property
> name="httpPort"
> >>-1</property> <property name="stopPort">-1</property> <property
> name="conf"
> >>src/main/tomee/conf</property> <property name="properties">
> > openejb.additional.exclude=prefix1,prefix2 </property> </configuration>
> </
> > container></arquillian>
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > <http://www.tomitribe.com>
> >
> > 2015-10-07 23:02 GMT+02:00 jieryn <jieryn@gmail.com>:
> >
> >> 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
> >> <rmannibucau@gmail.com> wrote:
> >> > 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 <https://twitter.com/rmannibucau> |  Blog
> >> > <http://rmannibucau.wordpress.com> | Github <
> >> https://github.com/rmannibucau> |
> >> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> >> > <http://www.tomitribe.com>
> >> >
> >> > 2015-10-07 22:58 GMT+02:00 jieryn <jieryn@gmail.com>:
> >> >
> >> >> 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-Bucau
> >> >> <rmannibucau@gmail.com> wrote:
> >> >> > 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" <jieryn@gmail.com> a écrit
:
> >> >> >
> >> >> >> Is there a way to leverage TomEE's exclusions.list when running
> the
> >> >> >> embedded container via Arquillian?
> >> >> >>
> >> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message