Re: Optimizing the integration tests

2014-02-07 Thread Christian Kaltepoth
Hey Ron, thanks for sharing these details. I created a separate arquillian.xml file for AS7 and JBoss. https://github.com/apache/deltaspike/commit/ce875fde3fe5421c6d12bd43019fedaee8af5923 I guess this setup should work fine now. Christian 2014-02-04 10:18 GMT+01:00 Ron Smeral : > Christian,

[jira] [Commented] (DELTASPIKE-519) ClassLoader leak in ClassDeactivationUtils

2014-02-07 Thread Romain Manni-Bucau (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894508#comment-13894508 ] Romain Manni-Bucau commented on DELTASPIKE-519: --- excepted startup loader

[jira] [Commented] (DELTASPIKE-519) ClassLoader leak in ClassDeactivationUtils

2014-02-07 Thread Moritz Bechler (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894507#comment-13894507 ] Moritz Bechler commented on DELTASPIKE-519: --- Did not see this one during mem

Fwd: Fail to compile DS under windows

2014-02-07 Thread Jean-Louis MONTEIRO
Hello guys, at the office, i'm using Windows to develop. When I try to clone the repo and just fire a build with "mvn clean install" It fails with the following [INFO] --- maven-surefire-plugin:2.11:test (default-test) @ deltaspike-cdictrl-weld --- [INFO] Surefire report directory: D:\cygwin\tmp\d

[jira] [Created] (DELTASPIKE-520) test proxy handling

2014-02-07 Thread Gerhard Petracek (JIRA)
Gerhard Petracek created DELTASPIKE-520: --- Summary: test proxy handling Key: DELTASPIKE-520 URL: https://issues.apache.org/jira/browse/DELTASPIKE-520 Project: DeltaSpike Issue Type: Task

[jira] [Resolved] (DELTASPIKE-517) improved weld-support

2014-02-07 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek resolved DELTASPIKE-517. - Resolution: Fixed > improved weld-support > - > >

[jira] [Commented] (DELTASPIKE-519) ClassLoader leak in ClassDeactivationUtils

2014-02-07 Thread Romain Manni-Bucau (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894475#comment-13894475 ] Romain Manni-Bucau commented on DELTASPIKE-519: --- I think we have it for

[jira] [Created] (DELTASPIKE-519) ClassLoader leak in ClassDeactivationUtils

2014-02-07 Thread Moritz Bechler (JIRA)
Moritz Bechler created DELTASPIKE-519: - Summary: ClassLoader leak in ClassDeactivationUtils Key: DELTASPIKE-519 URL: https://issues.apache.org/jira/browse/DELTASPIKE-519 Project: DeltaSpike

[jira] [Updated] (DELTASPIKE-480) view-config validation

2014-02-07 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-480: Attachment: (was: DELTASPIKE-480.patch) > view-config validation >

[jira] [Updated] (DELTASPIKE-480) view-config validation

2014-02-07 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-480: Attachment: DELTASPIKE-480.patch > view-config validation > ---

Re: AW: Interceptors not being called in JUnit-aware CDI environment

2014-02-07 Thread Romain Manni-Bucau
Side note: you can also use a JUnit @Rule ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-07 Gerhard Petracek : > hi heiko, > > you can use CdiTestRunner + configure

Re: AW: Interceptors not being called in JUnit-aware CDI environment

2014-02-07 Thread Gerhard Petracek
hi heiko, you can use CdiTestRunner + configure true for: deltaspike.testcontrol.use_test_class_as_cdi_bean regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-02-07 :

Re: [DISCUSS] DeltaSpike Launch Module

2014-02-07 Thread Thomas Hug
Yeah +1 on data, reminds me that transactional repositories are stuck in my todo list :-P Will pick it up again in a new thread. On Fri, Feb 7, 2014 at 10:11 AM, Jean-Louis MONTEIRO wrote: > +1 for DS Data. Really required to get it usable in JTA context. > > JLouis > > > 2014-02-07 10:02 GMT+01

Re: [DISCUSS] DeltaSpike Launch Module

2014-02-07 Thread Jean-Louis MONTEIRO
+1 for DS Data. Really required to get it usable in JTA context. JLouis 2014-02-07 10:02 GMT+01:00 Romain Manni-Bucau : > not only, data module for insatnce is not that usable while not linked > to transactions so we need to see how we link modules between themself > (basically that's done for

Re: [DISCUSS] DeltaSpike Launch Module

2014-02-07 Thread Romain Manni-Bucau
not only, data module for insatnce is not that usable while not linked to transactions so we need to see how we link modules between themself (basically that's done for security at least) and get something working out of the box (a basic JTA integration and another one with @Transactional would be

Re: [jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-07 Thread Romain Manni-Bucau
@JL it should be running with snapshot too Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-07 Jean-Louis MONTEIRO : > Sure, I cannot commit, so for now, my patch is run

AW: AW: Interceptors not being called in JUnit-aware CDI environment

2014-02-07 Thread it-media . kopp
Hello Mark, thank you for your input. Your idea would have been much easier than what I did :-) When you write a Junit Runner, you have the ability to control the test class creation by overwriting createTest() and returning your instance. By default this is simply the newInstance() call for t

Re: [DISCUSS] DeltaSpike Launch Module

2014-02-07 Thread Jean-Louis MONTEIRO
+1 The core is very stable. Users are afraid by 0.5 or 0.6 in terms of quality. >From my experience with DS, core module at least is very stable. JSF and Data work fine as well. Currently, we don't have a 1.0 mainly because some other modules are not totally merged nor stable maybe, right? Jean-L

Re: [jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-07 Thread Jean-Louis MONTEIRO
Sure, I cannot commit, so for now, my patch is running fine locally ;-) On Monday I can just refresh my local repo and recompile everything. Thanks anyway. JLouis 2014-02-07 Thomas Hug : > If it can wait 'til the weekend I can pick it up :-) > > > On Fri, Feb 7, 2014 at 9:21 AM, Jean-Louis MONT

Re: [jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-07 Thread Thomas Hug
If it can wait 'til the weekend I can pick it up :-) On Fri, Feb 7, 2014 at 9:21 AM, Jean-Louis MONTEIRO wrote: > Thanks Thomas. > Will you do that yourself, or do you want me to do the arquillian test and > submit a new patch? > > JLouis > > > 2014-02-07 Thomas Hug (JIRA) : > > > > > [ > >

Re: [DISCUSS] DeltaSpike Launch Module

2014-02-07 Thread Mark Struberg
Agree, it sounds good but I'd rather focus on (finnally!) shipping DS-1.0 for now. I'll give it a tough test drive in the next weeks to see what we miss before the milestone. John, you could probably do a draft on github? LieGrue, stru On Friday, 7 February 2014, 6:15, Romain Manni-Bucau

Re: AW: Interceptors not being called in JUnit-aware CDI environment

2014-02-07 Thread Mark Struberg
Hi Heiko! Afaik all unit runners (junit, testng) do create and manage the test class instances themselfs. We only do injection into those existing instances. With other words: we just fill the injection points. Whenever I need to have an intercepted method, I create a public static inner class

Re: [jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-07 Thread Jean-Louis MONTEIRO
Thanks Thomas. Will you do that yourself, or do you want me to do the arquillian test and submit a new patch? JLouis 2014-02-07 Thomas Hug (JIRA) : > > [ > https://issues.apache.org/jira/browse/DELTASPIKE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedComme

[jira] [Commented] (DELTASPIKE-518) DS Data should support Wrapped JPA APIs

2014-02-07 Thread Thomas Hug (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894286#comment-13894286 ] Thomas Hug commented on DELTASPIKE-518: --- Looks good. I'd prefer an Arquillian te

AW: Interceptors not being called in JUnit-aware CDI environment

2014-02-07 Thread it-media . kopp
Hey Romain, that was the missing piece of the puzzle and lets me step down in embarrassment for such an idiotic mistake. I've had the assumtion that for a maven surefire test, the beans.xml provided in src/main/resources/META-INF which IS obviously used, is enough, but after you pointed this ou