December 15, 2010  
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:39:11] *** clerum has joined #seam-dev
[00:59:43] *** cbrock has quit IRC
[00:59:52] *** lightguard_jp has quit IRC
[01:16:47] *** echelog-2 has joined #seam-dev
[01:16:47] -kornbluth.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
[01:27:41] *** lightguard_jp has quit IRC
[01:34:30] *** tsurdilo has joined #seam-dev
[02:13:32] *** mojavelinux has quit IRC
[02:17:21] *** bleathem has quit IRC
[02:29:39] *** tsurdilo has quit IRC
[02:30:40] *** tsurdilo has joined #seam-dev
[03:18:21] *** mbg has left #seam-dev
[03:24:19] <jbossbot> git [forge] push master bb27680.. Lincoln Baxter, III Touchups for JavaResource - added Scaffold Plugins Project
[03:24:19] <jbossbot> git [forge] push master URL: http://github.com/seam/forge/compare/b7d287a...bb27680
[03:24:30] *** lincolnthree has left #seam-dev
[03:37:09] *** clerum has quit IRC
[03:58:40] *** tsurdilo has quit IRC
[05:10:30] *** lincolnthree1 has joined #seam-dev
[05:16:55] *** bleathem has joined #seam-dev
[05:21:52] *** mbg has joined #seam-dev
[05:53:36] *** lightguard_jp has joined #seam-dev
[05:55:56] *** clerum has joined #seam-dev
[06:00:40] <bleathem> lightguard_jp: ping!
[06:01:49] <lightguard_jp> bleathem: How's it going?
[06:02:08] <bleathem> meh. good enough, you?
[06:02:32] <bleathem> I'm trying to get the Seam Catch stuff going that I showed you yesterday...
[06:02:58] <lightguard_jp> bleathem: Still having trouble?
[06:03:08] <bleathem> I figure I'm missing something simple.
[06:03:17] <bleathem> Cuz it's such a simple example!
[06:03:47] <bleathem> I have an action that creates an NPE using "new", then catchEvent fires that NPE
[06:04:13] <lightguard_jp> Hehe
[06:04:20] <lightguard_jp> You can take a look at the tests
[06:04:21] <bleathem> do I actually have to throw the NPE, trap it in a try, and then use catchEvent to fire it?
[06:04:32] <lightguard_jp> Shouldn't have to
[06:04:39] <bleathem> I figured it wouldn't make a difference, but I'm grasping at straws now
[06:04:45] <lightguard_jp> Hm
[06:05:00] <bleathem> I 'll have a look at the tests, thx
[06:05:02] <lightguard_jp> You throw the NPE and JSF should send it to the exception handler
[06:05:06] <lightguard_jp> Is that part happening?
[06:05:27] <bleathem> Right now I'm trying not throwing it
[06:05:38] <bleathem> but just firing it, after creating it
[06:06:42] <lightguard_jp> If that part isn't working, I'd be very surprised :)
[06:07:07] <bleathem> Yeah, I'm sure it works!
[06:07:10] <lightguard_jp> About glassfish, curious about datasource setup, thread pools, and jvm settings mostly.
[06:07:21] <bleathem> sure
[06:07:42] <lightguard_jp> Which db are you using?
[06:07:56] <bleathem> IBM DB2 on AS/400, and MySQL
[06:08:13] <lightguard_jp> Okay, we're using postgresql, but probably doesn't matter for this discussion
[06:28:44] <bleathem> lightguard_jp: hrm, actually throwing it, catching it, then feeding it to catchEvent to fire made a difference.
[06:28:47] <bleathem> weird
[06:29:28] <lightguard_jp> odd
[06:36:12] <bleathem> Ok, so I know catch itself work in my app, now to figure out why the Faces/Catch integration isn't doing what it's supposed to.
[06:45:59] <bleathem> At the top of my JSF ExceptionHandler handle() method, I log a simple message that I'm handling exceptions.
[06:46:28] <bleathem> I see that line going off multiple times in the console
[06:46:36] <bleathem> then I see the NPE stacktrace
[06:46:46] <bleathem> then I see my handling exceptions line again
[06:47:02] <bleathem> then I see the message that I'm handling a FacesException.
[06:47:07] <bleathem> and firing an event
[06:47:13] <bleathem> but the event is never received
[06:47:21] <bleathem> hrm
[06:47:42] <bleathem> beanManager.fireEvent(catchEvent, (new FacesLiteral()));
[06:47:55] <bleathem> So I've got the @Faces annotation in there.
[06:48:15] <bleathem> Maybe I'll remove the qualifier from my handler and see if that helps
[06:51:00] <lightguard_jp> Yes, if you want the annotation to be in there, you need to add it to the construction of the catchEvent
[06:51:19] <lightguard_jp> I'm going to look into it, actualy, could you create a JIRA for this so I can track it.
[06:51:22] <lightguard_jp> ?
[06:51:25] <lightguard_jp> please
[06:51:39] <lightguard_jp> About being able to get the meta annotations from the event itself
[06:51:56] <bleathem> Sure
[06:52:13] <bleathem> it worked when I removed the @Faces qualifier from my handler
[06:52:42] <lightguard_jp> Okay, now when you create the event add the qualifier and you should be good
[06:53:15] <bleathem> I'll add the qualifier to the constructor.  Do I still need it when I fire?  I'll leave it for good meaure I guess
[06:53:32] <lightguard_jp> So you'd have something like new ExceptionToCatch(exception, Annotation ...)
[06:53:40] <bleathem> ExceptionToCatch catchEvent = new ExceptionToCatch(t, new FacesLiteral());
[06:53:45] <bleathem> and fire it with
[06:53:49] <lightguard_jp> Yep
[06:53:51] <bleathem> beanManager.fireEvent(catchEvent, (new FacesLiteral()));
[06:54:03] <bleathem> That second annotation seems superfluous
[06:54:30] <bleathem> but if you figure out how to get the meta annotations from the event, you would want it there
[06:54:40] <lightguard_jp> You don't need it in the fireEvent
[06:54:46] <lightguard_jp> exactly
[06:54:57] <bleathem> so leave it in there then?
[06:55:22] <lightguard_jp> Um, actualy, I don't think Catch will pick it up
[06:55:36] <lightguard_jp> It should probably have @Any on the observer
[06:55:47] <bleathem> Really?
[06:55:56] <bleathem> I'll try
[06:55:59] <lightguard_jp> Yeah, right now the observer doesn't have any qualifiers
[06:56:22] <bleathem> oh, I thought I read that it did
[06:56:31] <bleathem> my bad
[06:57:00] <bleathem> is it planned for?
[06:57:09] <lightguard_jp> Which?
[06:57:22] <bleathem> the observer having any qualifiers
[06:57:40] <bleathem> ^the observer having qualifiers
[06:57:51] <lightguard_jp> Ah
[06:58:02] <lightguard_jp> The main one should have @Any, I could add that :)
[06:58:37] <bleathem> But I should be able to write one with @Faces, to handle only Faces exceptions right?
[06:58:44] <bleathem> Are we talking about the same thing?
[06:59:17] <lightguard_jp> Yes, and maybe :)
[06:59:30] <lightguard_jp> The one I'm talking about is the main event that's fired to event into catch
[07:00:00] <lightguard_jp> When you create the ExceptionToCatch with qualifiers in the constructor, they are the qualifers it looks for to find a handler.
[07:00:14] <bleathem> oh, got it!
[07:00:39] <bleathem> the qualifiers added when firing are not used to find a handler then
[07:00:44] <lightguard_jp> No
[07:00:46] <bleathem> just the qualifiers in the constructor
[07:00:52] <lightguard_jp> Correct
[07:01:05] <bleathem> Got it. ty
[07:01:14] <lightguard_jp> When firing the event, those are used for the actual event into catch
[07:01:36] <bleathem> So that uber-catch should have an @Any on it then
[07:01:54] <bleathem> in case some fool lilke me adds the annotation when firing
[07:02:04] <lightguard_jp> Yes, but that's not supported in Alpha2.
[07:02:14] <bleathem> Want an issue for that to?
[07:02:18] <bleathem> ^too
[07:02:19] <lightguard_jp> I can add it to Alpha3
[07:02:20] <lightguard_jp> Sure
[07:02:36] <bleathem> The real test will be to see if I can explain it correctly in the issue!
[07:02:48] <bleathem> without pasting from IRC :P
[07:04:56] <lightguard_jp> IRC paste is fine too :)
[07:05:58] <bleathem> public void catchAllHandler(@Handles(precedence = -100) @Faces CaughtException<Throwable> event)
[07:06:15] <bleathem> works without that @Faces, but not with it there
[07:06:40] <lightguard_jp> In any config?
[07:06:45] <bleathem> maybe my eclipse build didn't do what I think it did.  I'll try again (how I miss Netbeans)
[07:07:07] <lightguard_jp> I agree with missing your IDE of choice :)
[07:08:09] <bleathem> it's amazing how proficient you can get with an IDE when you use it day after day.
[07:08:24] <bleathem> I shake my head at my emacs days
[07:08:50] <lightguard_jp> hehe
[07:09:07] <lightguard_jp> Not an emacs guy, but it amazes me all the things you find in emacs or vim
[07:09:14] <lightguard_jp> Even after using one or the other for years
[07:10:59] <bleathem> ok, catch is getting it now
[07:11:06] <lightguard_jp> :)
[07:11:10] <bleathem> but the stacktrace is still being printed out by JSF
[07:11:21] <bleathem> is that what Dan was tweeting about on Friday maybe?
[07:11:36] <bleathem> the superfluous JSF stacktraces?
[07:11:47] <bleathem> oh, quick question...
[07:12:16] <bleathem> Should I be adding all the JBoss licensince headers to my source files before making a pull request?
[07:12:24] <bleathem> ^license
[07:13:03] <lightguard_jp> If you don't mind, and make sure they're the APL license too
[07:13:14] <lightguard_jp> If not I can do it, if it's for catch
[07:13:26] <bleathem> I'll just copy it from anoth Faces source file
[07:13:26] <lightguard_jp> If it's for Faces Lincoln or Dan will have to do it
[07:13:34] <bleathem> it's for Faces
[07:13:55] <lightguard_jp> Might as well save them some time :)
[07:14:03] <bleathem> Yeah, I'll do it
[07:14:08] <bleathem> Catch question:
[07:14:15] <bleathem> catchEvent.isHandled()
[07:14:27] <bleathem> do I have to do something so that it's marked as handled?
[07:14:38] <lightguard_jp> By default it will be handled
[07:14:48] <lightguard_jp> It won't be handled if you call abort or rethrow
[07:14:48] <bleathem> ok, cool
[07:17:34] <lightguard_jp> afk
[07:17:47] *** oskutka has joined #seam-dev
[07:46:07] *** aslak has joined #seam-dev
[07:46:08] *** aslak has quit IRC
[07:46:08] *** aslak has joined #seam-dev
[07:48:24] *** aslak has quit IRC
[07:49:10] *** aslak has joined #seam-dev
[07:52:33] <lightguard_jp> bleathem: all working?
[07:52:51] <bleathem> yep, jsut cleaning up my commits for a pull request
[07:53:02] <lightguard_jp> sweet!!!
[07:53:21] <bleathem> it's kind of like hanging your lanudry out to dry, you want to make sure it looks ok for the neighbors !
[07:53:32] <lightguard_jp> lol
[07:54:12] <bleathem> did you know eclipse defaults to using tabs !?
[07:54:16] <bleathem> disgusting
[07:55:32] <bleathem> :D
[07:59:15] *** lincolnthree1 has joined #seam-dev
[07:59:24] *** lincolnthree1 has left #seam-dev
[08:02:37] <bleathem> guess I should do a rebase with upstream before the pull request
[08:04:27] *** sbryzak has quit IRC
[08:11:26] <bleathem> ok, pull requested!
[08:11:31] <bleathem> g'nite
[08:11:44] *** bleathem has quit IRC
[08:44:28] *** bleathem has joined #seam-dev
[08:46:04] *** maxandersen1 is now known as maxandersen
[08:46:06] *** maxandersen has joined #seam-dev
[08:51:36] *** epbernard has joined #seam-dev
[08:51:36] *** epbernard is now known as emmanuel
[09:03:22] *** maxandersen has quit IRC
[09:07:40] *** shervin_a has joined #seam-dev
[09:09:09] *** clerum has quit IRC
[09:11:22] *** maxandersen has joined #seam-dev
[09:20:50] *** bleathem has quit IRC
[09:20:51] *** jharting has joined #seam-dev
[09:22:02] *** marekn has joined #seam-dev
[09:22:05] *** maxandersen has quit IRC
[09:23:49] *** mbg has quit IRC
[09:48:45] *** adamw1pl has joined #seam-dev
[09:50:31] *** kpiwko has joined #seam-dev
[09:52:13] *** kpiwko has quit IRC
[09:52:36] *** kpiwko has joined #seam-dev
[10:16:39] *** lightguard_jp has quit IRC
[10:23:36] *** pmuir has joined #seam-dev
[10:23:36] *** pmuir has quit IRC
[10:23:36] *** pmuir has joined #seam-dev
[10:27:07] *** maxandersen has joined #seam-dev
[10:56:28] *** adamw1pl has quit IRC
[11:31:47] *** pmuir has quit IRC
[11:33:25] *** sbryzak has joined #seam-dev
[12:53:54] *** pmuir has joined #seam-dev
[12:53:54] *** pmuir has quit IRC
[12:53:54] *** pmuir has joined #seam-dev
[13:07:57] *** maxandersen has quit IRC
[13:13:15] *** maxandersen has joined #seam-dev
[13:40:13] *** pmuir has quit IRC
[13:40:54] *** pmuir has joined #seam-dev
[13:40:55] *** pmuir has quit IRC
[13:40:55] *** pmuir has joined #seam-dev
[14:59:51] *** tsurdilo has joined #seam-dev
[15:00:31] *** balunasj has joined #seam-dev
[15:02:16] *** balunasj has quit IRC
[15:06:54] *** rruss has joined #seam-dev
[15:21:13] *** ge0ffrey has joined #seam-dev
[15:26:26] *** maxandersen has quit IRC
[15:26:45] *** maxandersen has joined #seam-dev
[15:41:34] *** marekn has quit IRC
[16:02:07] *** clerum has joined #seam-dev
[16:13:27] <jbossbot> git [mail] push master 14f72b4.. Cody Lerum fix toString
[16:13:27] <jbossbot> git [mail] push master URL: http://github.com/seam/mail/compare/e620ae4...14f72b4
[16:33:39] *** lightguard_jp has joined #seam-dev
[16:40:42] <ge0ffrey> hi lightguard_jp
[16:40:50] <ge0ffrey> on drools, we're moving from svn to git
[16:40:50] <lightguard_jp> ge0ffrey: Hey
[16:41:00] <lightguard_jp> Nice
[16:41:11] <ge0ffrey> I was hoping to borrow some experience :)
[16:41:23] <ge0ffrey> did you guys migrate the product side too?
[16:41:49] <ge0ffrey> pete told me that didn't happen for weld, but maybe for one of the parts you did, it did?
[16:42:45] <lightguard_jp> We were migrating all of seam3, haven't touched seam2
[16:42:54] <pmuir> ge0ffrey: lightguard_jp is a community guy, so no product help there ;-)
[16:42:55] <lightguard_jp> So there isn't any producty yet to migrate :)
[16:43:20] *** GeckoOBac has joined #seam-dev
[16:43:28] <GeckoOBac> sbryzak: ping
[16:43:44] <ge0ffrey> ah :) ok, np, I 'll check with the hiberante guys if they had this scenario
[16:43:53] <ge0ffrey> better not to invent a new way myself ;)
[16:44:00] <ge0ffrey> tnx
[16:45:13] *** ge0ffrey has left #seam-dev
[16:47:08] *** jharting has quit IRC
[16:48:05] *** bleathem has joined #seam-dev
[16:48:32] *** lincolnthree1 has joined #seam-dev
[16:48:33] *** mbg has joined #seam-dev
[17:01:22] *** aslak has quit IRC
[17:04:00] *** aslak has joined #seam-dev
[17:04:00] *** aslak has quit IRC
[17:04:00] *** aslak has joined #seam-dev
[17:07:27] *** lightguard_jp has quit IRC
[17:09:04] *** oskutka has quit IRC
[17:14:25] *** shervin_a has quit IRC
[17:15:25] <bleathem> tired this morning. complicated git rebases should never be attempted after midninght. :P
[17:17:55] <lincolnthree1> bleathem: I saw your pull requests before I went to sleep
[17:18:02] <lincolnthree1> You're turning into quite the midnight warrior!
[17:18:13] <bleathem> :D
[17:18:32] <bleathem> I went to bed after that, and realized i'd done a git merge instead of a rebase
[17:18:35] <lincolnthree1> Hopefully Dan can take a look at it today (or if I get my forge UI prototype running, I will)
[17:18:41] <lincolnthree1> I read over teh changes
[17:18:43] <bleathem> so I got back up, fixed it, and issued a new pull request
[17:18:54] <lincolnthree1> but won't be able to work on it for a bit
[17:19:03] <bleathem> understood
[17:19:05] <lincolnthree1> yea it looks good aside from a few of those lingering questions that we wanted to ask dan
[17:19:13] <lincolnthree1> like the AbortProcessingException, wtf!!
[17:19:33] <bleathem> Yeah, I've got a question in the comments for that
[17:19:44] <lincolnthree1> i saw :)
[17:20:45] *** amitev has quit IRC
[17:36:42] *** antoine_sd has joined #seam-dev
[17:44:19] *** rruss has quit IRC
[17:44:37] *** cbrock has joined #seam-dev
[17:47:55] *** emmanuel has quit IRC
[18:01:02] *** tsurdilo has quit IRC
[18:02:37] *** tsurdilo has joined #seam-dev
[18:09:46] *** lightguard_jp has joined #seam-dev
[18:16:55] *** antoine_sd has quit IRC
[18:19:33] *** kpiwko has quit IRC
[19:00:13] *** pmuir has quit IRC
[19:06:46] *** maxandersen has quit IRC
[19:20:34] *** aslak has quit IRC
[19:21:12] *** aslak has joined #seam-dev
[19:27:17] *** GeckoOBac has quit IRC
[19:32:42] *** pmuir has joined #seam-dev
[19:32:42] *** pmuir has quit IRC
[19:32:42] *** pmuir has joined #seam-dev
[19:44:46] *** pmuir has quit IRC
[19:46:59] *** cbrock has quit IRC
[19:53:42] *** pmuir has joined #seam-dev
[19:53:42] *** pmuir has quit IRC
[19:53:42] *** pmuir has joined #seam-dev
[20:02:42] *** pmuir has quit IRC
[20:27:55] *** cbrock has joined #seam-dev
[20:27:55] *** cbrock has joined #seam-dev
[20:31:42] *** balunasj has joined #seam-dev
[20:38:27] *** cbrock has quit IRC
[20:44:34] *** maxandersen has joined #seam-dev
[21:13:28] *** antoine_sd has joined #seam-dev
[21:16:58] *** balunasj has quit IRC
[21:17:10] *** antoine_sd has quit IRC
[22:35:41] <lincolnthree1> hey sbryzak, you around and have time to listen to a question about jboss mavn repo?
[22:36:55] <lincolnthree1> nm
[22:36:57] <lincolnthree1> got it
[22:51:32] <jbossbot> git [solder] push master 434d6e6.. Stuart Douglas Upgrade arquillian to alpha4
[22:51:32] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/473a809...434d6e6
[22:53:10] <sbryzak> lincolnthree1: sorry, was afk
[22:53:28] <lincolnthree1> np, i was having issues with nexus
[22:53:30] <lincolnthree1> got it sorteed
[22:53:34] <sbryzak> cool
[23:24:03] *** balunasj has joined #seam-dev
[23:25:57] *** balunasj is now known as balunasj_away
[23:41:23] *** aslak has quit IRC

top