May 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:00:00] <ALR> Yep
[00:00:16] <aslak> ALR, it only does local tagging, which you push later ?
[00:00:34] <jbossbot> git [shrinkwrap] push 1.0.0-beta-1 URL: http://github.com/shrinkwrap/shrinkwrap/compare/0000000...0366601
[00:00:41] <ALR> Oh, yeah
[00:00:45] <ALR> git push upstream master --tags
[00:01:23] <aslak> ok, cool.. and that goes to nexus staging right ?
[00:01:28] <ALR> Yes.
[00:01:39] <ALR> aslak: Important:
[00:02:05] <ALR> aslak:  https://github.com/ALRubinger/shrinkwrap/commit/d05502b039c43d017450241e1fcedf8a6f25acbf
[00:02:06] <jbossbot> git [shrinkwrap] d05502b.. Andrew Lee Rubinger [SHRINKWRAP-281] Configure release plugin
[00:02:07] <jbossbot> jira [SHRINKWRAP-281] Fix Release Plugin Version to 2.0 [Resolved (Done) Task, Major, Andrew Rubinger] https://issues.jboss.org/browse/SHRINKWRAP-281
[00:02:33] <aslak> auto? yea got that one
[00:02:55] <aslak> ALR, any reasons for 2.0 vs 2.1 ?
[00:03:02] *** maeste has quit IRC
[00:03:03] <ALR> 2.1 might be find
[00:03:05] <ALR> *fine
[00:03:13] <ALR> But whatever the default plugin version is...is not
[00:03:19] <aslak> hehe
[00:03:21] <ALR> It'll fail on tagging otherwise
[00:05:58] <aslak> ALR, and skipping all other modules the aggregator is normal ?
[00:06:03] <aslak> the/then
[00:06:11] <ALR> Skipping?
[00:06:25] <ALR> No, all get built/deployed for me
[00:06:55] <aslak> i mean in the summary
[00:07:02] <aslak> they all build, they all get changed
[00:07:21] <aslak> http://pastebin.com/cDTA40dN
[00:07:27] <aslak> might be the dry-run
[00:08:11] <ALR> No, that's right: And the very end
[00:09:42] <aslak> right, excellent..
[00:09:44] <aslak> seems to work then
[00:10:40] <aslak> been years since the last time i gave up the release plugin on a multi module project
[00:10:45] <ALR> :D
[00:10:50] <ALR> It's sooooo awesome
[00:11:00] <ALR> I mean, you must configure it The Maven Way
[00:11:05] <ALR> But I don't mind playing nice.
[00:11:17] <ALR> To get one-command automated released.
[00:11:19] <ALR> *releases
[00:15:45] *** jharting has quit IRC
[00:18:03] <aslak> seems to handle the arq struct just fine
[00:18:39] <aslak> one thing it complained about, i used ${project.version} in a properties in the bom, but that was a easy fix
[00:20:08] <ALR> Ah yeah, I've no BOM
[00:23:22] *** lightguard_jp has quit IRC
[00:23:53] <aslak> some times i which we could nuke the maven repos
[00:24:32] <aslak> the time line of changing ids makes it a bit confusing.. :)
[00:24:49] <ALR> Yeah
[00:24:54] <ALR> Changing GAVs makes stuff tough
[00:41:31] *** jeand has quit IRC
[00:45:45] <aslak> ALR, aa.. 2.1 adds pushChanges, default true
[00:45:49] <aslak> don't want that
[00:45:59] <ALR> Right
[00:46:02] <ALR> You can manually push
[00:46:05] <ALR> And manually deploy
[00:46:15] <ALR> So a revert is easier
[00:49:06] <aslak> and it's failing for some reason.. ;)
[00:49:19] <ALR> What happened?
[00:51:02] <aslak> no the push
[00:51:34] <aslak> public key issue.. not sure which key it would use besides my users but
[00:54:11] <aslak> woho, prepare success
[00:57:57] <aslak> ok.. it would be nice if pushChanges = false that that implied localCheckout but..
[01:03:23] <aslak> ... staging ...
[01:05:33] <aslak> .. and nexus fails..
[01:07:53] <aslak> .. staging ...
[01:11:25] <aslak> success
[01:14:00] *** DavideD has quit IRC
[01:16:33] *** PeteRoyle has quit IRC
[01:17:31] <aslak> booom.. https://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/arquillian-bom/1.0.0.Beta1/
[01:19:04] <aslak> ALR, ^
[01:19:23] <ALR> aslak: Boom bad or good?
[01:19:46] <aslak> boom good, boom done.. boom released
[01:19:49] <aslak> :)
[01:19:55] <ALR> Suhweeeeet
[01:20:03] <ALR> So now we just gotta...make AS work :D
[01:20:09] <ALR> And get an Embedded Container
[01:20:10] <aslak> yea
[01:20:10] <ALR> Etc
[01:20:16] <ALR> Starting tomorroew
[01:20:18] <ALR> *tomorrow
[01:20:23] <ALR> Hurrah.
[01:20:29] <ALR> Nice work.
[01:20:38] <aslak> likewise
[01:21:31] <aslak> ALR, lotsa naming changes.. so ping me before you start.. :)
[01:21:39] <ALR> Yeah
[01:21:45] <ALR> We might tag-code it?
[01:21:53] <aslak> yea
[01:21:56] <ALR> Cool
[01:22:00] <ALR> I'll ping ya when up tomorrow.
[01:22:05] <ALR> Sleep tight for you now
[01:22:16] <aslak> yea..  gotta get a berr
[01:22:19] <aslak> beer even
[01:22:19] <aslak> :)
[01:22:21] <aslak> then sleep
[01:28:30] *** rruss has joined #jbosstesting
[01:29:36] *** stuartdouglas_ has joined #jbosstesting
[01:29:36] *** stuartdouglas_ has quit IRC
[01:29:36] *** stuartdouglas_ has joined #jbosstesting
[01:30:38] *** stuartdouglas has quit IRC
[01:30:40] *** stuartdouglas_ is now known as stuartdouglas
[01:40:43] *** PeteRoyle has joined #jbosstesting
[02:13:54] *** aslak has quit IRC
[04:25:29] *** bgeorges has quit IRC
[04:29:52] *** ldimaggi has quit IRC
[04:34:43] *** ldimaggi has joined #jbosstesting
[05:03:52] *** ldimaggi has quit IRC
[05:48:20] *** ThePing has joined #jbosstesting
[05:48:20] *** ThePing has left #jbosstesting
[05:59:41] *** bobmcw_ has joined #jbosstesting
[05:59:59] *** bobmcw_ has quit IRC
[06:00:19] *** bobmcw_ has joined #jbosstesting
[06:01:55] *** bobmcw has quit IRC
[06:02:53] *** michaelschuetz has joined #jbosstesting
[06:06:00] *** michaelschuetz has quit IRC
[06:29:03] *** lightguard_jp has joined #jbosstesting
[06:43:18] *** michaelschuetz has joined #jbosstesting
[06:50:52] *** michaelschuetz has quit IRC
[07:15:28] *** michaelschuetz has joined #jbosstesting
[07:23:53] *** michaelschuetz has quit IRC
[07:27:46] *** rruss has quit IRC
[07:34:13] *** rruss has joined #jbosstesting
[07:36:54] *** rruss has quit IRC
[08:09:18] *** alesj has joined #jbosstesting
[08:09:22] *** adinn has joined #jbosstesting
[08:09:32] <adinn> dmlloyd: ping!
[08:09:49] *** ge0ffrey has joined #jbosstesting
[08:10:17] <dmlloyd> hey adinn
[08:10:22] <dmlloyd> was just thinking about going to bed
[08:10:51] <adinn> hi! I'm almost ready to go for supper :-) weird given the time in the uk
[08:10:51] <dmlloyd> but, I'll stay for a few min if you want to chat about stuff
[08:11:00] <dmlloyd> :)
[08:11:04] <adinn> just trying to build modules code and got a problem
[08:11:30] <adinn> ClassPathModuleLoader.IDENTIFIER not defined in ClassPathModuleLoaderTest
[08:11:36] <dmlloyd> hmmm
[08:11:37] <adinn> seems like your last git push
[08:11:41] <dmlloyd> that'd be my fault yeah
[08:11:50] <dmlloyd> I thought I tested it, must have forgotten to clean though
[08:12:12] <adinn> I guess I could just revert to 1.0.0.CR2?
[08:12:41] <dmlloyd> nah I'll have it fixed in a jif
[08:12:52] <adinn> or I oculd just test AS7 like you suggested
[08:13:01] <dmlloyd> pushed
[08:13:08] <adinn> ok, ta
[08:13:39] <dmlloyd> just munged a merge, which is why I shouldn't be merging stuff after hour 15 of the work day :)
[08:13:49] <adinn> :-( eerk
[08:14:42] <adinn> ok, runs fine now :-) u should go to sleep :-)
[08:15:03] <dmlloyd> aye aye
[08:25:05] *** galderz has joined #jbosstesting
[08:32:29] *** mgoldmann has joined #jbosstesting
[08:36:27] *** Jaikiran has joined #jbosstesting
[08:37:21] *** michaelschuetz has joined #jbosstesting
[08:40:25] *** rruss has joined #jbosstesting
[08:48:05] *** davidbos has joined #jbosstesting
[08:56:18] *** jeand has joined #jbosstesting
[08:57:49] *** jeand has quit IRC
[09:00:20] *** jeand has joined #jbosstesting
[09:08:53] *** kpiwko has joined #jbosstesting
[09:18:11] *** rruss has quit IRC
[09:29:37] *** bgeorges has joined #jbosstesting
[09:35:48] *** ALR has quit IRC
[09:37:07] *** adinn has quit IRC
[09:40:08] *** dblevins has quit IRC
[09:44:26] *** aslak has joined #jbosstesting
[09:44:26] *** aslak has quit IRC
[09:44:26] *** aslak has joined #jbosstesting
[09:45:13] *** dblevins has joined #jbosstesting
[09:48:16] *** psychollek has joined #jbosstesting
[09:48:30] *** aslak has quit IRC
[09:49:25] *** aslak has joined #jbosstesting
[09:53:49] *** aslak has quit IRC
[09:54:26] *** aslak has joined #jbosstesting
[09:59:07] *** lightguard_jp has quit IRC
[10:03:52] *** torben has joined #jbosstesting
[10:04:09] *** DavideD has joined #jbosstesting
[10:08:33] *** psychollek has quit IRC
[10:09:53] *** psychollek has joined #jbosstesting
[10:20:02] *** psychollek has quit IRC
[10:20:30] *** tdiesler has joined #jbosstesting
[10:21:20] *** psychollek has joined #jbosstesting
[10:30:27] *** galderz has quit IRC
[10:30:41] *** psychollek has quit IRC
[10:30:46] *** psychollek has joined #jbosstesting
[10:30:48] *** galderz has joined #jbosstesting
[10:31:08] *** davidbos has quit IRC
[10:31:11] *** davidbos1 has joined #jbosstesting
[10:37:02] *** tdiesler has quit IRC
[10:39:00] *** tdiesler has joined #jbosstesting
[10:40:10] *** tdiesler has quit IRC
[10:40:40] *** akedziora has joined #jbosstesting
[10:41:05] *** psychollek has quit IRC
[10:47:59] *** akedziora has quit IRC
[10:48:44] *** torben has quit IRC
[10:49:16] *** psychollek has joined #jbosstesting
[10:52:51] *** bgeorges has quit IRC
[10:52:59] *** psychollek has quit IRC
[10:54:16] *** psychollek has joined #jbosstesting
[11:01:48] *** maeste has joined #jbosstesting
[11:05:55] *** alesj has quit IRC
[11:11:36] *** torben has joined #jbosstesting
[11:11:36] *** torben has joined #jbosstesting
[11:23:09] <psychollek> yo, does anybody know if there exists some reference to how arquirlian.xml should be constructed ?
[11:23:27] <psychollek> and what "relative" in container configuration means ?
[11:23:42] <psychollek> I can't make it to use my own domain.xml
[11:24:03] <psychollek> (and thus instantinate the databases)
[11:30:07] *** torben has quit IRC
[11:36:31] *** michaelschuetz has quit IRC
[11:41:37] *** michaelschuetz has joined #jbosstesting
[11:51:22] *** torben has joined #jbosstesting
[11:51:23] *** torben has joined #jbosstesting
[12:02:01] <psychollek> I found out : http://community.jboss.org/message/590317 but it still dosen't work for me :/
[12:07:55] *** alesj has joined #jbosstesting
[12:30:02] *** maschmid has joined #jbosstesting
[13:03:06] *** michaelschuetz has quit IRC
[13:05:06] <aslak> psychollek, heya..
[13:05:28] <aslak> psychollek, relative what ?
[13:12:15] *** Jaikiran has quit IRC
[13:19:14] <psychollek> "The relative or absolute path to the sun-resources.xml file "
[13:19:37] <psychollek> can't really make it to create resources I need
[13:19:56] <psychollek> I used relative patchs, I used absolute one, etc
[13:22:34] *** Jaikiran has joined #jbosstesting
[13:28:20] <aslak> psychollek, which v. you using?
[13:28:29] <aslak> relative to your working path
[13:28:43] <psychollek> alpha 5
[13:30:33] <alesj> aslak: do we already have some command-line container?
[13:30:37] <aslak> psychollek, sunResourceXML was missed in the upgrade to gf 3.1, so it's not currently supported. you'll need to run it on top of a existing configuration using configurationXML instead
[13:31:04] <aslak> psychollek, 3.1 requires URLs, so file:myConfigurationXMl.xml
[13:31:10] <aslak> alesj, wha tdo you mean?
[13:31:11] <psychollek> and configurationXml is domain.xml ?
[13:31:22] <aslak> psychollek, believe so
[13:31:57] <alesj> aslak: i would like to invoke / execute some script from container
[13:32:16] <alesj> aslak: e.g. GAE's startup script
[13:32:59] <aslak> alesj, aa a generic execute some command line container.. no not done yet
[13:33:13] <alesj> aslak: or how do we run JBossAS6 in managed form?
[13:33:13] *** michaelschuetz has joined #jbosstesting
[13:33:27] <aslak> alesj, command line, but via the Servermanager apis
[13:33:52] <alesj> aslak: ah, ok, no generic way
[13:34:05] <aslak> nope
[13:34:08] <alesj> let me hack something then
[13:34:10] <alesj> :-)
[13:34:13] <aslak> :)
[13:34:23] <alesj> btw: do we know if GAE' API is public?
[13:34:43] <alesj> e.g. the stuff its Eclipse plugin uses to handle GAE instances
[13:34:52] <alesj> local or remote
[13:35:14] <aslak> the eclipse stuff is closed source i believe.. the gaq maven plugin use cml
[13:35:39] <alesj> auch
[13:35:48] <aslak> cli i mean
[13:35:49] <aslak> :)
[13:35:50] <alesj> well, i don't need the sources
[13:36:01] <alesj> if there is a .jar available ...
[13:36:16] <aslak> alesj, for remote?
[13:36:39] <alesj> for both
[13:37:56] <aslak> i think the sdk is all there is.. which has the cli scripts etc
[13:39:05] <aslak> alesj, sent it of to legal yet?
[13:40:28] *** Jaikiran has quit IRC
[13:40:45] *** Jaikiran has joined #jbosstesting
[13:42:33] *** michaelschuetz has quit IRC
[13:57:34] *** jharting has joined #jbosstesting
[14:07:56] *** galderz has quit IRC
[14:08:30] <alesj> aslak: that class?
[14:08:47] <alesj> alesj: had a discussion with MarkL, who said it's of course illegal :-)
[14:09:08] <alesj> aslak: we need to find a way to work around it
[14:09:25] <alesj> aslak: reflection might be the way to do it, but even there it might be a problem :-(
[14:09:50] *** alesj has quit IRC
[14:24:08] <psychollek> wuagh !
[14:24:13] <psychollek> found it :P
[14:24:20] <psychollek> it is plainly stupid !!
[14:24:57] <psychollek> for it to work one have to put : "file:///tmp/domain.xml"
[14:25:25] <psychollek> not only one have to give absolute path, but with protocol identifier as well
[14:31:01] <psychollek> ok, guess I'll have to report the bug and submit patch :/
[14:32:32] *** wolfc has joined #jbosstesting
[14:32:41] <wolfc> aslak, where did you hide beta1?
[14:35:16] <psychollek> oh,  there actually IS a bug for it :P
[14:35:22] *** galderz has joined #jbosstesting
[14:35:25] <psychollek> and a workaround ;]
[14:39:20] *** rruss has joined #jbosstesting
[14:46:59] *** rruss has quit IRC
[14:50:47] *** ldimaggi has joined #jbosstesting
[14:52:22] <psychollek> uhuuuu, permgen space ^^
[15:02:58] *** michaelschuetz has joined #jbosstesting
[15:06:37] *** michaelschuetz has quit IRC
[15:07:08] *** bgeorges has joined #jbosstesting
[15:08:05] <aslak> psychollek, yea, ti's reported.. :)
[15:08:19] <aslak> wolfc, it's in nexus.. some gav changes tho
[15:10:42] <wolfc> aslak: what's the relation then to AS 7's Alpha5 version?
[15:11:11] <aslak> wolfc, AS 7 is being updated to Beta1 over the next dayus
[15:11:12] <aslak> days
[15:11:24] *** michaelschuetz has joined #jbosstesting
[15:11:41] *** michaelschuetz has quit IRC
[15:11:44] <aslak> wolfc, not sure i understand what you mean by relation..
[15:12:21] *** michaelschuetz has joined #jbosstesting
[15:13:09] <wolfc> aslak: I don't see the Alpha5 release in the history
[15:15:29] <wolfc> Okay found it, never mind me
[15:15:50] *** michaelschuetz has quit IRC
[15:32:07] *** rruss has joined #jbosstesting
[15:34:33] *** maeste has quit IRC
[15:35:06] *** maeste has joined #jbosstesting
[15:43:48] *** ralfbattenfeld has joined #jbosstesting
[15:46:17] *** ldimaggi has quit IRC
[15:50:01] *** torben has quit IRC
[15:55:18] *** vtunka has quit IRC
[15:57:14] *** torben has joined #jbosstesting
[15:59:30] *** ldimaggi has joined #jbosstesting
[16:02:15] *** OndejZizka is now known as OndrejZizka
[16:02:37] *** OndrejZizka has quit IRC
[16:02:37] *** OndrejZizka has joined #jbosstesting
[16:07:47] <aslak> kpiwko, ralfbattenfeld ping
[16:08:05] <kpiwko> aslak: pong
[16:08:13] <aslak> kpiwko, is it possible to remove repo1 from MavenDepResolver ?
[16:08:26] <kpiwko> aslak: you mean central?
[16:08:29] <aslak> yea
[16:08:59] <aslak> kpiwko, e.g., some companies has a policy of never using it, they have their own in house setup etc
[16:09:14] <psychollek> aslak: what is your first guess for nullpointer exception on : org.jboss.arquillian.impl.client.ContainerDeploymentContextHandler.lookup(ContainerDeploymentContextHandler.java:157)
[16:09:15] <kpiwko> aslak: well, we can ship without default repo
[16:09:16] <psychollek> ?
[16:09:36] <kpiwko> aslak: but that would need an extra configuration step
[16:09:36] *** vtunka has joined #jbosstesting
[16:10:09] <kpiwko> aslak: no remote repo, no resolution apart from local repository...but this can be acceptable
[16:10:45] <aslak> kpiwko, it currently doesn't catch on to things like mirror-of in settings.xml does it ?
[16:11:03] *** ralfbattenfeld has quit IRC
[16:11:07] <kpiwko> aslak: not sure about mirroring
[16:11:18] <kpiwko> aslak: but settings.xml is not loaded by default
[16:11:26] <kpiwko> aslak: you have to say you want to load it
[16:12:10] <kpiwko> aslak: afaik I pass only remote repos and repos from activated/alwaysactive profiles + path to a local repo
[16:12:19] <kpiwko> aslak: so mirrors are not used
[16:12:36] <kpiwko> aslak: can you file a jira on that?
[16:13:18] <aslak> psychollek, what does your test case look like? seems to be some missmatch between the defaulting for @Test @OperatesOnDeployment
[16:13:29] <aslak> kpiwko, sure
[16:13:41] <aslak> kpiwko, is there a option of setting it in offline mode now?
[16:14:07] <kpiwko> aslak: without having central as default, we might want to add some remote repository API exposed to user and enum/static func/whatever like gradle do (central())
[16:14:17] <kpiwko> aslak: no, same case as for mirroring
[16:14:33] <psychollek> aslak: hmmm 7 methods with @Deployment with apropriate ordet, then one @Test method with two injected @EJB and no other annotations
[16:15:18] <psychollek> oh, and 7'th @Deployment is testable=false
[16:15:30] <psychollek> but @EJB's are remote
[16:16:10] <aslak> psychollek, you need to set @Deployment.name, and refere to which of the Deployments you want the @Test to operate in context of using @OperatesOnDeployment(name)
[16:16:49] <aslak> psychollek, but you can file a jira for bad error handling.. :)
[16:17:35] <aslak> hmm.. that should have been caought in the Validator..
[16:18:52] *** michaelschuetz has joined #jbosstesting
[16:19:55] <aslak> kpiwko, well, central can be default. i think using central is a common enough case so the option should be to turn it off
[16:20:29] *** galderz has quit IRC
[16:20:50] *** galderz has joined #jbosstesting
[16:22:47] *** michaelschuetz has quit IRC
[16:23:44] <kpiwko> aslak: in that case we should wrap Aether RemoteRepository with a SW RemoteRepository impl, provide an API like MavenDependencyResolver.setRemoteRepositories(RemoteRepository...repositories) and with MAVEN_CENTRAL (and provide JBOSS_NEXUS, etc.) as default if not set, do you agree?
[16:25:09] <aslak> SHRINKWRAP-282
[16:25:10] <jbossbot> jira [SHRINKWRAP-282] Should be able to 'disable' central in MavenDependenciesResolver [Open (Unresolved) Feature Request, Major, Unassigned] https://issues.jboss.org/browse/SHRINKWRAP-282
[16:25:51] <aslak> kpiwko, hmm.. just thinking where that API would be called in the case of Arq
[16:26:31] <psychollek> oh, I second that one :P
[16:27:04] <psychollek> altough this gives good debugging output (I know every artifact that is beeing pulled)
[16:27:32] <kpiwko> aslak: you mean user who want to use MDR in his test or in arq internals?
[16:27:50] <aslak> test
[16:27:54] <aslak> well.. both
[16:28:23] <aslak> maybe we should have our own settings.xml ? simplified .)
[16:28:36] <kpiwko> MDR.setRemoteRepositories(BLABLAH).goOffline().artifacts(...).resolveAs(X.class);
[16:29:03] <kpiwko> or MDR.loadSettings(settings.xml).artifacts(...).resolveAs(X.class)
[16:29:08] <aslak> sure, but this is normally not a pr test issue right
[16:29:20] <kpiwko> aslak: ah
[16:29:58] <kpiwko> aslak: in that case you can set path to settings.xml by a system property,
[16:30:06] <kpiwko> but it feels not right
[16:32:03] *** torben has quit IRC
[16:32:39] <kpiwko> aslak: https://github.com/shrinkwrap/shrinkwrap/blob/master/extension-resolver/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/ProfilesUnitTestCase.java
[16:34:59] <aslak> right
[16:36:27] <aslak> you can set settings.xml.. so we just need mirrorOf support then i guess
[16:36:39] <aslak> a system properties flag for offline would be nice as well
[16:37:08] <aslak> central is added default, but overwritten if mirrirOf central is used in settings.xml
[16:39:19] <kpiwko> right
[16:42:13] *** bobmcw_ is now known as bobmcw
[16:42:13] *** bobmcw has quit IRC
[16:42:14] *** bobmcw has joined #jbosstesting
[16:57:41] *** torben has joined #jbosstesting
[16:57:41] *** torben has joined #jbosstesting
[17:01:03] *** michaelschuetz has joined #jbosstesting
[17:12:00] *** vtunka has quit IRC
[17:13:14] *** michaelschuetz has quit IRC
[17:26:09] *** vtunka has joined #jbosstesting
[17:46:55] *** tdiesler has joined #jbosstesting
[17:59:27] *** kpiwko has quit IRC
[18:05:40] *** Jaikiran has quit IRC
[18:09:54] *** alesj has joined #jbosstesting
[18:14:32] *** ldimaggi has quit IRC
[18:15:21] *** maschmid has quit IRC
[18:17:03] *** torben has quit IRC
[18:21:44] *** alesj has quit IRC
[18:22:23] *** OndrejZizka is now known as ozizka
[18:22:56] *** ozizka is now known as OndrejZizka
[18:38:52] *** jharting has quit IRC
[18:53:56] *** lfryc has quit IRC
[18:57:10] *** ALR has joined #jbosstesting
[19:12:02] *** ldimaggi has joined #jbosstesting
[19:12:57] *** tdiesler has quit IRC
[19:17:05] *** DavideD has quit IRC
[19:55:12] *** galderz has quit IRC
[19:56:53] <pgmjsd>  psychollek:  I'm getting the same NPE in ContainerDeploymentContextHandler.lookup(ContainerDeploymentContextHandler.java:157)
[20:01:45] <pgmjsd> Adding 'name="blah"' to @Deployment and @OperateOnDeployment("blah") to the test made that one go away
[20:02:08] <pgmjsd> but now there's a different NPE in ServletUtil.determineBaseURI(ServletUtil.java:44)
[20:51:33] *** davidbos1 has quit IRC
[20:51:37] *** davidbos has joined #jbosstesting
[20:51:48] *** davidbos has quit IRC
[21:23:26] *** maeste has quit IRC
[21:23:29] *** alesj has joined #jbosstesting
[21:36:14] <aslak> pgmjsd, l 44?
[21:36:30] <pgmjsd> Line 44, yeah
[21:36:58] <aslak> Alpha5 i assume
[21:37:11] <pgmjsd> aslak: not sure if it's important, but I'm deploying the DataSource... like I asked about yesterday
[21:37:25] <pgmjsd> Yes, Alpha5
[21:38:11] <aslak> pgmjsd, are you targeting @Test against the Descriptor Deployment?
[21:38:13] <pgmjsd> It looks like it's talking to the JBoss instance, it's sending stuff "over there" I think.
[21:38:34] <pgmjsd> I put @OperateOnDeployment("JpaUnitTest") on my @Test method
[21:39:10] <pgmjsd> The static deployment factory methods are all @Deployment(name="JpaUnitTest"...)
[21:39:24] *** galderz has joined #jbosstesting
[21:39:29] <pgmjsd> I'm not injecting anything into the test... just making an empty shell to see how it works.
[21:41:27] <pgmjsd> on the JBoss AS side, I see the SessionFactory being deployed, hibernate starting.... then tomcat deploying to '/test' (I guess arq makes a .war?)
[21:41:35] <aslak> pgmjsd, try unique names and target a single deployment
[21:41:54] <aslak> pgmjsd, when using the Servlet Protocol yea, it ends up as a war
[21:41:55] <pgmjsd> Guess I'm not clear on what a deployment name is.
[21:43:37] <pgmjsd> Hm.... that worked!
[21:43:50] <aslak> pgmjsd, @Deployment.name is something unique you can use so you can match @OperatesOnDeployment to.. you can only operate on a single deployment at once
[21:44:16] <pgmjsd> okay... so if I have more than one @Deployment then they need unique names
[21:44:49] <aslak> in Alpha5 yes.. fixed some of that in Beta-1, especially around Descriptors..
[21:45:11] <aslak> so Descriptors are not included in the 'default' resolving, you have to target them specifically
[21:46:19] *** kpiwko has joined #jbosstesting
[21:46:30] *** tdiesler has joined #jbosstesting
[21:46:43] *** kpiwko has quit IRC
[21:46:58] <aslak> meaning if you only have 1 Archive deployment but multiple Descriptors, you can drop Deployment.name and @OperatesOn
[21:50:20] <aslak> pgmjsd, want to add a jira for validate unique Deployment.name ?
[21:51:13] *** ge0ffrey has quit IRC
[21:57:06] <pgmjsd> hang on, I have one Descriptor and one Archive
[21:57:15] <pgmjsd> Yeah, I can add a JIRA for that.
[21:57:59] <aslak> pgmjsd, yea, Alpha5 only looks at @Deployment and not the type, so there is more then one and it can't default
[21:58:16] <pgmjsd> gotcha
[22:00:12] *** mgoldmann has quit IRC
[22:01:09] *** galderz has quit IRC
[22:11:36] <pgmjsd> aslak: https://issues.jboss.org/browse/ARQ-452
[22:11:38] <jbossbot> jira [ARQ-452] NPE in ServletUtil.determineBaseURI(ServletUtil.java:44) with multiple @Deployment methods that have non-unique names [Open (Unresolved) Bug, Major, Unassigned] https://issues.jboss.org/browse/ARQ-452
[22:11:58] <aslak> pgmjsd, thanks
[22:12:36] <pgmjsd> NP.   BTW, I made a ClassLoaderDescriptor, because I wanted to put my data source xml in the test/resources directory.
[22:19:26] <aslak> pgmjsd, aa, right.. yea, that works :)
[22:20:17] <tdiesler> dmlloyd, it seems that I can add a ModuleSpec to the ServiceModuleLoader and a little later the same thread cannot load the Module. It only happens very occasionally and when I turn on logging it has not shown up yet - would that at all be possible?
[22:21:07] <dmlloyd> it's possible that there is some race condition, tdiesler
[22:21:45] <tdiesler> dmlloyd, how?
[22:22:04] <pgmjsd> aslak: ClassLoaderDescriptor "teh codez" -> http://pastebin.com/YwqdZGj8
[22:22:46] <dmlloyd> tdiesler: not sure, race conditions are slippery by their nature, but speculating - perhaps there's some race between module load and definition where another thread defines the module without the dep you're looking for
[22:24:13] <aslak> pgmjsd, suspecting that would be, Descriptors.importAs(GenericDescriptor.class, "name").from("resource.xml") or similar in some future Descriptor v.. :)
[22:24:40] <tdiesler> dmlloyd, hmm. Its all synchronous AFAIKs.
[22:24:43] <pgmjsd> aslak: Ah, much cooler
[22:26:03] *** alesj has quit IRC
[22:27:59] *** tdiesler has quit IRC
[22:29:35] *** wolfc has quit IRC
[23:00:23] *** jeand has quit IRC
[23:16:22] *** michaelschuetz has joined #jbosstesting
[23:17:31] *** torben has joined #jbosstesting
[23:17:31] *** torben has joined #jbosstesting
[23:24:09] *** michaelschuetz has quit IRC
[23:44:11] *** torben has quit IRC

top