February 27, 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:22:12] *** daniel_hinojosa has quit IRC
[00:29:14] *** koentsje has quit IRC
[00:42:14] <jbossbot> git [config] push master 601ac97.. ?ondrej.skutka? Added ftest for Princess Rescue
[00:42:14] <jbossbot> git [config] push master URL: http://github.com/seam/config/compare/bb44acc...601ac97
[00:49:06] *** daniel_hinojosa has joined #seam-dev
[01:11:40] *** echelog-2 has joined #seam-dev
[04:05:17] *** sbryzak has joined #seam-dev
[04:05:18] *** sbryzak has joined #seam-dev
[04:15:14] *** cbrock has joined #seam-dev
[04:23:36] *** clerum has quit IRC
[05:21:04] *** clerum has joined #seam-dev
[05:44:33] *** clerum has quit IRC
[06:32:12] *** daniel_hinojosa has quit IRC
[07:33:23] *** chocolaate-maan has joined #seam-dev
[07:33:23] *** chocolaate-maan has left #seam-dev
[07:38:17] *** cbrock has quit IRC
[07:41:05] *** stuartdouglas has quit IRC
[07:46:31] *** stuartdouglas has joined #seam-dev
[08:19:16] *** oskutka has joined #seam-dev
[09:46:29] *** Pline has joined #seam-dev
[09:46:29] *** Pline has left #seam-dev
[10:06:58] <jbossbot> git [security] push master e464d5d.. Shane Bryzak fix distribution
[10:06:58] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/1561689...e464d5d
[10:13:27] <jbossbot> git [security] push master 162ebf9.. Shane Bryzak updated parent and seam-bom versions
[10:13:27] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/e464d5d...162ebf9
[10:16:21] <jbossbot> git [security] push master 6906637.. Shane Bryzak updated dependencies
[10:16:21] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/162ebf9...6906637
[10:20:52] <jbossbot> git [security] push master f416f57.. Shane Bryzak add dependency versions
[10:20:52] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/6906637...f416f57
[10:22:15] <jbossbot> git [security] push master 43966ca.. Shane Bryzak minor
[10:22:16] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/f416f57...43966ca
[10:23:59] <jbossbot> git [security] push master daf674c.. Shane Bryzak fix parent
[10:23:59] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/43966ca...daf674c
[10:28:02] *** oskutka has quit IRC
[10:40:15] <jbossbot> git [security] push master 65cf37e.. Shane Bryzak [maven-release-plugin] prepare release 3.0.0.CR1
[10:40:16] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/daf674c...65cf37e
[10:40:26] <jbossbot> git [security] push master fd676e2.. Shane Bryzak [maven-release-plugin] prepare for next development iteration
[10:40:26] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/65cf37e...fd676e2
[10:59:44] *** lukaszlenart has joined #seam-dev
[11:07:40] *** mgencur has joined #seam-dev
[11:07:46] *** mgencur has left #seam-dev
[11:15:15] *** mgencur has joined #seam-dev
[11:18:09] *** lukaszlenart has quit IRC
[11:45:41] *** lukaszlenart has joined #seam-dev
[11:48:19] <jbossbot> git [security] push master 71dcd0f.. Shane Bryzak fix example inclusions in distribution
[11:48:19] <jbossbot> git [security] push master URL: http://github.com/seam/security/compare/fd676e2...71dcd0f
[12:01:11] *** koentsje has joined #seam-dev
[12:01:40] *** ssachtleben has joined #seam-dev
[12:13:51] *** mgencur has left #seam-dev
[12:17:48] *** lukaszlenart has quit IRC
[12:18:35] <jbossbot> git [dist] push master 515caf9.. Shane Bryzak add seam validation dependencies
[12:18:35] <jbossbot> git [dist] push master 4efc9a6.. Shane Bryzak Merge remote branch 'upstream/master'
[12:18:36] <jbossbot> git [dist] push master URL: http://github.com/seam/dist/compare/f034cdc...4efc9a6
[12:56:08] <jbossbot> git [persistence] push master db592c1.. Shane Bryzak docs build should include source artifact
[12:56:09] <jbossbot> git [persistence] push master URL: http://github.com/seam/persistence/compare/31df40a...db592c1
[13:15:56] <jbossbot> git [validation] push master 275c153.. Shane Bryzak update documentation build
[13:15:56] <jbossbot> git [validation] push master URL: http://github.com/seam/validation/compare/fa47e8a...275c153
[13:24:13] *** alesj has joined #seam-dev
[13:29:37] *** jbossbot has quit IRC
[14:51:59] <alesj> sbryzak: ping?
[14:52:06] <sbryzak> alesj: pong
[14:52:10] <alesj> hey
[14:52:28] <alesj> did you by any chance try out the remoting with actual seam-conversation impl?
[14:52:45] <alesj> e.g. not just spi, but weld's impl in the classpath
[14:52:58] <sbryzak> yes, and it worked nicely
[14:53:03] <alesj> since i only added the spi, which makes remoting compile
[14:53:05] <alesj> ah, cool
[14:53:24] <sbryzak> i just added the weld impl to the dependencies for the remoting example
[14:53:32] <alesj> yeah
[14:53:33] <alesj> nice
[14:53:39] <alesj> glad it worked ootb
[14:54:00] <sbryzak> i need to do a beta 2 release, because i had to change some dependencies
[14:54:07] <sbryzak> well, the scope of them i mean
[14:54:29] <sbryzak> i'll try to get it done this week
[14:54:59] <alesj> how did the injection of SeamCC work, as I think i only later added beans.xml to the spi
[14:55:13] <alesj> or, let me check, if it was already in for beta1
[14:56:06] <alesj> https://github.com/seam/conversation/blob/3.0.0.Beta1/spi/src/main/resources/META-INF/beans.xml
[14:56:07] <sbryzak> it was in beta1
[14:56:10] <alesj> nah, it was there
[14:56:17] <alesj> ok, makes sense then on why it worked :-)
[14:56:45] <alesj> but yeah, feel free to change the deps, and its scopes
[14:56:48] <sbryzak> i just finished the Seam CR1 release
[14:57:01] <alesj> nice!
[14:57:07] <sbryzak> i can't describe what a good feeling it is :)
[14:57:19] <sbryzak> i think i'm going to sleep all day tomorrow
[14:57:19] <alesj> can imagine :-)
[14:57:26] <alesj> hehe, you deserve it
[14:57:46] <sbryzak> most days this week have been 18 hours or more
[14:58:01] <sbryzak> go to bed for a few hours sleep, then wake up and back into it again
[14:58:22] <sbryzak> at least all the modules are nice and standardised now
[14:58:30] <sbryzak> that was the thing that took the longest time
[14:58:37] <sbryzak> and fighting with maven
[15:01:08] <alesj> :-)
[15:07:40] *** alesj has quit IRC
[15:09:01] *** oskutka has joined #seam-dev
[15:17:03] *** oskutka1 has joined #seam-dev
[15:18:27] *** oskutka has quit IRC
[16:07:22] *** oskutka1 has quit IRC
[16:32:59] *** oskutka has joined #seam-dev
[16:33:43] *** oskutka has quit IRC
[16:42:31] *** oskutka has joined #seam-dev
[16:51:58] *** clerum has joined #seam-dev
[16:56:40] *** oskutka has quit IRC
[16:59:02] *** oskutka has joined #seam-dev
[17:01:46] *** mgencur has joined #seam-dev
[17:03:22] *** oskutka has quit IRC
[17:08:22] *** jbossbot has joined #seam-dev
[17:28:16] *** ssachtleben has quit IRC
[18:06:50] *** mgencur has quit IRC
[18:17:48] *** mgencur has joined #seam-dev
[18:26:00] *** mgencur has quit IRC
[19:44:11] *** bleathem has joined #seam-dev
[20:20:48] <clerum> anyone hanging around for a stupid question?
[20:23:17] <bleathem> fire away
[20:23:40] <clerum> so I'm working on my mail module
[20:24:28] <clerum> and trying to implement one of lincolns suggestions
[20:24:28] <clerum> https://gist.github.com/0bc04932a8a9d218c822
[20:25:00] 
[20:25:30] <bleathem> I think I remember that thread on seam-dev
[20:25:39] <bleathem> or something similar anyways
[20:25:42] <clerum> yep
[20:26:02] <clerum> so the thing is that in the VelocityClassPathTemplate I need to use the ResourceProvider from Solder
[20:26:13] <clerum> https://gist.github.com/0bc04932a8a9d218c822#file_gistfile2.java
[20:26:29] <clerum> when the getInputStream() is called
[20:26:46] <clerum> but the injection always comes up null
[20:27:28] <bleathem> What container are you running in?
[20:27:28] <clerum> I am seeing this in my logs
[20:27:29] <clerum> getInputStream
[20:27:33] <clerum> err
[20:27:34] <clerum> 12:15:49,159 INFO  [org.jboss.seam.solder.core.CoreExtension] Preventing class org.jboss.seam.solder.resourceLoader.ResourceProvider from being installed as bean due to @Veto annotation
[20:27:39] <clerum> as6 remote
[20:28:18] <bleathem> yeah, I see those @Veto log messages all the time too (not necessarily for that class)
[20:28:29] <bleathem> I was wondering what the deal was with them
[20:28:30] <clerum> yeah I was thinking I saw those before
[20:28:40] <clerum> anyway this works when I do it like this - https://github.com/codylerum/mail/blob/master/impl-velocity/src/main/java/org/jboss/seam/mail/templating/velocity/VelocityMailMessageImpl.java
[20:29:15] <clerum> because the VelocityMailMessageImpl was created by CDI
[20:29:31] <clerum> I think my issue is that this VelocityClassPathTemplate is created by new
[20:29:53] <bleathem> I was gonna ask, does any @Inject work in VelocityClassPathTemplate?
[20:30:18] <clerum> haven't tried anything else
[20:30:19] <bleathem> but is it's created by new, it won't
[20:30:36] <clerum> so nothing created by new
[20:30:46] <bleathem> yeah
[20:30:47] <clerum> is there anyway to look it up
[20:30:57] <clerum> BeanManager.instance....
[20:30:58] <bleathem> you can use the BeanManager to lookup an instance for you
[20:31:01] <bleathem> yeah
[20:31:07] <bleathem> hold on
[20:31:10] <bleathem> let me check
[20:31:32] <bleathem> gota fire up the IDE
[20:32:19] <clerum> k
[20:32:34] <clerum> seems like there sould be an easy way
[20:32:37] <clerum> like in seam 2
[20:32:43] <clerum> Component.getInstance
[20:33:00] <clerum> so you can get things via injection in static methods and such
[20:34:51] <bleathem> https://github.com/seam/faces/blob/master/impl/src/main/java/org/jboss/seam/faces/util/BeanManagerUtils.java#L97
[20:35:02] <bleathem> not sure if it's overkill
[20:35:19] <bleathem> but that's how it's looked up in Faces
[20:35:38] <bleathem> First checks if one exists, otherwise creates a new one
[20:35:41] <clerum> Yeah I'm wondienrg if I should just send in my resource provider from the calling side
[20:35:59] <bleathem> Or make a provider for it
[20:36:06] <bleathem> sorry, producer
[20:36:29] <clerum> producer for?
[20:36:29] <bleathem> With qualifiers
[20:36:33] <bleathem> for your provider
[20:36:42] <bleathem> a producer for your resource provider
[20:37:18] <clerum> I might be missing something
[20:37:34] <bleathem> More likely me :P
[20:37:38] 
[20:38:11] <clerum> I don't want them to have to create a VelocityClassPathTemplate via a Instance<VelocityClassPathTemplate>.get
[20:39:01] <clerum> the ResourceProvider is produced by Solder
[20:39:12] <bleathem> ok, I was missing where the new was, it's in the client calling part.  Got it.
[20:39:16] <clerum> I just can't get at it from within the VelocityClassPathTemplate because injection isn't run
[20:40:17] <clerum> I'm wondering if the bean VelocityClassPathTemplate is created by a no arg constructor
[20:40:22] <clerum> if injection is run
[20:40:54] <bleathem> how about using constructor injection?
[20:40:59] <bleathem> I've never used it myself
[20:41:04] <bleathem> not sure of the details
[20:41:22] <bleathem> but you can put @Inject on an argument in a constrcutor right?
[20:42:14] <bleathem> http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html/injection.html
[20:43:19] <clerum> yes
[20:43:26] <bleathem> no, I think that still only works with container managed instantiation
[20:43:31] <bleathem> won't work with new
[20:43:52] <clerum> maybe I should just make the user do this
[20:43:54] <bleathem> "First, the container calls the bean constructor (the default constructor or the one annotated @Inject), to obtain an instance of the bean. "
[20:44:02] <clerum>             .bodyHtml(new VelocityClassPathTemplate(resourceProvider, "template.html.vm"))
[20:44:10] <clerum> I don't think that is unreasonable
[20:44:24] <bleathem> At least as a place to start
[20:44:32] <bleathem> it can be refined further later on
[20:44:37] <clerum> yeah then I can bug dan and pete
[20:44:49] <bleathem> them be the experts :P
[20:45:15] <clerum> There must be something closer to seam2's Component.getInstance(ResourceProvider.clasS)
[20:45:25] <bleathem> If there isn't, there should be
[20:45:29] <bleathem> something for Solder
[20:45:37] <clerum> right
[20:45:56] <bleathem> Try the seam-dev mailing list
[20:46:10] <bleathem> with that point specifically
[20:46:16] <clerum> I wish I had a day to day project that I was using CDI on
[20:46:29] <bleathem> no you don't
[20:46:47] <bleathem> weld is in such a state of flux, it's really painful to work with!
[20:46:55] <clerum> that is true
[20:47:10] <bleathem> Trying to get glassfish 3.0 apps to run on glassfish 3.1 apps with weld 1.1 is killing me
[20:47:17] <clerum> tough to get a handle on it all without using it real world
[20:47:34] <bleathem> I have to run weld snapshots in glassfsih 3.1 milestones
[20:47:59] <bleathem> yeah, it would be good for that, but on the framework side, you use much more esoteric pieces of Weld/Solder
[20:48:07] <clerum> yep
[20:48:14] <bleathem> that's the part I like
[20:48:28] <bleathem> I'm learning alot about Weld/Solder from working on Seam
[20:48:40] <bleathem> it's becoming less of a "black box"
[20:50:13] <clerum> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html_single/#beanmanagerprovider
[20:50:41] <bleathem>  Bean<?> bean = getBeanManager().getBean(Instance.class);
[20:50:47] <bleathem> Nice
[21:05:48] <bleathem> clerum did it work?
[21:06:28] <clerum> fighting with bean manager
[21:06:38] <clerum> lots of work to get a reference
[21:07:19] <clerum> getting closer
[21:07:23] <clerum> have to finish later
[21:07:26] <clerum> late for a movie
[21:07:27] <clerum> cya
[21:07:30] <bleathem> cya
[21:07:30] <clerum> thanks for the help
[21:07:36] <bleathem> such as it was :P
[21:24:08] *** daniel_hinojosa has joined #seam-dev
[23:10:36] <jbossbot> git [validation] push master 30d25d7.. Gunnar Morling Renaming example root folder to "examples"
[23:10:37] <jbossbot> git [validation] push master URL: http://github.com/seam/validation/compare/275c153...30d25d7
[23:25:42] *** koentsje has quit IRC
[23:45:05] <clerum>    bleathem: seems to have worked
[23:57:57] <jbossbot> git [mail] push master 6f70057.. Cody Lerum Utilize an Interface for EmailTemplates - SEAMMAIL-19
[23:57:57] <jbossbot> jira [SEAMMAIL-19] Utilize an Interface for EmailTemplates [Closed (Done) Enhancement, Major, Cody Lerum] https://issues.jboss.org/browse/SEAMMAIL-19
[23:57:58] <jbossbot> git [mail] push master URL: http://github.com/seam/mail/compare/7edac37...6f70057

top