October 19, 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 | 29 | 30 | 31

[00:09:03] *** rruss has joined #weld-dev
[00:23:47] *** kevinpollet has quit IRC
[00:24:48] *** jbott has joined #weld-dev
[00:27:01] *** struberg has quit IRC
[00:32:41] *** stuartdouglas has left #weld-dev
[00:36:58] *** stuartdouglas has joined #weld-dev
[02:14:05] *** alesj has quit IRC
[03:12:42] *** mbg has joined #weld-dev
[03:55:05] *** lincolnthree has left #weld-dev
[07:30:35] *** magesh has joined #weld-dev
[07:52:05] *** jbott has quit IRC
[07:53:08] *** jbott has joined #weld-dev
[08:05:26] *** mbg is now known as mbg|away
[08:06:04] *** mbg|away is now known as mbg
[08:07:15] *** magesh has quit IRC
[08:07:40] *** magesh has joined #weld-dev
[08:15:48] *** PeteRoyle has quit IRC
[08:24:45] *** mkouba has joined #weld-dev
[08:49:26] *** ge0ffrey has joined #weld-dev
[08:50:14] *** maschmid has joined #weld-dev
[09:01:00] *** maschmid has quit IRC
[09:07:06] *** struberg1 has joined #weld-dev
[09:11:41] *** struberg1 has quit IRC
[09:11:47] *** magesh1 has joined #weld-dev
[09:12:18] *** jbossbot has quit IRC
[09:13:16] *** jharting has joined #weld-dev
[09:13:38] *** magesh has quit IRC
[09:16:02] *** dmlloyd has quit IRC
[09:16:21] *** jbossbot has joined #weld-dev
[09:16:49] *** magesh1 has quit IRC
[09:18:07] *** dmlloyd has joined #weld-dev
[09:18:58] *** magesh has joined #weld-dev
[09:27:36] *** magesh1 has joined #weld-dev
[09:28:27] *** magesh has quit IRC
[09:36:42] *** struberg has joined #weld-dev
[09:41:19] *** alesj has joined #weld-dev
[09:59:54] *** emmanuel has joined #weld-dev
[10:00:28] *** oskutka has joined #weld-dev
[10:11:28] <struberg> folks, anyone have an idea where I can find arquillian 1.0.0.Final-SNAPSHOT?
[10:11:35] <struberg> or any latest arquillian version?
[10:11:46] <struberg> there are broken artifacts on the jboss repo
[10:11:54] <struberg> and maven.central only contains old versions it seems
[10:14:12] <struberg> http://repo1.maven.org/maven2/org/jboss/arquillian/arquillian-impl-base/1.0.0.Alpha5/
[10:14:18] <struberg> empty, and all others as well
[10:14:53] <struberg> https://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/protocol/arquillian-protocol-servlet-3/1.0.0-SNAPSHOT/
[10:15:03] <struberg> missing the jar
[10:18:28] *** magesh1 has quit IRC
[10:25:49] <ge0ffrey> struberg: I think I am using a CR release
[10:26:00] <struberg> which exact version?
[10:26:04] <ge0ffrey> struberg: the 1.0.0-SNAPSHOT is definitly old
[10:26:20] <struberg> so there is now a 1.0.1?
[10:26:22] <ge0ffrey>         <artifactId>arquillian-bom</artifactId>
[10:26:23] <ge0ffrey>         <version>1.0.0.CR5</version>
[10:26:27] <ge0ffrey> that's what I am using
[10:26:32] <struberg> thanks will try it
[10:26:37] <struberg> and from which repo?
[10:26:40] <ge0ffrey> from maven jboss repo
[10:26:52] <struberg> I mean having broken artifacts on maven.central is not a good idea ?
[10:27:00] <ge0ffrey> struberg: look it up yourself: https://repository.jboss.org/nexus/index.html#welcome
[10:27:15] <struberg> have this too
[10:27:20] <ge0ffrey> struberg: no, it's not. Raise an issue at issues.jboss.org
[10:27:26] <struberg> but maven has a versioning schema
[10:27:39] <ge0ffrey> no issue == no fix :(
[10:27:41] <struberg> thus I thought 1.0.0-SNAPSHOT is the latest
[10:27:46] <struberg> lots of issues...
[10:27:48] <struberg> and features
[10:27:58] <struberg> e.g. I provided a fixed owb-arquillian integration
[10:28:15] <struberg> will this ever make it into production? ;)
[10:28:45] <struberg> and any CandidateRelease is lower than 1.0.0
[10:30:14] <struberg> but thanks for the CR5 tip!
[10:34:14] <ge0ffrey> struberg: is the owb-arquillian thing a pull request?
[10:34:25] <struberg> yup
[10:34:26] <ge0ffrey> they manage their pull requests pretty fast in my experience
[10:34:34] <ge0ffrey> poke aslak ;)
[10:34:52] <struberg> https://github.com/struberg/arquillian-container-openwebbeans
[10:38:13] <struberg> sent a new pull request now
[10:39:14] <struberg> there is no CR5 ^^
[10:39:15] <struberg> https://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/arquillian-junit/
[10:39:47] <struberg> the versioning is just crazy
[10:39:59] <struberg> do you folks fear about having a 1.0.1 release? ;)
[10:42:20] *** magesh has joined #weld-dev
[11:17:51] *** struberg has quit IRC
[11:23:30] *** struberg has joined #weld-dev
[11:56:50] *** rruss has quit IRC
[12:13:53] *** emmanuel has quit IRC
[12:25:07] *** epbernard has joined #weld-dev
[12:25:07] *** epbernard is now known as emmanuel
[12:27:31] *** alesj has quit IRC
[12:37:28] *** alesj has joined #weld-dev
[13:03:35] *** struberg has quit IRC
[14:22:09] *** struberg has joined #weld-dev
[15:01:42] <jbossbot> git [core] push master 60a848d.. mmazi WELD-947, WELD-929: Docs reference & typos fixes
[15:01:43] <jbossbot> jira [WELD-947] Fix reference to other chapter (in 5.6. The @New qualifier) [Open (Unresolved) Bug, Minor, Matija Mazi] https://issues.jboss.org/browse/WELD-947
[15:01:44] <jbossbot> jira [WELD-929] Typos in documentation [Open (Unresolved) Bug, Minor, Matija Mazi] https://issues.jboss.org/browse/WELD-929
[15:01:44] <jbossbot> git [core] push master URL: http://github.com/weld/core/compare/31f7d9e...60a848d
[15:03:07] <alesj> mkouba: yt?
[15:03:35] <mkouba> alesj: hi
[15:04:04] <alesj> mkouba: wasn't there some non-TCK test for WELD-966?
[15:04:05] <jbossbot> jira [WELD-966] TCK test failure: ResolutionByNameTest#testFieldNameUsedAsBeanName() [Open (Unresolved) Bug, Critical, Ales Justin] https://issues.jboss.org/browse/WELD-966
[15:04:18] <alesj> i remember you putting it somewhere ...
[15:05:28] *** iphands_ has joined #weld-dev
[15:06:00] *** iphands_ has left #weld-dev
[15:07:23] <mkouba> alesj: I don't think so... there is a gist 1188365 but it contains TCK org.jboss.jsr299.tck.tests.lookup.byname.ResolutionByNameTest
[15:08:33] *** pmuir has joined #weld-dev
[15:08:33] *** pmuir has quit IRC
[15:08:34] *** pmuir has joined #weld-dev
[15:09:03] <mkouba> alesj: https://github.com/jboss/cdi-tck/tree/master/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/byname
[15:10:45] <alesj> ok, let me then hack some quick test in Weld directly ...
[15:15:07] <mkouba> alesj: its pretty easy :-) look at issue description
[15:15:33] <alesj> yeah, 2 classes and you're done :-)
[15:16:40] *** mbg has joined #weld-dev
[15:16:43] *** mbg has quit IRC
[15:16:43] *** mbg has joined #weld-dev
[15:32:32] <pmuir> mkouba: ping
[15:32:44] <pmuir> mkouba: https://issues.jboss.org/browse/WELD-966
[15:32:46] <jbossbot> jira [WELD-966] TCK test failure: ResolutionByNameTest#testFieldNameUsedAsBeanName() [Open (Unresolved) Bug, Critical, Ales Justin] https://issues.jboss.org/browse/WELD-966
[15:32:51] <pmuir> mkouba: are you sure the test is right
[15:33:04] <pmuir> 3.11 says "If an injected field declares a @Named annotation that does not specify the value member, the name of the field is assumed."
[15:33:20] <pmuir> but I don't think it says anywhere that the name of the bean is assumed
[15:33:44] <pmuir> hmm
[15:33:47] <pmuir> it's unclear
[15:33:56] <pmuir> well anyway
[15:34:01] <pmuir> it's clear that this was the intent of the spec
[15:34:16] <pmuir> can you file a CDI issue asking for clarification
[15:34:29] <pmuir> alesj: we should probably rebuild the @Named qualifier for beans as well
[15:34:32] <pmuir> to make this work
[15:37:33] <mkouba> pmuir: 2.5.2 Default bean EL names
[15:37:43] <pmuir> mkouba: that is "EL names"
[15:37:45] <pmuir> only
[15:37:58] <pmuir> it doesn't say anything about altering the @Named qualifier
[15:38:35] <pmuir> it's arguable that 3.1.5 covers this
[15:38:42] <pmuir> but it's not explicit
[15:38:46] <pmuir> i remember this from doing the impl
[15:38:48] <mkouba> no, but it says: "default EL name must be assigned by the container"
[15:38:56] <pmuir> it was confusing what must be supported
[15:39:08] <pmuir> yeah, but EL name != @Named
[15:39:38] <pmuir> altering the EL name for a bean has no impact on the value of the value attribute of @Named
[15:46:43] <mkouba> pmuir: I see but its really confusing...
[15:47:04] <alesj> pmuir: weird, i fixed the bean's @Named ? but still not resolved
[15:47:14] <alesj>         // fix found Named, to have full name binding value
[15:47:14] <alesj>         boolean foundNamed = false;
[15:47:15] <alesj>         Iterator<Annotation> qIter = qualifiers.iterator();
[15:47:15] <alesj>         while (qIter.hasNext()) {
[15:47:15] <alesj>             if (qIter.next().annotationType().equals(Named.class)) {
[15:47:15] <alesj>                 qIter.remove();
[15:47:15] <alesj>                 foundNamed = true;
[15:47:16] <alesj>                 break;
[15:47:16] <alesj>             }
[15:47:17] <alesj>         }
[15:47:17] <alesj>         if (foundNamed) {
[15:47:18] <alesj>             Named named = new NamedLiteral(getDefaultName());
[15:47:18] <alesj>             qualifiers.add(named);
[15:47:19] <alesj>         }
[15:47:54] <pmuir> mkouba: yes the spec is wrong
[15:48:03] <pmuir> the intent is what your test is checking for sure ;-)
[15:48:03] <alesj> ah ? my test is wrong ...
[15:48:11] <pmuir> so can you file a CDI issue to make sure we fix it
[15:48:38] <pmuir> alesj: I have a feeling you need to remove the existing namedliteral and add the new one
[15:48:38] <alesj> ok, fixed :-)
[15:48:45] <pmuir> due to the way an annotation hashcode works
[15:49:01] <alesj> qIter.remove();
[15:49:05] <alesj> nah, just my test was wrong :-)
[15:50:22] *** mbg is now known as mbg|away
[15:50:28] <pmuir> cool
[15:52:14] <mkouba> pmuir: 3.11 what does this sentence mean: "If any other injection point declares a @Named annotation that does not specify the value member, the container automatically detects the problem and treats it as a definition error."?
[15:55:32] <alesj> mkouba: i think it just means if no matching named bean is found, throw an error
[15:56:00] <alesj> ? although ...
[15:59:17] <pmuir> no
[15:59:44] <pmuir> it means if a parameter injection point has @Named
[15:59:49] <pmuir> without a value
[15:59:52] <pmuir> throw a definition error
[16:00:00] <pmuir> as we can't inspect the name of a parameter
[16:00:24] *** mbg|away is now known as mbg
[16:00:48] <pmuir> mkouba: ^^^
[16:00:58] *** rruss has joined #weld-dev
[16:02:31] <mkouba> pmuir: now I understand :-) ...also a little bit confusing IMO
[16:02:54] <pmuir> yes
[16:03:05] <pmuir> i wish we didn't have @named as a qualifier
[16:03:06] <pmuir> yet we do
[16:03:09] <pmuir> damn jsr330
[16:03:11] <pmuir> ;-)
[16:03:18] *** pmuir is now known as pmuir|lunch
[16:04:50] <struberg> btw anyone found a way to have multiple @Produces @Named("foo") MyClass ? and @Produces @Named("bar") MyClass ?
[16:04:53] <struberg> :)
[16:05:46] <mkouba> pmuir: CDI-177
[16:05:47] <jbossbot> jira [CDI-177] Clarify how default bean EL name and @Named qualifier with no value at injection point are related [Open (Unresolved) Clarification, Major, Unassigned] https://issues.jboss.org/browse/CDI-177
[16:09:40] <struberg> https://github.com/arquillian/arquillian is dead, isn't?
[16:09:47] <struberg> all is now in arquillian-core, right?
[16:10:17] <struberg> and org.jboss.arquillian.spi.ApplicationArchiveGenerator vanished somehow?
[16:23:19] *** rruss has quit IRC
[16:40:16] *** magesh is now known as magesh_away
[16:41:21] *** rruss has joined #weld-dev
[16:50:12] <jbossbot> git [core] push master fb40498.. Ales Justin [WELD-966]; fix default @Named to use full name binding.
[16:50:13] <jbossbot> jira [WELD-966] TCK test failure: ResolutionByNameTest#testFieldNameUsedAsBeanName() [Open (Unresolved) Bug, Critical, Ales Justin] https://issues.jboss.org/browse/WELD-966
[16:50:13] <jbossbot> git [core] push master URL: http://github.com/weld/core/compare/60a848d...fb40498
[16:53:39] <pmuir|lunch> struberg: how do you mean
[16:54:44] *** pmuir|lunch is now known as pmuir
[16:58:58] *** mkouba has quit IRC
[17:32:57] *** emmanuel has quit IRC
[17:36:08] *** oskutka has quit IRC
[17:39:23] <struberg> pmuir do you mean > btw anyone found a way to have multiple @Produces @Named("foo") MyClass ? and @Produces @Named("bar") MyClass ?
[17:39:48] <struberg> our CDI-1.0 wording prevents this imo
[17:39:49] <jbossbot> jira [CDI-1] Clarify how resource producer fields (for persistence contexts) interact with transaction propagation [Open (Unresolved) Clarification, Major, Unassigned] https://issues.jboss.org/browse/CDI-1
[17:45:15] <pmuir> struberg: which bit, i don't think i've read it that way ever
[17:45:29] <struberg> mom digging
[17:47:47] <struberg> If a bean does not explicitly declare a qualifier other than @Named, the bean has exactly one additional qualifier, of type @Default. This is called the default qualifier.
[17:48:06] <struberg> thus if you have 2 beans (2 producer methods) for the same type
[17:48:25] <struberg> then both will have @Named(..) and @Default right?
[17:55:10] *** jharting has quit IRC
[17:59:25] <pmuir> yes
[18:05:38] <struberg> did we agree on what should happen if someone has multiple qualifiers at the injection point?
[18:05:56] <struberg> I remember that we said that _all_ qualifiers must fit, right?
[18:07:16] <struberg> and we had some discussion about qualifiers in @Observes as well
[18:07:23] <struberg> not sure if we found a consensus
[18:22:54] *** kevinpollet has joined #weld-dev
[18:30:58] *** alesj has quit IRC
[18:41:07] *** struberg has quit IRC
[18:41:40] *** alesj has joined #weld-dev
[18:47:13] <pmuir> i think for normal injection points it is spec defined
[18:47:36] <pmuir> i mean well defined in the spec
[18:47:46] <pmuir> sorry
[18:47:50] <pmuir> distracted right now ;-)
[18:48:14] *** magesh_away has quit IRC
[18:58:26] *** oskutka has joined #weld-dev
[18:58:40] *** oskutka has quit IRC
[19:25:01] *** rruss has quit IRC
[19:36:46] *** pmuir has quit IRC
[20:22:10] *** echelog-2 has joined #weld-dev
[20:36:34] *** maschmid has joined #weld-dev
[20:59:49] *** maschmid has quit IRC
[21:04:17] *** struberg has joined #weld-dev
[21:20:12] *** rruss has joined #weld-dev
[21:23:11] *** kevinpollet has quit IRC
[21:33:42] *** mbg_ has joined #weld-dev
[21:33:43] *** mbg_ has quit IRC
[21:33:43] *** mbg_ has joined #weld-dev
[21:34:49] *** kevinpollet has joined #weld-dev
[22:10:32] *** mbg_ has quit IRC
[22:11:28] *** mbg_ has joined #weld-dev
[22:11:28] *** mbg_ has joined #weld-dev
[22:11:39] *** mbg has quit IRC
[22:11:50] *** mbg_ is now known as mbg
[22:47:15] *** struberg has quit IRC
[23:30:47] *** ge0ffrey has quit IRC
[23:46:34] *** PeteRoyle has joined #weld-dev
[23:58:04] *** kevinpollet has quit IRC

top