February 8, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28

[00:04:16] *** cwash has quit IRC
[00:06:07] *** aslak has quit IRC
[00:30:55] *** lfryc has quit IRC
[00:42:06] *** ldimaggi_ has joined #jbosstesting
[00:57:33] *** lightguard_jp has quit IRC
[01:24:34] *** johnament has joined #jbosstesting
[02:16:34] *** michaelschuetz has quit IRC
[02:52:17] *** johnament has quit IRC
[03:09:34] *** dblevins has quit IRC
[04:37:20] *** dblevins has joined #jbosstesting
[05:49:55] *** ldimaggi_ has quit IRC
[06:11:11] *** maeste_afk has quit IRC
[06:26:33] *** maeste_afk has joined #jbosstesting
[06:40:23] *** maeste_afk has quit IRC
[07:41:51] *** kpiwko1 has joined #jbosstesting
[07:42:48] *** maeste has joined #jbosstesting
[07:44:47] *** oskutka has joined #jbosstesting
[08:05:42] *** jharting has joined #jbosstesting
[08:14:29] *** ge0ffrey has joined #jbosstesting
[08:20:24] *** mgoldmann has joined #jbosstesting
[08:21:31] *** vtunka has joined #jbosstesting
[08:40:56] *** Jaikiran has joined #jbosstesting
[09:16:34] *** GTobi has joined #jbosstesting
[09:47:05] *** lfryc has joined #jbosstesting
[10:02:46] *** wolfc has joined #jbosstesting
[10:04:11] *** jeand has joined #jbosstesting
[10:05:29] *** michaelschuetz has joined #jbosstesting
[10:12:36] *** jeand has quit IRC
[10:12:36] *** jeand has joined #jbosstesting
[10:22:00] *** mgoldmann has quit IRC
[10:32:53] *** ge0ffrey has quit IRC
[10:33:42] *** ge0ffrey has joined #jbosstesting
[10:37:09] *** maeste has quit IRC
[10:39:17] *** aslak has joined #jbosstesting
[10:41:45] *** ge0ffrey has quit IRC
[10:42:38] *** ge0ffrey has joined #jbosstesting
[10:50:24] *** maeste has joined #jbosstesting
[11:00:28] *** michaelschuetz has quit IRC
[11:00:35] *** michaelschuetz has joined #jbosstesting
[11:01:50] *** GTobi has quit IRC
[11:40:38] *** kenglxn has joined #jbosstesting
[11:41:08] <kenglxn> aslak: hey
[11:41:23] <kenglxn> what license is the Query stuff under?
[11:41:33] <kenglxn> https://github.com/aslakknutsen/Query
[11:54:01] <aslak> kenglxn, heya..
[11:54:06] <aslak> kenglxn, APL2
[11:54:10] <aslak> https://github.com/aslakknutsen/Query/blob/master/api/src/main/java/org/jboss/query/api/Annotated.java
[11:54:29] <kenglxn> cool thx :)
[11:54:37] <aslak> kenglxn, you find it useful?
[11:55:00] <kenglxn> yes, we are doing some reflection in rest api validation layer
[11:55:09] <kenglxn> I think we will end up using it there
[11:55:11] <kenglxn> :)
[11:55:14] <aslak> aa cool
[11:55:25] <kenglxn> I'll let you know :)
[12:05:08] <michaelschuetz> aslak: ping
[12:05:13] <aslak> michaelschuetz, heya
[12:05:28] <michaelschuetz> aslak: is it possible to deploy something.xml with arquillian?
[12:05:41] <aslak> michaelschuetz, not in Alpha2
[12:05:43] <aslak> 4 sorry
[12:05:57] <michaelschuetz> aslak: ok. not even dirrty workaround?
[12:06:14] <aslak> in .next we have @Deployment public static Descriptor something() { Descriptors.create(SomeDescirptorType.class)}
[12:06:26] <michaelschuetz> aslak: is it scheduled for beta1?
[12:06:27] <aslak> michaelschuetz, well, depends on what something.xml is
[12:06:30] <aslak> michaelschuetz, yea
[12:06:48] <aslak> michaelschuetz, and depends on which container
[12:07:08] <michaelschuetz> aslak: *queues-service.xml
[12:07:19] <michaelschuetz> aslak: JBoss AS 5.1
[12:07:32] <aslak> michaelschuetz, if you place it in META-INF it should be read
[12:07:52] <aslak> maybe it needs to be called jboss-services.xml or jboss-beans.xml don't remember
[12:08:24] <aslak> Jaikiran, ^
[12:08:33] <michaelschuetz> aslak: EAR/Meta-INFO you mean?
[12:08:54] <Jaikiran> aslak: michaelschuetz: any *-service.xml in META-INF (case sensitive) will be picked up
[12:09:16] <aslak> Jaikiran, and that's in ANY META-INF righ t?
[12:09:24] <aslak> ear, jar, war, rar
[12:09:24] <Jaikiran> right
[12:09:27] <Jaikiran> yep
[12:09:31] <aslak> thans
[12:09:34] <aslak> thanks
[12:09:40] <Jaikiran> you're welcome :)
[12:16:35] <michaelschuetz> thanks
[12:16:39] <michaelschuetz> interesting
[12:17:13] <aslak> Jaikiran, do you know if this was removed for 6 btw? i thought i remember Jesper talking about it
[12:17:31] <Jaikiran> aslak: it's still there in AS6
[12:17:38] <michaelschuetz> agree, technically. Hm, but do not want to bind JMS-Queu tight to my application, usually
[12:17:52] <Jaikiran> picking up of *-service.xml is managed outside of JCA layer in AS
[12:18:26] <michaelschuetz> ok, thanks a lot.
[12:18:56] <aslak> Jaikiran, yea, i just thought he said the scanning for service.xml was going away..  maybe i misunderstood his point
[12:19:17] <Jaikiran> aslak: I think he meant it for AS7
[12:19:27] <aslak> that could be
[12:48:39] *** michaelschuetz has quit IRC
[12:48:53] <kpiwko1> aslak, heya
[12:49:07] <aslak> kpiwko1, heya
[12:49:25] *** michaelschuetz has joined #jbosstesting
[12:49:39] *** pmuir has joined #jbosstesting
[12:49:39] *** pmuir has quit IRC
[12:49:39] *** pmuir has joined #jbosstesting
[12:49:49] <aslak> pmuir, good morning
[12:50:19] <kpiwko1> aslak, I'm going through code of all containers to add validate() method to their configuration...I'll add undeploy(Descriptor desc) and deploy(Descriptor desc) stub methods to containers as well, is that ok?
[12:50:22] *** kpiwko1 is now known as kpiwko
[12:50:41] *** bgeorges has joined #jbosstesting
[12:51:17] <aslak> pmuir, your mr cdi, i have to verify stuff with you.. a war bean archive and a ear bean archive packaged in a ear as modules, the war should be able to inject the ejb using @EJB right ?
[12:51:29] <aslak> ear bean archive / ejb bean archive
[12:53:20] <aslak> pmuir, that being a No interface Stateless bean
[12:54:09] <pmuir> and it's a cdi bean in the war?
[12:54:15] <aslak> kpiwko, your adding a impl method to all the ContainerConfigurations ? the deploy/undeploy stubs should be there. or depends on what you mean by stub ?
[12:54:34] <aslak> pmuir, no cdi beans in the war, but the war is a bean archive
[12:54:54] <pmuir> erm
[12:55:05] <pmuir> what is doing the @EJB inject in the war?
[12:55:54] <aslak> CDIInjectionEnricher, non contextual.. it finds the bean manager in jndi, and does a non contextual injection without errors, but the result is a null @EJB
[12:57:22] <kpiwko> aslak, yes, I made method validate() throws ConfigurationException a part of the ContainerConfiguration interface ... stub method is basically what I see in jbossas-remote-6 , that is a method with empty body and // TODO comment inside ... these descriptor based deploy/undeploy methods are missing in most of the containers
[12:57:55] <aslak> kpiwko, missing really ? example
[12:58:37] <pmuir> aslak: hmm, i'll have to check the sepc
[12:58:38] <pmuir> spec
[12:59:28] <aslak> pmuir, it works if the ejb is packaged in the war it self.. i'm not sure why it being packaged in a ear should matter. it's still within its visibility..
[13:00:03] <kpiwko> i checked out aslakknutsen/the_bigger picture, for example jbossas-remote-5 has deploy(String), deploy(Archive<?>) but no deploy(Descriptor)
[13:00:07] <kpiwko> aslak: ^
[13:01:01] <aslak>  kpiwkohttps://github.com/aslakknutsen/arquillian/blob/the_bigger_picture/containers/jbossas-remote-5/src/main/java/org/jboss/arquillian/container/jbossas/remote_5_0/JBossASRemoteContainer.java
[13:01:49] <aslak> kpiwko: https://github.com/aslakknutsen/arquillian/blob/the_bigger_picture/containers/jbossas-remote-5/src/main/java/org/jboss/arquillian/container/jbossas/remote_5_0/JBossASRemoteContainer.java
[13:01:50] <aslak> :)
[13:08:07] <kpiwko> aslak: it seems like a problem between a chair and computer to me ;), because after fetch/merge with already up-to-date messages the content is correct
[13:08:32] <aslak> :)
[13:09:38] <aslak> kpiwko, you can add the validation call in Container.createDeployableConfiguration, or possible ContainerLifecycleController. setupContainer
[13:12:59] <kpiwko> aslak, I did the first
[13:13:42] <aslak> sure..:)
[13:15:52] *** bgeorges has quit IRC
[13:21:39] *** kpiwko has quit IRC
[13:22:42] <lfryc> aslak: Hi Aslak, initial version of Ajocado uploaded successfully - CI builds setup :-)
[13:23:29] <lfryc> aslak: thanks for managing repos
[13:27:35] <aslak> lfryc, yea, i saw.. :)
[13:28:21] <aslak> lfryc, missing the arq-integration folder tho.. ;)
[13:28:28] <lfryc> aslak: me and Karel need to manage to have integration ready by Saturday on Developer Conference
[13:28:38] <lfryc> aslak: the integration will be on level of arq-selenium
[13:28:55] <aslak> lfryc, a yes of course.. :)
[13:29:09] <aslak> lfryc, which conf?
[13:29:39] <lfryc> aslak: http://fedoraproject.org/wiki/DeveloperConference2011
[13:30:07] <lfryc> local conference held by RedHat
[13:30:36] <aslak> cool, two talks
[13:30:37] <aslak> :)
[13:31:08] <aslak> or one talk one workshop
[13:32:12] <aslak> lfryc, any of you guys going to geecon ?
[13:33:01] <aslak> brb, food
[13:39:54] <pmuir> aslak: it should work
[13:40:10] <pmuir> what container?
[13:40:37] <lfryc> aslak: I would rather attend Confess
[13:49:04] *** mgoldmann has joined #jbosstesting
[14:18:37] *** michaelschuetz has quit IRC
[14:27:39] <aslak> pmuir, works in jboss, fails in gf embedded 3.1-rc2
[14:28:03] <pmuir> interesting, start a thread with siva I think
[14:28:16] <aslak> pmuir, yea, i'll report a jira
[14:28:39] <pmuir> i would start a thread first, as this is an area that has proven complex in the past
[14:28:41] <pmuir> worth discussing
[14:28:42] <aslak> pmuir, 3.1-rc2 also has the alternative beans issue i spoke about yesterday
[14:28:48] <pmuir> ok
[14:28:50] <aslak> aa ok
[14:28:51] <aslak> sure
[14:30:33] *** ge0ffrey has quit IRC
[14:30:34] *** ldimaggi_ has joined #jbosstesting
[14:37:59] *** ldimagg__ has joined #jbosstesting
[14:38:50] *** bgeorges has joined #jbosstesting
[14:43:21] *** ge0ffrey has joined #jbosstesting
[15:06:29] *** pmuir has quit IRC
[15:17:54] *** ldimaggi_ has quit IRC
[15:24:53] *** rruss has joined #jbosstesting
[15:29:10] <kenglxn> aslak: ping
[15:29:16] <aslak> kenglxn, pong
[15:29:26] <kenglxn> aslak: awesome stuff in the Query api
[15:29:29] <kenglxn> :)
[15:29:52] <kenglxn> one quick question
[15:29:58] *** pmuir has joined #jbosstesting
[15:29:58] *** pmuir has quit IRC
[15:29:58] *** pmuir has joined #jbosstesting
[15:30:12] <aslak> kenglxn, shoot
[15:30:19] <kenglxn> does it support inheritance?
[15:31:09] <aslak> kenglxn, e.g Query for a Field of type Object and find Cow ?
[15:31:15] <aslak> :)
[15:32:28] <kenglxn> no, other way
[15:32:51] <kenglxn> i mean in the run
[15:33:02] <aslak> sub query ?
[15:33:05] <kenglxn> so now i have to do run(classes)
[15:33:31] <kenglxn> e.g.:Query.forField().withAnnotation(Element.class).run(classes);
[15:33:50] <kenglxn> where classes is the Cow, and Animal classes
[15:34:17] <kenglxn> I want to just supply Cow, and have it pick up on fields in Animal as well
[15:34:30] <kenglxn> Query.forField().withAnnotation(Element.class).run(Cow.class);
[15:34:47] <kenglxn> where Cow <- Animal <- Object
[15:34:57] <aslak> that should work
[15:35:18] <kenglxn> ok, I'll have another look
[15:35:32] <aslak> well no
[15:36:02] <aslak> it uses getDeclaredFields which does not included inherited fields
[15:36:27] <kenglxn> cool
[15:38:35] <aslak> tricky question..
[15:39:34] <kenglxn> would be nice with maybe an overloaded version
[15:39:56] <kenglxn> that supports inheritance as well
[15:39:57] <aslak> i see it would be nice to scan the class hierarchy if the given class, but then run(Class) is not a strict filter anymore
[15:40:07] <kenglxn> true
[15:40:40] <aslak> it will find both filed if you add both classes t orun(), because they are scanned individually..
[15:40:58] <kenglxn> i understand
[15:41:32] <kenglxn> perhaps a util method
[15:42:09] <kenglxn> i mean instead of run(classes) run(getHierarchy(Cow.class))
[15:42:22] <kenglxn> maybe not as pretty
[15:42:41] <aslak> well that would be the current workaround
[15:45:11] <aslak> a bit inconsistent here as well i see. Field and Method typed use equals, while Class use assignableFrom
[15:45:48] <kenglxn> what would be the best way to do getHierarchy(Cow.class) in the Query api
[15:45:54] <kenglxn> is there something for that?
[15:47:01] <aslak> no nothing exposed no..
[15:48:00] <aslak> kenglxn, but something alla: https://github.com/aslakknutsen/arquillian/blob/the_bigger_picture/impl-base/src/main/java/org/jboss/arquillian/impl/core/Reflections.java
[15:48:27] <aslak> no, sorry, that's only for methods/fields
[15:48:57] <kenglxn> i saw that ReflectionClassQuery had something
[15:49:19] <kenglxn> no maybe not
[15:49:32] <aslak> a little recursive method should do
[15:51:05] <aslak> public List<Class<?>> hierarchy(Class<?> ...) { list ; for each class add to list; list.addAll(hierarchy(class.getSuperClass())) return list;}
[15:51:22] <aslak> ish
[15:51:45] <kenglxn> that oughta do it
[15:52:53] <aslak> and maybe start of with a if(class == null || Class == Object.class) continue
[15:55:29] <kenglxn> would be nice if that was available through Query.forClass(X.class).hierarchy()
[15:55:31] <kenglxn> :)
[15:56:03] <aslak> go scala or ruby... :)
[16:02:20] <kenglxn> hehe :)
[16:12:29] <kenglxn> thanks again for the help and the great api
[16:12:41] <aslak> :)
[16:12:50] <kenglxn> the guys over here thought it was pretty sweet as well :)
[16:13:33] *** kenglxn has left #jbosstesting
[16:13:35] <aslak> it's so simple.. hehe
[16:18:05] *** Jaikiran has quit IRC
[16:23:02] *** kenglxn has joined #jbosstesting
[16:23:08] *** kenglxn has left #jbosstesting
[16:28:37] *** maeste has quit IRC
[16:41:58] *** maeste has joined #jbosstesting
[16:45:02] *** pmuir has quit IRC
[16:45:23] *** pmuir has joined #jbosstesting
[16:51:52] *** maeste has quit IRC
[17:01:01] *** vtunka has quit IRC
[17:17:14] *** kpiwko has joined #jbosstesting
[17:25:03] *** pmuir has quit IRC
[17:45:25] *** jharting has quit IRC
[17:46:53] *** oskutka has quit IRC
[17:58:26] *** aslak has quit IRC
[17:59:06] *** aslak has joined #jbosstesting
[18:00:37] *** aslak has quit IRC
[18:01:40] *** aslak has joined #jbosstesting
[18:02:27] *** rruss has quit IRC
[18:07:05] *** aslak has quit IRC
[18:08:06] *** aslak has joined #jbosstesting
[18:16:13] *** aslak has quit IRC
[18:17:00] *** aslak has joined #jbosstesting
[18:21:11] *** aslak has quit IRC
[18:21:55] *** aslak has joined #jbosstesting
[18:24:20] *** aslak has quit IRC
[18:25:06] *** aslak has joined #jbosstesting
[18:29:01] *** aslak has quit IRC
[18:29:41] *** aslak has joined #jbosstesting
[18:37:35] *** rruss has joined #jbosstesting
[18:39:06] *** aslak has quit IRC
[18:39:48] *** aslak has joined #jbosstesting
[18:41:26] *** aslak has quit IRC
[18:42:11] *** aslak has joined #jbosstesting
[18:44:39] *** lightguard_jp has joined #jbosstesting
[18:47:45] *** aslak has quit IRC
[18:48:36] *** aslak has joined #jbosstesting
[18:52:13] *** aslak has quit IRC
[18:52:55] *** aslak has joined #jbosstesting
[18:55:18] *** ALR has joined #jbosstesting
[18:55:48] *** aslak has quit IRC
[18:56:16] *** jbossbot has quit IRC
[19:09:35] *** jbossbot has joined #jbosstesting
[19:12:44] *** aslak has joined #jbosstesting
[19:18:57] *** aslak has quit IRC
[19:19:52] *** aslak has joined #jbosstesting
[19:27:59] *** aslak has quit IRC
[19:28:38] *** aslak has joined #jbosstesting
[19:30:50] *** aslak has quit IRC
[19:31:38] *** aslak has joined #jbosstesting
[19:37:03] *** aslak has quit IRC
[19:37:38] *** aslak has joined #jbosstesting
[19:44:07] *** aslak has quit IRC
[19:44:08] *** jbossbot has quit IRC
[19:44:47] *** aslak has joined #jbosstesting
[19:48:15] *** jbossbot has joined #jbosstesting
[20:24:03] *** kpiwko has quit IRC
[20:48:29] *** ge0ffrey has quit IRC
[20:50:17] *** dmlloyd has quit IRC
[20:50:45] *** dmlloyd has joined #jbosstesting
[20:51:29] *** jbossbot has quit IRC
[20:51:57] *** jbossbot has joined #jbosstesting
[21:09:10] *** oskutka has joined #jbosstesting
[21:12:10] *** oskutka has quit IRC
[21:36:41] *** ldimagg__ has quit IRC
[21:46:25] *** cwash has joined #jbosstesting
[21:58:37] *** pmuir has joined #jbosstesting
[21:58:37] *** pmuir has quit IRC
[21:58:37] *** pmuir has joined #jbosstesting
[22:05:12] *** pmuir has quit IRC
[22:07:11] *** maeste has joined #jbosstesting
[22:08:26] *** pmuir has joined #jbosstesting
[22:30:56] *** michaelschuetz has joined #jbosstesting
[22:34:43] *** pmuir has quit IRC
[22:38:07] *** maeste has quit IRC
[22:43:31] *** pmuir has joined #jbosstesting
[22:43:31] *** pmuir has quit IRC
[22:43:31] *** pmuir has joined #jbosstesting
[22:45:31] *** pmuir has quit IRC
[22:52:53] *** stuartdouglas has left #jbosstesting
[22:53:08] *** stuartdouglas has joined #jbosstesting
[23:21:47] *** ALR has quit IRC
[23:37:29] *** pmuir has joined #jbosstesting
[23:37:29] *** pmuir has quit IRC
[23:37:29] *** pmuir has joined #jbosstesting
[23:51:42] *** cwash has quit IRC
[23:58:53] *** lfryc has quit IRC
[23:59:52] *** bgeorges has quit IRC

top