[00:08:43] <mojavelinux> I figured a solution [00:08:51] <mojavelinux> check http://tinyurl.com/goweld [00:09:04] <mojavelinux> apparentely when the archetype catalog is out of date, you have to specify the repository [00:09:06] <mojavelinux> lame [00:09:24] <mojavelinux> I don't know why the catalog update happens...obviously not frequently enough [00:09:32] <mojavelinux> :) [00:09:42] <mojavelinux> wdrai: give that I try [00:13:14] *** akazakov has quit IRC [00:23:54] <mojavelinux> wdrai: thanks for pointing that out btw [00:26:21] <mojavelinux> and welcome :) [00:27:04] *** mbg has quit IRC [00:37:56] <wdrai> mojavelinux: thanks, it works fine by forcing both archetypeVersion and archetypeRepository [00:38:17] <wdrai> super lame ;) [00:40:02] *** wdrai has left #seam-dev [00:44:29] *** wdrai has joined #seam-dev [00:44:40] *** wdrai has left #seam-dev [01:38:37] *** aslak has quit IRC [02:59:31] *** koentsje has joined #seam-dev [03:10:03] *** koentsje has quit IRC [05:37:06] *** mbyanki has joined #seam-dev [06:04:41] *** jdlee has quit IRC [06:16:21] *** lincolnthree has quit IRC [06:37:08] *** mbg has joined #seam-dev [07:21:23] *** mbg has quit IRC [07:24:28] *** jose_freitas has quit IRC [07:27:27] *** jose_freitas has joined #seam-dev [07:32:10] *** clerum has quit IRC [08:42:39] *** madhub has joined #seam-dev [08:46:01] *** mbyanki has quit IRC [09:33:24] *** lukaszlenart has joined #seam-dev [09:40:33] *** mbyanki has joined #seam-dev [09:42:10] *** madhub has quit IRC [09:54:14] *** mbyanki has quit IRC [09:58:54] *** aslak has joined #seam-dev [10:02:31] *** koentsje has joined #seam-dev [10:18:10] *** koentsje has quit IRC [10:21:05] *** lukaszlenart has quit IRC [13:03:06] *** aslak has quit IRC [13:03:42] *** aslak has joined #seam-dev [13:31:27] *** aslak has quit IRC [13:32:14] *** aslak has joined #seam-dev [13:37:04] *** aslak has quit IRC [13:38:36] *** jose_freitas has quit IRC [13:43:47] *** aslak has joined #seam-dev [13:43:47] *** aslak has quit IRC [13:43:47] *** aslak has joined #seam-dev [13:51:02] *** lukaszlenart has joined #seam-dev [14:14:16] *** kpiwko has joined #seam-dev [14:14:16] *** aslak has quit IRC [14:14:49] *** aslak has joined #seam-dev [14:23:36] *** lukaszlenart has quit IRC [15:07:23] *** mbg has joined #seam-dev [15:07:24] *** mbg has quit IRC [15:07:24] *** mbg has joined #seam-dev [15:08:10] *** mbg has quit IRC [15:08:11] *** aslak has quit IRC [15:09:12] *** aslak has joined #seam-dev [15:50:08] *** aslak has quit IRC [15:50:53] *** aslak has joined #seam-dev [15:56:06] *** jdlee has joined #seam-dev [16:21:24] *** clerum has joined #seam-dev [17:31:59] *** lukaszlenart has joined #seam-dev [17:35:39] *** lukaszlenart has quit IRC [17:39:28] <jbossbot> git [solder] push master 00308ec.. Dan Allen make class more extendable, added additional docs [17:39:28] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/e7c53fd...00308ec [17:56:41] <jbossbot> git [solder] push master 95d39f8.. LightGuard Moving to beans.xml instead of extension loading beans.... [17:56:41] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/00308ec...95d39f8 [18:16:51] <jbossbot> git [solder] push master 2b3878d.. Dan Allen use newer ShrinkWrap APIs [18:16:51] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/95d39f8...2b3878d [18:27:39] *** clerum has quit IRC [18:34:29] <jbossbot> git [solder] push master cdbda27.. Ken Finnigan Import jboss-logging-3.0.0.Beta4 [18:34:29] <jbossbot> git [solder] push master 9020bab.. Dan Allen add package-info to jboss logging [18:34:29] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/2b3878d...9020bab [18:47:52] <jbossbot> git [solder] push master b79d6fc.. Dan Allen temporarily disable jboss-logging annotation proc [18:47:52] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/9020bab...b79d6fc [19:02:40] *** oskutka has joined #seam-dev [19:02:40] *** oskutka has quit IRC [19:23:41] *** kenfinnigan has joined #seam-dev [19:29:42] <kenfinnigan> mojavelinux: not sure why I didn't see that error the other day, I'm getting the same error [19:31:03] *** clerum has joined #seam-dev [19:54:52] <jbossbot> git [solder] push master aa65deb.. Dan Allen SOLDER-47 strip down api (no beans in api) [19:54:53] <jbossbot> jira [SOLDER-47] Cannot use Solder in Glassfish 3.1 [Open, Blocker, Shane Bryzak] https://issues.jboss.org/browse/SOLDER-47 [19:54:53] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/b79d6fc...aa65deb [20:23:24] *** lukaszlenart has joined #seam-dev [20:36:55] *** aslak has quit IRC [20:48:07] *** aslak has joined #seam-dev [20:48:07] *** aslak has quit IRC [20:48:07] *** aslak has joined #seam-dev [20:57:30] *** kenfinnigan has quit IRC [21:10:33] *** lincolnthree has joined #seam-dev [21:41:40] *** kpiwko has quit IRC [21:54:33] *** lukaszlenart has quit IRC [22:20:37] *** nickarls has joined #seam-dev [22:24:22] *** mojavelinux has quit IRC [22:24:33] *** mojavelinux has joined #seam-dev [22:30:20] *** mojavelinux has quit IRC [22:30:55] *** mojavelinux has joined #seam-dev [22:31:24] <sbryzak> mojavelinux: ping [22:31:40] *** nickarls_ has joined #seam-dev [22:32:11] <mojavelinux> hey shane [22:32:14] *** nickarls_ has quit IRC [22:32:27] <sbryzak> hey dan [22:32:39] <sbryzak> i'm going to start looking at some of the solder tests shortly [22:32:46] <sbryzak> any in particular you'd like me to work on? [22:35:00] *** nickarls has quit IRC [22:37:34] *** lincolnthree has quit IRC [22:37:40] <mojavelinux> I might look into ElTest, since I've worked quite a bit in that area of Weld [22:37:52] <mojavelinux> so really any of the others [22:37:59] <mojavelinux> pulling up the list [22:38:11] <sbryzak> np, will you be online for a bit? [22:38:14] <mojavelinux> yep [22:38:29] <sbryzak> great, i might need a few tips on getting set up with glassfish ;) [22:38:52] <mojavelinux> I might start with unwraps [22:39:01] <mojavelinux> shouldn't be a complex problem, good starting place [22:39:09] <mojavelinux> I'm surprised it fails, actually [22:39:31] <mojavelinux> as much as I shouldn't say it, glassfish is suprisingly simple to get into :) [22:39:45] <mojavelinux> I recommend getting the plugin for eclipse [22:39:52] <mojavelinux> that way you can start it in debug mode from eclipse [22:39:58] <mojavelinux> and that makes debugging a piece of cake [22:40:10] <mojavelinux> otherwise you have to start from the commandline and do a connect to remote server [22:40:13] <mojavelinux> which isn't bad either [22:40:20] <mojavelinux> but then eclipse gets all confused about the source code [22:40:23] <mojavelinux> dumb eclipse [22:40:28] <sbryzak> which glassfish version do i need? [22:40:39] <mojavelinux> glassfish-3.1-b37 [22:40:45] <mojavelinux> there is a link on the solder home page [22:40:51] <mojavelinux> http://seamframework.org/Seam3/Solder [22:41:04] <mojavelinux> as for the plugin for eclipse...the only snag is that you may have trouble installing it [22:41:11] <mojavelinux> since the migration of glassfish.org broke the update site [22:41:25] <mojavelinux> and I'm not sure they have resolved it yet...I have it installed already on my old computer [22:41:31] <mojavelinux> but couldn't get it installed on my new computer [22:41:37] <mojavelinux> but, asadmin is pretty easy to use [22:41:41] <sbryzak> is that glassfish version a nightly build? [22:41:43] <mojavelinux> I'll pull up the debug start command [22:41:48] <mojavelinux> promoted build [22:42:01] <mojavelinux> it's like a nightly that gets special signoff [22:42:06] <sbryzak> found it, thanks [22:42:07] <mojavelinux> milestone [22:42:18] <mojavelinux> that's what it is in effect [22:42:28] <sbryzak> .b38 doesn't work? [22:42:45] <mojavelinux> it does too, b37 is the first working version [22:42:48] <mojavelinux> b36 is a bust [22:42:53] <mojavelinux> extract the zip [22:42:54] <sbryzak> are you using the web profile version? [22:42:55] <mojavelinux> then do this [22:43:08] <mojavelinux> for me the web profile was broken [22:43:10] <mojavelinux> I just got the full [22:43:21] <mojavelinux> web profile version wouldn't start for me...ah, but that might have been something on my side [22:43:29] <sbryzak> np, downloading now [22:43:29] <mojavelinux> so I think it would work, but let's test the full [22:43:35] <mojavelinux> so extract the zip [22:43:37] <mojavelinux> and here is the command [22:43:50] <mojavelinux> ./bin/asadmin start-domain --debug domain1 [22:43:52] <mojavelinux> verifying.... [22:44:03] <sbryzak> np, will try it shortly [22:44:31] <mojavelinux> domain1 is configured automatically [22:44:36] <mojavelinux> equivalent to jboss as default domain [22:44:46] <mojavelinux> Debugging is enabled. The debugging port is: 9009 [22:44:52] <mojavelinux> I'm going to test debugging, make sure there are no snags [22:44:58] <mojavelinux> in Eclipse, remember to enable the Maven profile [22:45:03] <mojavelinux> incontainer-glassfish-rest [22:46:50] <mojavelinux> I'm waiting for eclipse to finish building, eating it's lunch and smoking [22:49:51] <sbryzak> still waiting for the download.. it started off real quick, but then slowed right down [22:53:42] <mojavelinux> another useful command [22:53:46] <mojavelinux> tail -f glassfish/domains/domain1/logs/server.log [22:53:58] <mojavelinux> note that glassfish is a directory inside of the glassfish configuration [22:54:04] <mojavelinux> installation I mean [22:55:08] <mojavelinux> crap, we have the m2eclipse bug issue [22:55:15] <mojavelinux> sorry, profile bug to deal with [22:55:22] <mojavelinux> so this is something I've been meaning to track down [22:55:39] <mojavelinux> if you have an activeByDefault there doesn't seem to be a way to disable that inside of m2eclipse [22:55:42] <mojavelinux> if you want to use another profile [22:55:49] <mojavelinux> so, you have to comment out that line in your pom.xml file [22:55:58] <mojavelinux> in this case in impl/pom.xml [22:56:11] <mojavelinux> or else you get both profiles activated and eclipse is just putting tons of crap on the classpath [23:01:32] <sbryzak> dammit, my download died [23:02:38] <mojavelinux> let me know if you need me to DCC it to you [23:02:50] <mojavelinux> okay, so I got the remote debugging setup...instructions in a moment [23:03:01] <sbryzak> i'm trying it again [23:05:45] <jbossbot> git [solder] push master 82d6aa4.. Dan Allen cleanup dependencies [23:05:45] <jbossbot> git [solder] push master URL: http://github.com/seam/solder/compare/aa65deb...82d6aa4 [23:05:54] <mojavelinux> scratch what I said about the profile tweaks [23:05:58] <mojavelinux> here are the steps [23:06:05] <mojavelinux> 1. start glassfish using asadmin [23:06:27] <mojavelinux> 1b. if you start in debug mode, connect eclipse debugger to a remote server on port 9009 (optional) [23:06:46] <mojavelinux> 2. open project properties, Maven panel, set profile to incontainer-glassfish-rest [23:07:14] <mojavelinux> 3. refresh project, update maven project configuration & dependencies (to be safe), and force clean build the project [23:07:26] <mojavelinux> 4. open up test, right click, Run As > Junit Test [23:07:33] <mojavelinux> 5. set a breakpoint [23:07:34] <mojavelinux> repeast [23:07:37] <mojavelinux> repeat [23:07:53] <mojavelinux> you don't need to Debug As > JUnit test since the debugging is external [23:08:14] <mojavelinux> if anything fails, see the glassfish logs...the exception message isn't propogating [23:08:22] <mojavelinux> that needs to be fixed in the adapter [23:17:19] <sbryzak> ok, finally got it [23:23:02] <jbossbot> git [mail] push master dc49b90.. Cody Lerum back address collections with HashSet to eliminate duplicates [23:23:02] <jbossbot> git [mail] push master 34dc71f.. Cody Lerum more consistent naming [23:23:02] <jbossbot> git [mail] push master 9ca510c.. Cody Lerum Improve javadoc for EmailMessage... [23:23:03] <jbossbot> git [mail] push master URL: http://github.com/seam/mail/compare/f81048f...9ca510c [23:34:06] <sbryzak> mojavelinux: my breakpoints aren't being hit [23:34:58] <sbryzak> i've tried Run As, and Debug As [23:36:18] <mojavelinux> are you remote debugging glassfish on port 9009? [23:36:31] <mojavelinux> and are you sure it's hitting your glassfish instance? [23:36:40] <sbryzak> it's hitting glassfish [23:36:44] <sbryzak> i'm tailing the log file [23:37:08] <sbryzak> ah wait a sec [23:37:33] <sbryzak> nope, not working [23:37:46] <sbryzak> i'd stopped the debugger, but i started it again and still not hitting the breakpoint [23:40:49] <mojavelinux> hmm [23:41:04] <mojavelinux> can you try in CoreTest [23:41:11] <mojavelinux> breakpoint inside the first test method [23:41:18] <mojavelinux> testExact [23:41:52] <sbryzak> aha, it's hitting that one [23:42:12] <sbryzak> it won't hit DefaultBeanTest.testDefaultBean() [23:42:56] <mojavelinux> likely it's not hitting it for one of a few reasons [23:43:02] <mojavelinux> first, something is failing before then [23:43:12] <mojavelinux> it's some sort of proxy and the debugger can't figure out how to stop there [23:43:24] <mojavelinux> some other reason I haven't mentioned ;) [23:43:32] <mojavelinux> trying on this side... [23:44:07] <mojavelinux> aha [23:44:13] <mojavelinux> it's failing setting up the Arquillian test [23:44:23] <sbryzak> where does it log that? [23:44:26] <mojavelinux> it's better to switch to injection into method arguments [23:44:28] <sbryzak> there's nothing in my console [23:44:36] <mojavelinux> it should be in the JUnit failure [23:44:36] <sbryzak> or in the glassfish log [23:44:47] <mojavelinux> org.jboss.arquillian.impl.event.FiredEventException: java.lang.RuntimeException: Could not inject members [23:44:47] <mojavelinux> at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68) [23:44:47] <mojavelinux> at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115) [23:44:47] <mojavelinux> at org.jboss.arquillian.impl.EventTestRunnerAdaptor.before(EventTestRunnerAdaptor.java:127) [23:44:47] <mojavelinux> at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:206) [23:44:47] *** mojavelinux has quit IRC [23:45:03] <sbryzak> ah the failure trace [23:45:28] *** mojavelinux has joined #seam-dev [23:45:32] <mojavelinux> oops, sorry [23:45:33] <sbryzak> lol you got kicked for flooding [23:45:38] <mojavelinux> that was supposed to be one line :( [23:45:44] <mojavelinux> stupid copy paste error [23:45:46] <sbryzak> i've found the failure trace [23:46:10] <mojavelinux> CDIInjectionEnricher [23:46:16] <sbryzak> NPE in AbstractDefaultProducerBean [23:46:17] <mojavelinux> is what you want to have opened [23:46:24] <mojavelinux> there you go [23:46:58] <mojavelinux> I'll offer a suggestion, you might want to put together a utility [23:47:14] <mojavelinux> that retrieves beans and puts them into a format that is easier to walk in the debugger [23:47:21] <mojavelinux> since iterators are a bitch in a debugger [23:47:28] <mojavelinux> just make a test util class for dumping info [23:47:46] <mojavelinux> that way, you can keep track of what's in the bean metadata stack [23:48:27] <sbryzak> into a collection or something? [23:48:53] <mojavelinux> yeah, like a list [23:48:58] <mojavelinux> a list is soooooo much easier to work with [23:49:00] <mojavelinux> :) [23:49:12] <mojavelinux> of course, I think you can setup like custom printers in the debugger, but I never have time [23:49:13] <sbryzak> the NPE is because declaringBean is null [23:49:52] <mojavelinux> yep, this is just going to be a matter of backtracing until we figure out the source of dropped information :( some of it could be proxy related, some of it visibility of classes [23:50:10] <mojavelinux> I gotta run soon, hopefully you are at a point where it's just programming now [23:50:22] <mojavelinux> I love arquillian, another great story for it's archives [23:50:26] <mojavelinux> how arquillian saved solder hahaha [23:50:55] <sbryzak> yep i should be ok now to start diving into this ;) [23:51:11] <mojavelinux> btw, feel free to hack on the glassfish adapter if you find something that is blocking progress [23:51:22] <mojavelinux> not a priority, more like if it's a necessity [23:51:57] <mojavelinux> oh, except I need to push my changes...well, I'll get to that tonight or tomorrow [23:52:28] <sbryzak> hmm [23:52:38] <sbryzak> it's trying to find a bean that doesn't seem to be there [23:53:20] <sbryzak> org.jboss.seam.solder.test.defaultbean.ChipManufacturer [23:53:44] <sbryzak> oh wait, i'm wrong [23:53:54] <sbryzak> looking in the wrong source tree.. [23:54:01] <sbryzak> the bean is there, but the bean manager still can't find it [23:54:43] <mojavelinux> also be sure to enable the export of the test archive in arquillian [23:54:45] <mojavelinux> that helps a tone [23:54:47] <mojavelinux> ton [23:56:06] <mojavelinux> my guess is either [23:56:09] <mojavelinux> a) the inner classes [23:56:20] <mojavelinux> b) no default constructor (something that makes it think there isn't one) [23:56:34] <mojavelinux> try to mess around with it, see what the winning combination is [23:56:39] <sbryzak> it's just a producer bean [23:56:57] <sbryzak> only has two methods, createChip() and createGPU() [23:57:23] <mojavelinux> oops, sorry, I meant producer methods, not inner classes [23:57:24] <sbryzak> i think it's something to do with the @DefaultBean annotation [23:57:27] <mojavelinux> looked at it too fast [23:58:01] <sbryzak> so this is the deployment() method: [23:58:02] <sbryzak> return baseDeployment().addPackage(DefaultBeanTest.class.getPackage()); [23:58:11] <sbryzak> does that mean it packages all classes in that package? [23:59:10] <mojavelinux> yep [23:59:19] <mojavelinux> you can see that when you look at the exported archive [23:59:30] <mojavelinux> src/test/resources/arquillian.xml [23:59:36] <mojavelinux> uncomment line with target/ [23:59:41] <mojavelinux> see archive in target/ after running test [23:59:53] <mojavelinux> okay, gotta run, wife is calling (and calling)