00:02:32
|
*** Ngref has joined #openmrs
|
00:04:48
|
<r0bby> hoodies are what i wear a lot during the spring, fall, and winter
|
00:05:12
|
<nribeka> done :D
|
00:08:09
|
<r0bby> what are these 'books' lh speaks of
|
00:09:05
|
<bwolfe> surely someone blogged about it last year
|
00:09:26
|
<bwolfe> they gave every student a (signed?) copy of karl fogel's "producing open source software" last year
|
00:09:34
|
<bwolfe> is that right [OmegentooX] ?
|
00:10:13
|
<[OmegentooX]> bwolfe, I didn't do SoC through Google, but yeah, that's what they gave people. I had already purchased and read the book though. Review here: http://compiler-error.blogspot.com/2007/05/book-reviews.html
|
00:10:16
|
<OpenMRSBot> <http://ln-s.net/1obV> (at compiler-error.blogspot.com)
|
00:10:44
|
<bwolfe> hmm
|
00:10:48
|
<bwolfe> sioraiocht would know
|
00:11:01
|
<bwolfe> perhaps he will un-lurk and enlighten us
|
00:11:52
|
<r0bby> :<
|
00:12:27
|
<[OmegentooX]> I do know - they gave a signed copy of Karl Fogel's book =P
|
00:12:35
|
<r0bby> I think i want this a lil too much
|
00:12:51
|
<[OmegentooX]> The year before it was an Italian leather-bound notebook, which I still haven't used
|
00:13:05
|
<[OmegentooX]> http://www.discosoup.net:8080/~omegax/SoC/googlebook.jpg
|
00:13:06
|
<OpenMRSBot> <http://ln-s.net/1obY> (at www.discosoup.net:8080)
|
00:13:29
|
*** pombreda has quit IRC
|
00:14:08
|
*** pombreda has joined #openmrs
|
00:14:08
|
*** ChanServ sets mode: +v pombreda
|
00:14:09
|
<bwolfe> [OmegentooX]: what were the dimensions on that ?
|
00:14:20
|
<bwolfe> I think I got one (or two) of those today
|
00:14:20
|
<bwolfe> :-)
|
00:14:48
|
<[OmegentooX]> 7x9"
|
00:14:49
|
<bwolfe> when leslie says she "hooks you up with lots of swag"...well, she's not kidding. :-)
|
00:14:55
|
<[OmegentooX]> lol
|
00:17:33
|
<r0bby> The swag being the prestige of having the word "Google" behind "Summer of Code"
|
00:17:36
|
<r0bby> :)
|
00:17:46
|
<r0bby> :)
|
00:18:55
|
<bwolfe> swag just being "stuff"
|
00:19:09
|
*** maveriick has joined #openmrs
|
00:19:20
|
<bwolfe> shirts, posters, pens, notebooks, pocket notebooks, stickers, etc
|
00:19:24
|
<bwolfe> and then duplicates for the wife ;-)
|
00:25:45
|
<r0bby> nice =D
|
00:25:49
|
<r0bby> I
|
00:25:52
|
<r0bby> 'd save em
|
00:25:53
|
<r0bby> :)
|
00:27:31
|
<bwolfe> as opposed to... ??
|
00:28:51
|
<r0bby> using rem :P
|
00:28:51
|
<r0bby> s/rem/em/
|
00:30:06
|
<[OmegentooX]> bwolfe, there was serious talk about giving OLPC XO machines to everyone one year
|
00:30:14
|
<[OmegentooX]> (For SoC that is)
|
00:30:45
|
<bwolfe> [OmegentooX]: that'd be cool
|
00:31:00
|
<bwolfe> I'd apply to olpc if I was a student just to get one of those
|
00:31:05
|
<[OmegentooX]> Yeah, although I already have one =D
|
00:31:07
|
<bwolfe> its like a $300 bonus :-)
|
00:31:34
|
<bwolfe> r0bby: the tshirts will probably become basketball shirts.
|
00:31:47
|
<bwolfe> I'm not really a tshirt kind of guy. I wear collared shirts 90% of the time
|
00:32:30
|
<bwolfe> so either the shirts will be relegated to an undershirt for the rest of its life, or its going to get dirty :-p
|
00:33:29
|
<[OmegentooX]> bwolfe, ditto. Both my Google and OpenMRS shirts are pinned up on the wall behind me
|
00:33:49
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Moving the implementation to a new PC <http://forum.openmrs.org/viewtopic.php?f=23&t=366#p1175> || OpenMRS Changesets: Changeset [3951]: xforms-orbeon module: checking in an svn:ignore property (I think) <http://dev.openmrs.org/changeset/3951> || OpenMRS Changesets: Changeset [3950]: xforms-orbeon module: removing ${env.CATALINA_HOME} folder (shouldn't be ⦠<http://dev.openmrs.org/changeset/3950> || OpenMRS Changesets: Changeset [3949]: xforms-orbeon module: removing dist folder (shouldn't be in svn) <http://dev.openmrs.org/changeset/3949> || OpenMRS Changesets: Changeset [3948]: xforms-orbeon module: removing build folder (shouldn't be in svn) <http://dev.openmrs.org/changeset/3948>
|
00:34:02
|
<r0bby> OpenMRS shirt?
|
00:34:37
|
<bwolfe> yeah, all students got openmrs swag from us too. :-)
|
00:35:11
|
<[OmegentooX]> Mighty fine swag, too
|
00:35:44
|
<maveriick> bwolfe, How does it look like? any iamge available on the web?
|
00:35:53
|
<maveriick> *image
|
00:36:20
|
<[OmegentooX]> OpenMRS swag: http://pics.discosoup.net/schwag.jpg
|
00:37:08
|
<bwolfe> very nice [OmegentooX]
|
00:37:20
|
<bwolfe> I was about to disconnect and take a picture of justin wearing his shirt !
|
00:37:51
|
<maveriick> [OmegentooX], are you the man on the pic? cool!
|
00:38:10
|
<[OmegentooX]> s/man/scraggly hobo/
|
00:40:22
|
<r0bby> nice./
|
00:40:43
|
<r0bby> OpenMRS cert. and google
|
00:40:44
|
<r0bby> :)
|
00:41:07
|
<bwolfe> I have a cert too
|
00:41:18
|
<bwolfe> it says "worst mentor"
|
00:41:24
|
<bwolfe> my student was the only one to fail last year :-/.
|
00:41:31
|
<[OmegentooX]> lol
|
00:41:33
|
<r0bby> eeek
|
00:41:36
|
<[OmegentooX]> Was that the disappearing fellow?
|
00:41:48
|
<r0bby> bwolfe: not your fault your student was an ...
|
00:42:21
|
<bwolfe> he wasn't really bad...he just disappeared :-p
|
00:42:22
|
<bwolfe> bam
|
00:42:25
|
<bwolfe> no contact
|
00:42:47
|
<bwolfe> then a few days before midterm after a lot of threats from me he "shows up" and wants to catch up
|
00:42:47
|
<r0bby> that's bad
|
00:42:59
|
<[OmegentooX]> lol, I didn't know he came back like that
|
00:43:01
|
<r0bby> ...
|
00:43:16
|
<bwolfe> needless to say, he didn't pass the midterm
|
00:43:25
|
<nribeka> what kind of threat bwolfe?
|
00:43:28
|
<r0bby> and that means you're out?
|
00:43:34
|
<nribeka> hehe lolz ...
|
00:43:35
|
<r0bby> failing the midterm
|
00:44:16
|
<r0bby> I realized scheme is a nice language :)
|
00:44:22
|
<[OmegentooX]> r0bby, no, it's not
|
00:44:26
|
<[OmegentooX]> You take that back
|
00:45:08
|
<r0bby> I don't know it -- but i'm not scared anymore
|
00:45:10
|
<r0bby> =)
|
00:45:28
|
<[OmegentooX]> You should be
|
00:45:37
|
<[OmegentooX]> Who's making you use scheme?
|
00:46:00
|
<r0bby> nobody
|
00:46:11
|
<r0bby> I prolly won't bother learning it
|
00:46:18
|
<bwolfe> r0bby: yes, failing the midterm means you're out. no midterm money ($2000) and no final money ($2000)
|
00:46:41
|
<maveriick> bwolfe: and no t-shirt
|
00:46:42
|
<[OmegentooX]> But still $500 =/
|
00:47:00
|
<bwolfe> maveriick: haha, nope, no tshirt(s)
|
00:47:38
|
<r0bby> [OmegentooX]: yeh
|
00:47:40
|
<r0bby> that's bad
|
00:47:55
|
<r0bby> it shows lack of character (through not having follow-through)
|
00:48:08
|
<r0bby> you start something you better finish it)
|
00:48:25
|
<r0bby> otherwise you wasted google's money _AND_ your mentor's time
|
00:51:38
|
<r0bby> [OmegentooX]: are you onboard for another year?
|
00:52:11
|
<[OmegentooX]> I hope so,yes
|
00:53:17
|
<r0bby> Why not offer to mentor ?
|
00:53:29
|
<r0bby> or not experienced enough? :x
|
00:53:43
|
<r0bby> what'd you do last year?
|
00:53:45
|
<[OmegentooX]> Not nearly enough
|
00:53:55
|
<r0bby> openmrs is insane
|
00:53:55
|
<[OmegentooX]> (that's the answer to both of your questions)
|
00:54:57
|
<r0bby> hrm I think i'll write a prototype OpenMRS groovy builder :)
|
00:55:05
|
<r0bby> it's reletively easy to do :)
|
00:55:39
|
<r0bby> bah not in the mood right now
|
00:58:01
|
<r0bby> [OmegentooX]: you didn't finish the project last year?
|
00:59:10
|
*** maveriick has quit IRC
|
00:59:20
|
<bwolfe> here we go...checking out an openmrs branch over my phones internet connection
|
00:59:53
|
<r0bby> heh
|
01:00:06
|
<bwolfe> r0bby: [OmegentooX] is underestimating his skills I think
|
01:00:30
|
<r0bby> I kinda do that
|
01:00:47
|
<upul> bwolfe: there is a compression option for checkout i think
|
01:01:41
|
<bwolfe> really ??
|
01:01:43
|
<bwolfe> do tell!
|
01:02:00
|
<bwolfe> (at 27%...not too bad)
|
01:02:13
|
<upul> then don't stop
|
01:03:25
|
<[OmegentooX]> ...believing
|
01:03:30
|
<bwolfe> but whats the trick upul? link ?
|
01:03:49
|
<upul> i haven't tried http://wiki.kde.org/tiki-index.php?page=KDE+Subversion+HOWTO
|
01:03:52
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3952]: xforms-orbeon module: minor fixes <http://dev.openmrs.org/changeset/3952>
|
01:03:55
|
<OpenMRSBot> <http://ln-s.net/1obg> (at wiki.kde.org)
|
01:03:56
|
<upul> search compress
|
01:04:47
|
<upul> may be this has to be setup from the server side, i haven't used any
|
01:04:58
|
<r0bby> bwolfe: make sure students this year know to change the .project name so the modules don't show up as multiple BasicModule projects
|
01:06:01
|
<r0bby> (was checking out updates to the modules)
|
01:06:02
|
<bwolfe> r0bby: be sure to watch the commits and help out ;-)
|
01:06:12
|
<r0bby> I will :)
|
01:06:50
|
<r0bby> I think i'll be the only developer using IDEA
|
01:08:54
|
<bwolfe> could be
|
01:09:42
|
<r0bby> bwolfe: pihhacks
|
01:09:54
|
<r0bby> !trac
|
01:09:54
|
<OpenMRSBot> r0bby: Error: "trac" is not a valid command.
|
01:11:09
|
<r0bby> bwolfe: adding a bug and attaching a patch assigning it to you.
|
01:11:43
|
<bwolfe> !learn trac as The OpenMRS development site is run on Trac. See it in action! http://dev.openmrs.org
|
01:11:43
|
<OpenMRSBot> bwolfe: The operation succeeded.
|
01:11:53
|
<r0bby> either my connection is lagging or the server is lagging
|
01:12:01
|
<bwolfe> !trac
|
01:12:01
|
<OpenMRSBot> bwolfe: "trac" --- The OpenMRS development site is run on Trac. See it in action! http://dev.openmrs.org
|
01:12:26
|
<r0bby> there's a java version of trac called jtrac
|
01:12:30
|
<r0bby> it's a wicket app
|
01:14:21
|
<r0bby> either my connection is lagging or the server is lagging
|
01:15:48
|
<bwolfe> server probably
|
01:16:00
|
<[OmegentooX]> It's bwolfe leeching with his phone
|
01:16:34
|
<bwolfe> indeed
|
01:16:55
|
<bwolfe> although I was lagging at 34% for a while...and now I'm flying
|
01:17:02
|
<bwolfe> so I think apache had a hiccup
|
01:17:12
|
<bwolfe> atomicturtle will be taking care of that for us soon enough ;-)
|
01:17:41
|
<r0bby> !ticket 690
|
01:17:41
|
<OpenMRSBot> r0bby: Ticket #690: http://dev.openmrs.org/ticket/690
|
01:17:49
|
<r0bby> ^^
|
01:18:01
|
<r0bby> assigned to you
|
01:20:17
|
<upul> ah i think svn comes default with compression enabled
|
01:22:18
|
<bwolfe> but only with svn+ssh ?
|
01:22:43
|
<bwolfe> is that command line only?
|
01:22:54
|
<upul> no, i guest svn is not using normal text checkout, update
|
01:22:58
|
<upul> it uses a binary format
|
01:23:09
|
<upul> so compression must be already at work
|
01:23:22
|
<upul> http://svn.haxx.se/users/archive-2005-03/0445.shtml
|
01:23:32
|
<OpenMRSBot> <http://ln-s.net/1obn> (at svn.haxx.se)
|
01:23:46
|
<r0bby> mm this is nice.
|
01:26:49
|
<upul> i remember in cvs there was a separate command line option to set compression, in svn there is no need i think
|
01:27:45
|
<r0bby> it used gunzip (gzip)
|
01:27:48
|
<r0bby> iirc
|
01:27:57
|
<r0bby> -z#
|
01:28:08
|
<upul> yes
|
01:34:45
|
<r0bby> http://icanhascheezburger.files.wordpress.com/2008/04/funny-pictures-cat-coned.jpg
|
01:34:53
|
<OpenMRSBot> <http://ln-s.net/1obo> (at icanhascheezburger.files.wordpress.com)
|
01:35:17
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #690 (defect created): pihhacks module author didn't bother to change the .project file. Attached is a patch. <http://dev.openmrs.org/ticket/690> || OpenMRS Forum: Re: Moving the implementation to a new PC <http://forum.openmrs.org/viewtopic.php?f=23&t=366#p1176>
|
01:45:52
|
*** bwolfe_ has joined #openmrs
|
01:45:52
|
*** ChanServ sets mode: +o bwolfe_
|
02:03:41
|
*** bwolfe has quit IRC
|
02:08:12
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #690 (defect closed): pihhacks module author didn't change the .project file <http://dev.openmrs.org/ticket/690#comment:3> || OpenMRS Changesets: Changeset [3953]: pihhacks module: fixing #690 - changing name of project from BasicModule <http://dev.openmrs.org/changeset/3953> || OpenMRS Tickets: Ticket #690 (defect created): pihhacks module author didn't change the .project file <http://dev.openmrs.org/ticket/690>
|
02:15:41
|
*** bwolfe_ has quit IRC
|
02:44:03
|
*** openmrs_rox has joined #openmrs
|
02:45:24
|
*** openmrs_rox has quit IRC
|
02:46:53
|
*** TorLye has left #openmrs
|
03:14:50
|
*** TorLye has joined #openmrs
|
03:22:30
|
*** nribeka has quit IRC
|
03:26:18
|
*** nribeka has joined #openmrs
|
03:32:31
|
*** nribeka has quit IRC
|
03:38:36
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3955]: xformsorbeon module: added/moved some jars so it deploys to openmrs ⦠<http://dev.openmrs.org/changeset/3955> || OpenMRS Changesets: Changeset [3954]: form-refactoring branch: adding a portlet on the dashboard where all form ⦠<http://dev.openmrs.org/changeset/3954>
|
05:45:18
|
*** TorLye has quit IRC
|
05:46:28
|
*** TorLye has joined #openmrs
|
06:03:02
|
*** nribeka has joined #openmrs
|
06:26:32
|
*** sioraiocht has quit IRC
|
06:35:40
|
*** upul has quit IRC
|
07:08:34
|
*** Ngref has quit IRC
|
07:19:52
|
*** TorLye has quit IRC
|
07:29:35
|
*** njero has joined #openmrs
|
07:29:35
|
*** ChanServ sets mode: +v njero
|
07:37:21
|
*** burke_away has joined #openmrs
|
07:37:21
|
*** ChanServ sets mode: +o burke_away
|
07:50:57
|
*** atomicturtle has quit IRC
|
08:08:21
|
*** TorLye has joined #openmrs
|
08:16:07
|
*** upul has joined #openmrs
|
08:58:05
|
*** bwolfe has joined #openmrs
|
08:58:05
|
*** ChanServ sets mode: +o bwolfe
|
08:58:14
|
*** atomicturtle has joined #openmrs
|
09:11:41
|
*** pearlbear has joined #openmrs
|
09:11:41
|
*** ChanServ sets mode: +v pearlbear
|
09:18:12
|
*** bmckown has joined #openmrs
|
09:18:12
|
*** ChanServ sets mode: +o bmckown
|
09:20:02
|
*** TorLy1 has joined #openmrs
|
09:27:12
|
*** TorLye has quit IRC
|
09:27:25
|
*** TorLy1 is now known as TorLye
|
09:32:33
|
*** maveriick has joined #openmrs
|
09:54:00
|
<maveriick> hi everybody
|
09:58:07
|
<bwolfe> yo
|
09:59:44
|
<maveriick> I just shot a Hi ..as all very silent :)
|
09:59:46
|
*** Ngref has joined #openmrs
|
10:00:28
|
<bwolfe> heh
|
10:00:34
|
<bwolfe> yeah, the room goes through waves
|
10:03:24
|
<maveriick> bwolfe: what timezone you are in?
|
10:03:36
|
<bwolfe> until noon today I'm in PDT
|
10:03:46
|
<bwolfe> after that I'll be back in EDT
|
10:03:50
|
<bwolfe> you?
|
10:03:50
|
<maveriick> :-D
|
10:04:05
|
<maveriick> GMT+6
|
10:04:58
|
*** jmiranda has joined #openmrs
|
10:05:13
|
*** ChanServ sets mode: +o jmiranda
|
10:06:48
|
<bwolfe> ah, yes, GMT -5/-4 is my usual time zone
|
10:07:45
|
<maveriick> we are far apart ....
|
10:09:14
|
<bwolfe> indeed
|
10:10:12
|
<maveriick> jmiranda: hi
|
10:10:32
|
<jmiranda> hey maveriick
|
10:10:56
|
<jmiranda> thanks for the re-patch ... i'll get to that ticket as soon as i get back
|
10:12:10
|
<maveriick> jmiranda: How was the MySQL conference? Where was the venue?
|
10:12:53
|
<bwolfe> the hyatt in santa clara CA, USA
|
10:13:48
|
<bwolfe> maveriick: its pretty boring around the hotel
|
10:14:04
|
<jmiranda> so boring
|
10:14:25
|
<jmiranda> especially hang out at the sauna and pool
|
10:14:32
|
<jmiranda> the massages kinda sucked too
|
10:15:00
|
*** rmall1 has joined #openmrs
|
10:15:11
|
* maveriick maverrick is trying to visualize a boring sauna and pool session
|
10:15:44
|
<rmall1> Hello ben
|
10:16:35
|
<bwolfe> hey rmall1
|
10:16:53
|
<nribeka> ah, a boring sauna and pool
|
10:16:58
|
<nribeka> i really need those
|
10:17:35
|
<jmiranda> i'm kidding, it's still cold here so no pool
|
10:17:56
|
<bwolfe> it was 80...it was poolable yesterday
|
10:18:02
|
<bwolfe> but we didn't...
|
10:18:22
|
*** nribeka has quit IRC
|
10:18:47
|
<rmall1> bwolfe: I am done with the sequence setup page too, the only thing left is , do I need to refactor all the package names to say org.openmrs.module.identifiergenerator?
|
10:19:07
|
<bwolfe> rmall1: hmm
|
10:19:08
|
*** nribeka has joined #openmrs
|
10:19:36
|
<bwolfe> I think we were settling on mrngenerator
|
10:19:44
|
<bwolfe> what is your package name now?
|
10:19:57
|
<rmall1> org.openmrs.module.mrngen
|
10:20:54
|
*** nribeka has quit IRC
|
10:22:54
|
<bwolfe> hmm, reread your email
|
10:23:05
|
<bwolfe> will reply to burke/darius and see what they say
|
10:24:08
|
<rmall1> bwolfe: ok
|
10:31:16
|
*** burke_away is now known as burke
|
10:31:41
|
*** HongJun has joined #OpenMRS
|
10:31:53
|
*** TorLye has quit IRC
|
10:38:51
|
*** rmall1 has left #openmrs
|
10:40:38
|
*** TorLye has joined #openmrs
|
10:41:27
|
*** njero has quit IRC
|
10:42:53
|
*** HongJun has quit IRC
|
10:49:03
|
*** Keelhaul has joined #openmrs
|
10:49:03
|
*** ChanServ sets mode: +v Keelhaul
|
11:04:18
|
*** maveriick has quit IRC
|
11:06:06
|
*** upul has quit IRC
|
11:12:24
|
*** bwolfe has quit IRC
|
11:22:03
|
*** jmiranda has quit IRC
|
11:22:17
|
*** pombreda has quit IRC
|
11:22:58
|
*** pombreda has joined #openmrs
|
11:22:58
|
*** ChanServ sets mode: +v pombreda
|
11:29:39
|
*** burke is now known as burke_away
|
11:36:22
|
*** maveriick has joined #openmrs
|
12:13:24
|
*** pombreda has quit IRC
|
12:26:45
|
*** sioraiocht has joined #openmrs
|
12:26:45
|
*** ChanServ sets mode: +v sioraiocht
|
12:27:58
|
*** maveriick has quit IRC
|
12:33:30
|
*** atomicturtl1 has joined #openmrs
|
12:34:14
|
*** pombreda has joined #openmrs
|
12:34:15
|
*** ChanServ sets mode: +v pombreda
|
12:36:44
|
*** burke_away has quit IRC
|
12:44:38
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3958]: mrngen module: creating initial module folder <http://dev.openmrs.org/changeset/3958> || OpenMRS Changesets: Changeset [3957]: in patientmatching module, added some code to scale matching score based ⦠<http://dev.openmrs.org/changeset/3957> || OpenMRS Changesets: Changeset [3956]: -- chica * fixed a bug in extended hibernate encounter dao. The encounter ⦠<http://dev.openmrs.org/changeset/3956>
|
12:49:54
|
*** atomicturtle has quit IRC
|
12:52:55
|
*** Feez has quit IRC
|
12:54:14
|
<napi> bmckown: ping?
|
12:54:25
|
<bmckown> Hi, napi
|
12:54:30
|
<bmckown> :-)
|
12:54:38
|
<napi> free for a sec for a pm?
|
12:54:46
|
<bmckown> sure.
|
12:57:22
|
*** maveriick has joined #openmrs
|
12:58:22
|
*** Feez has joined #openmrs
|
13:04:19
|
<napi> righty i'm off out. got to go look after my mate whos just gone into hospital after being t-boned by a fucking police car no less
|
13:04:38
|
<bmckown> ouch!
|
13:04:43
|
<napi> indeed
|
13:04:56
|
<napi> cop jumped the red light... he's now claiming he was chasing a suspect
|
13:05:03
|
<napi> but he went through a major intersection without lights or sounds on
|
13:05:09
|
<napi> he says he was "trying to sneak up on the suspect"
|
13:05:24
|
<napi> Couldn't give a rats ass if the suspect was the crime lord of the UK. He just t-boned my mate
|
13:05:39
|
<bmckown> hmm. in the u.s. cops just change the signal as they're driving through. So it's always green for them..if they want to.
|
13:05:56
|
<bmckown> for real.. Send our regards to your mate.
|
13:06:05
|
<napi> UK = technologically developed like the 3rd world tbh
|
13:06:15
|
<napi> will do. hope tonight goes well for everyone \o/
|
13:06:23
|
<bmckown> apparently not the surveillance technology I hear.
|
13:06:40
|
<napi> hah yeah true
|
13:07:04
|
<bmckown> Well, our regards to your mate.. get well soon.
|
13:08:54
|
<Keelhaul> whats t-boning
|
13:09:12
|
<bmckown> Hitting them in the side. Like a T
|
13:09:17
|
<Keelhaul> oh
|
13:09:21
|
<bmckown> pretty bad.
|
13:09:23
|
<Keelhaul> shouldnt the cop be more injured then
|
13:10:00
|
<bmckown> Not if the cop was proceeding straight into the driver's side of napi's mate.
|
13:10:40
|
<Keelhaul> ye ahmm
|
13:10:59
|
<Keelhaul> just the door between the driver and the other car
|
13:11:12
|
<bmckown> yes.
|
13:20:52
|
*** atomicturtl1 is now known as atomicturtle
|
13:22:18
|
*** pombreda is now known as eclipse-pombreda
|
13:25:02
|
*** burke_away has joined #openmrs
|
13:25:02
|
*** ChanServ sets mode: +o burke_away
|
13:25:13
|
*** burke_away is now known as burke_openmrs
|
13:27:10
|
*** burke_openmrs is now known as openmrs-burke
|
13:31:24
|
*** maveriick has quit IRC
|
13:32:29
|
*** bmckown is now known as openmrs-mcow
|
13:33:23
|
<openmrs-mcow> moo
|
13:37:24
|
<Keelhaul> =o
|
13:41:38
|
<openmrs-mcow> in honor of my feable, pathetic little attempt of a blog. mckowsay.blogspot.com
|
13:42:17
|
<openmrs-mcow> I'm not much of a blogger I guess.
|
13:42:46
|
<Keelhaul> you should post full URLs
|
13:42:52
|
<Keelhaul> so people can just double click on em =P
|
13:43:00
|
<openmrs-mcow> I don't really want anyone to go there.
|
13:43:09
|
<Keelhaul> then dont post =P
|
13:43:17
|
<openmrs-mcow> oooooooh.
|
13:43:34
|
<openmrs-mcow> http://mckowsay.blogspot.com
|
13:43:35
|
<openmrs-mcow> there.
|
13:43:46
|
<Keelhaul> ascii cow =)
|
13:46:59
|
*** sioraiocht has quit IRC
|
13:50:30
|
*** Keelhaul|afk has joined #openmrs
|
14:02:26
|
<Keelhaul|afk> java.io.FileNotFoundException: Unable to find 'org/openmrs/test/include/initialInMemoryTestDataSet.xml' in the classpath
|
14:02:27
|
<Keelhaul|afk> ffs
|
14:02:30
|
<Keelhaul|afk> no, it is there
|
14:02:55
|
*** Feez is now known as student-Feez
|
14:03:09
|
*** student-Feez is now known as student_Fezz
|
14:07:46
|
*** Keelhaul has quit IRC
|
14:08:52
|
*** Keelhaul|afk is now known as Keelhaul
|
14:12:29
|
<openmrs-mcow> Keelhaul, I just had the same exception.
|
14:12:38
|
<Keelhaul> how did you fix it
|
14:12:44
|
<openmrs-mcow> I haven't yet.
|
14:12:48
|
<Keelhaul> oh
|
14:12:52
|
<Keelhaul> weird
|
14:13:00
|
<openmrs-mcow> yes.
|
14:13:05
|
<Keelhaul> maybe someone messed up trunk!
|
14:13:07
|
<Keelhaul> but the file is there
|
14:13:17
|
<Keelhaul> and the code seems to point at it correctly
|
14:13:28
|
<openmrs-mcow> Yes, except that I'm in complex_obs branch.
|
14:14:01
|
<Keelhaul> files havent been changed since january
|
14:17:04
|
<openmrs-mcow> Looks like a simple ant clean, Eclipse clean project. ant update. ant compile api-tests did the trick.
|
14:20:39
|
*** openmrs-mcow is now known as bmckown
|
14:23:05
|
<Keelhaul> update?
|
14:24:55
|
<bmckown> Well, I updated the web app. package-web puts everything in the war file. update just deploys it.
|
14:25:32
|
<Keelhaul> i cleaned and rebuilt the module and trunk several times alrady
|
14:25:35
|
<Keelhaul> ea*
|
14:25:44
|
<Keelhaul> and replaced the jars in the module
|
14:26:04
|
<bmckown> So: ant clean. eclipse clean project. ant package-web. ant package api tests.
|
14:26:12
|
<bmckown> package api tests?
|
14:26:20
|
<bmckown> you did that, right?
|
14:31:16
|
<Keelhaul> yes
|
14:31:19
|
<Keelhaul> i have all 3 jars
|
14:31:24
|
<Keelhaul> same version
|
14:31:29
|
<Keelhaul> 3941
|
14:31:35
|
<Keelhaul> no wait, newer
|
14:31:47
|
<Keelhaul> 3956
|
14:32:22
|
<Keelhaul> i just found out why the 64bit eclipse crashes all the time
|
14:32:34
|
<bmckown> why?
|
14:32:35
|
<Keelhaul> a but in java 6u5 and later
|
14:32:38
|
<Keelhaul> bug*
|
14:32:50
|
<Keelhaul> too bad sun doesnt offer 6u3 anymore on their site
|
14:32:50
|
<bmckown> yes. a but in java would be worse.
|
14:34:42
|
<bmckown> wild guess: .classpath doesn't have any sourcepath="/openmrs-source/ ... " referencing conflicting jars?
|
14:36:22
|
<Keelhaul> http://rafb.net/p/GX8Bkn13.html
|
14:37:45
|
<Keelhaul> just my libs and the ones from the module unit testing example
|
14:39:58
|
<bmckown> Hmm. That is somewhat different than http://dev.openmrs.org/browser/openmrs/trunk/.classpath
|
14:39:59
|
<OpenMRSBot> <http://ln-s.net/1ogY> (at dev.openmrs.org)
|
14:40:22
|
<Keelhaul> thats the trunk classpath
|
14:40:25
|
<Keelhaul> mine's a module
|
14:40:38
|
<bmckown> I thought you were in trunk. Sorry.
|
14:40:52
|
<Keelhaul> i've had unit tests work with the same config before
|
14:40:58
|
<Keelhaul> thats why it's so annoying
|
14:41:04
|
<bmckown> Yes.
|
15:14:21
|
<r0bby> -----+/jj
|
15:14:23
|
<r0bby> er
|
15:39:52
|
<bmckown> I wasn't sure what that meant earlier. But now I think it was that r0bby fell asleep on his keyboard.
|
15:48:54
|
<Keelhaul> i still couldnt get rid of the error =/
|
15:50:45
|
<bmckown> hmm. And it worked before obviously. Just out of nowhere org/openmrs/test/include/initialInMemoryTestDataSet.xml is not in the classpath?
|
15:51:46
|
<Keelhaul> yep
|
15:51:54
|
<Keelhaul> the test jar is referenced
|
15:51:57
|
<Keelhaul> the file is inside
|
15:52:09
|
<Keelhaul> it's supposed to be in the root of the jar, righT?
|
15:53:51
|
<bmckown> What is supposed to be in the root of the jar?
|
15:54:04
|
<bmckown> initialInMemoryTestDataSet.xml?
|
15:55:41
|
<openmrs-burke> Keelhaul: why is dist in your classpath?
|
15:55:43
|
*** openmrs-burke is now known as burke
|
15:56:08
|
<Keelhaul> burke: so hibernate can find mapping files during tests
|
15:57:29
|
<bmckown> I saw a reference to that here: http://openmrs.org/wiki/Module_Unit_Testing#FAQ
|
15:57:55
|
<Keelhaul> yea, i wrote it
|
15:57:57
|
<Keelhaul> ben made me =P
|
15:57:58
|
<burke> just comparing to FormEntry: http://dev.openmrs.org/browser/openmrs-modules/formentry/trunk/.classpath
|
15:57:59
|
<OpenMRSBot> <http://ln-s.net/1ohB> (at dev.openmrs.org)
|
16:01:30
|
<Keelhaul> bmckown: yes, initialInMemoryTestDataSet.xml
|
16:01:57
|
<Keelhaul> because the logical path is org/openmrs/test/include/...
|
16:02:03
|
<Keelhaul> not sure where it gets it from
|
16:02:26
|
<burke> I use that same pattern (different file) in the logic test and it's working.
|
16:04:01
|
<burke> are you using the default inmemory stuff? i.e., have you tried overriding onSetupInTransaction and using executeDateSet with a fully specified path?
|
16:05:08
|
<Keelhaul> i add an own dataset in the module's test method
|
16:05:20
|
<Keelhaul> been doing it before as well, though
|
16:05:34
|
<burke> hm.
|
16:06:06
|
<Keelhaul> http://rafb.net/p/KGUsLo58.html
|
16:06:08
|
<bmckown> Can you successfully run a JUnit test in trunk right now?
|
16:06:21
|
<Keelhaul> yeds, trunk tests all pass
|
16:06:26
|
<Keelhaul> i just tried
|
16:06:35
|
<Keelhaul> the context sensitive ones that is
|
16:06:47
|
<burke> and this is in your own module? and you haven't updated from trunk into your module recently (i.e., could the test base class have changed)?
|
16:07:18
|
<Keelhaul> according to the date the files in question havent been changed since january
|
16:08:07
|
<burke> and you tried adding org/openmrs/ in front of test/include/CaseServiceTestData.xml?
|
16:08:30
|
<Keelhaul> CreateInitialDataSet was changed on april 7
|
16:09:34
|
<Keelhaul> burke: no i havent, it's been working fine with my path before
|
16:09:38
|
<burke> so, just to confirm...this is in a module?
|
16:09:58
|
<Keelhaul> org/openmrs would mean it will search in the core jar though, wouldnt it
|
16:10:01
|
<Keelhaul> yes, module
|
16:10:13
|
<burke> can you commit the module and we could try making a local copy and seeing if we could see the same behavior...or have you already tried that
|
16:10:28
|
<Keelhaul> i cant, it's not in the rep
|
16:10:53
|
<burke> hmmm.
|
16:10:59
|
<bmckown> slashtmp upload?
|
16:11:06
|
<burke> would you be willing to zip and upload for us?
|
16:11:11
|
<Keelhaul> the module loads in openmrs
|
16:11:19
|
<Keelhaul> just the junit tests that stopped working
|
16:11:40
|
<Keelhaul> ok, lemme clean
|
16:11:59
|
<burke> you could upload source using this link (not the shortened version the bot makes): https://www.slashtmp.iu.edu/public/upload.php?FILE=bmamlin/23268vNAPWJ
|
16:12:01
|
<bmckown> Keelhaul, pm for a second.
|
16:12:01
|
<OpenMRSBot> <http://ln-s.net/1ohE> (at www.slashtmp.iu.edu)
|
16:12:05
|
<bmckown> oh, nevermind.
|
16:12:12
|
<burke> hehe
|
16:12:38
|
<burke> brian - fyi, those upload links are throw-away, only work once, and expire
|
16:12:52
|
<bmckown> yes.
|
16:12:57
|
<burke> so not a big deal if someone else should see the upload link.
|
16:13:32
|
<bmckown> No it was for some reason thinking that someone would upload something in it before Keelhaul just for fun, but that doesn't make sense.
|
16:14:40
|
<Keelhaul> only once?
|
16:14:57
|
<bmckown> you have two shots. one link burke sent and one that i sent.
|
16:15:18
|
<bmckown> we can always make another link if it doesn't work, though.
|
16:15:25
|
<Keelhaul> burke didnt send any =P
|
16:15:44
|
<bmckown> yes, the link above.
|
16:16:09
|
<Keelhaul> ah the bot
|
16:16:10
|
<Keelhaul> heh
|
16:16:21
|
<Keelhaul> maybe i should've excluded lib-common
|
16:16:25
|
<bmckown> Can I share your link?
|
16:16:39
|
<Keelhaul> with who
|
16:16:42
|
<bmckown> irc
|
16:16:47
|
<Keelhaul> well
|
16:16:50
|
<Keelhaul> it's no good atm
|
16:16:55
|
<burke> is this open source...or not so much
|
16:16:55
|
<burke> hehe
|
16:16:58
|
<Keelhaul> the entire webapp part is just files
|
16:17:00
|
<Keelhaul> nothing works
|
16:17:00
|
<burke> i really need to make that blog entry
|
16:17:01
|
<Keelhaul> just the api
|
16:17:09
|
<bmckown> please do, burke
|
16:17:21
|
<burke> my upcoming blog: if your code is ready to be shared, it's too late.
|
16:17:23
|
<Keelhaul> just dont wanna embarass myself before time =P
|
16:17:25
|
<bmckown> just in case burke didn't get it.
|
16:17:38
|
<bmckown> I gave it to you, burke in a pm
|
16:17:50
|
<Keelhaul> This upload has already taken place. You cannot upload using this URL again.
|
16:17:51
|
<Keelhaul> oh ffs
|
16:17:57
|
<Keelhaul> it uploaded the entire file to tell me this
|
16:18:04
|
<burke> that's one of the classic things that gets in the way of open source. people are afraid to share "ugly" code ... even when everyone else is writing ugly code too. :)
|
16:18:13
|
<bmckown> but you can download from it.
|
16:18:37
|
<burke> I didn't get it.
|
16:18:43
|
<burke> you can't download from an upload link
|
16:18:45
|
<burke> here...
|
16:18:46
|
<burke> https://www.slashtmp.iu.edu/public/upload.php?FILE=bmamlin/50995iLujyq
|
16:18:47
|
<OpenMRSBot> <http://ln-s.net/1ohI> (at www.slashtmp.iu.edu)
|
16:18:57
|
<burke> use the long link NOT THE BOT'S LN-S.NET LINK
|
16:19:26
|
<Keelhaul> jeez
|
16:19:32
|
<Keelhaul> too late
|
16:19:38
|
<Keelhaul> i started using the bot's link once brians' failed
|
16:19:42
|
<Keelhaul> shall i abort?
|
16:19:48
|
<bmckown> I have it, just not extracted yet.
|
16:19:59
|
<Keelhaul> ah ok
|
16:20:05
|
<Keelhaul> so i dont need to upload again?
|
16:20:18
|
<burke> brian - did you put a password on it?
|
16:20:26
|
<burke> unzipping prompts me for a password
|
16:20:31
|
<bmckown> No, I cannot extract it either.
|
16:20:33
|
<burke> (remember this is a public irc channel)
|
16:20:40
|
<burke> try my LONG link above.
|
16:20:43
|
<bmckown> No password.
|
16:20:44
|
<Keelhaul> how big is the file
|
16:20:47
|
<burke> we can make these all day if necessary. ;-)
|
16:20:58
|
<bmckown> 295.5 kb
|
16:21:09
|
<Keelhaul> yea thats the one i aborted when i saw passwords are optional
|
16:21:10
|
<burke> I only have room for 897.4 MB
|
16:21:22
|
<burke> :)
|
16:21:25
|
<Keelhaul> so it let me upload w/o a password, only to tell me the shot has been used already
|
16:21:53
|
<bmckown> https://www.slashtmp.iu.edu/public/upload.php?FILE=bmckown/33419K3GdRX
|
16:21:54
|
<OpenMRSBot> <http://ln-s.net/1ohJ> (at www.slashtmp.iu.edu)
|
16:22:04
|
<bmckown> there, another upload link
|
16:22:09
|
<burke> as long as you use the long link (not the tiny one from the bot) it should work
|
16:23:03
|
<Keelhaul> [23:18:36] <@burke> https://www.slashtmp.iu.edu/public/upload.php?FILE=bmamlin/50995iLujyq
|
16:23:03
|
<OpenMRSBot> <http://ln-s.net/1ohI> (at www.slashtmp.iu.edu)
|
16:23:05
|
<Keelhaul> i'm using this
|
16:23:24
|
<Keelhaul> hmm taking a while..
|
16:23:35
|
<Keelhaul> my router is supposed to give bittorrent the lowest priority..
|
16:23:39
|
<burke> it says 6.6 MB
|
16:23:54
|
<bmckown> you're uploading? slashtmp is kind of hanging on a reload.
|
16:23:54
|
<burke> is it done yet?
|
16:23:56
|
<Keelhaul> no
|
16:23:59
|
<Keelhaul> it's about 8
|
16:24:10
|
<burke> uploading takes a while, since ISP's usually throttle upload speeds
|
16:24:12
|
<Keelhaul> no as in not done yet
|
16:24:19
|
<Keelhaul> i have 26/1
|
16:24:26
|
<burke> i see 7.8 MB now
|
16:24:30
|
<Keelhaul> but i see bittorrent is shamelessly using some of it
|
16:24:46
|
<burke> it's coming
|
16:25:05
|
<Keelhaul> ok done
|
16:26:00
|
<burke> brian, the download link is in your PM
|
16:26:26
|
<bmckown> thanks.
|
16:29:56
|
<burke> [javac] /Users/burke/Documents/java/inpatientcare/web/src/org/openmrs/module/inpatientcare/web/controller/LocationListController.java:13
|
16:29:56
|
<burke> 2: incompatible types
|
16:29:57
|
<burke> [javac] found : java.util.List<org.openmrs.Location>
|
16:29:57
|
<burke> [javac] required: java.util.List<org.openmrs.module.inpatientcare.Location>
|
16:29:57
|
<burke> [javac] locationList = os.getLocations();
|
16:30:14
|
<burke> sorry. too lazy & rushed to use pastebin. :p
|
16:30:43
|
<bmckown> I see that, too.
|
16:31:22
|
<bmckown> EncounterService will always return org.openmrs.Location
|
16:32:37
|
<Keelhaul> burke: that file was just added
|
16:32:51
|
<Keelhaul> after that error
|
16:33:19
|
<Keelhaul> bmckown: i hacked encounterservice, tmdugan style
|
16:33:33
|
<bmckown> yes.
|
16:34:57
|
<burke> hehe. quick fix: http://pastebin.com/d698dbf0d
|
16:35:12
|
<burke> now it builds...
|
16:35:37
|
<Keelhaul> true
|
16:37:36
|
<bmckown> But you're using org.openmrs.Location
|
16:37:58
|
<bmckown> Keelhaul is using org.openmrs.module.inpatientcare.Location right?
|
16:38:11
|
<burke> i just converted it from one to the other to get it to compile
|
16:38:22
|
<bmckown> okay
|
16:39:14
|
<Keelhaul> bmckown: yes
|
16:39:46
|
<bmckown> okay. compiled now.
|
16:39:48
|
<Keelhaul> burke: doesnt the constructor just create new objects with the same id, though?
|
16:39:59
|
<burke> i think the lib stuff should either be in lib or lib-common. lib-common for things that the module can assume will be available (not packaged into omod) and lib for stuff included in omod. so the /openmrs/... classpath refs could point to jars in lib-common, right?
|
16:40:21
|
<Keelhaul> yep
|
16:40:49
|
<burke> I glanced at your location and saw that it takes an integer constructor...so I just looped over the ID (integer) values of the org.openmrs.Location objects. Not sure if it's correct.
|
16:42:19
|
<Keelhaul> well it's compiler correct =)
|
16:42:27
|
<Keelhaul> maybe not openmrs correct heh
|
16:42:38
|
<Keelhaul> the constructor is from the location superclass
|
16:44:24
|
* r0bby looks around
|
16:45:20
|
<bmckown> Keelhaul, JUnit test passed.
|
16:45:26
|
<bmckown> haha
|
16:45:34
|
<Keelhaul> D=
|
16:45:49
|
<Keelhaul> maybe another one of eclipse's magic malfunctions
|
16:45:53
|
<Keelhaul> i really hate eclipse as of lately
|
16:45:57
|
<bmckown> AdminListExtentionTest
|
16:46:02
|
<Keelhaul> oh
|
16:46:07
|
<Keelhaul> thats not context sensitive
|
16:46:09
|
<Keelhaul> try the others
|
16:47:26
|
<bmckown> ooh. Did *not* like the EncounterServiceTest. Now I see your same error.
|
16:47:49
|
<bmckown> But wait.
|
16:48:05
|
<bmckown> The error you mentioned before looks like a 'red herring'
|
16:48:22
|
<bmckown> No bean named 'inpatientcareLocationList' is defined
|
16:48:48
|
<bmckown> Maybe mapping file needs tweaked?
|
16:52:24
|
<Keelhaul> i jsut added that
|
16:52:28
|
<Keelhaul> the error was there before
|
16:56:50
|
<bmckown> I see.
|
16:57:03
|
<bmckown> Well for this, in moduleApplicationContext line 13
|
16:57:17
|
<bmckown> put inpatientcareLocationListController in place of inpatientcareLocationList
|
16:57:27
|
<Keelhaul> yep, have already
|
16:57:39
|
<bmckown> That fixes one thing. Now on to the er.... okay. nevermind. :-)
|
16:58:35
|
<Keelhaul> lol
|
16:59:31
|
<burke> bmckown: how come I can't run the test. me just a simple caveman
|
17:00:06
|
<bmckown> hmm.
|
17:00:39
|
<burke> how are the test classes seen
|
17:00:46
|
<Keelhaul> ok i found one error
|
17:00:48
|
<bmckown> You cannot even see JUnit when you right click and run?
|
17:01:06
|
<Keelhaul> Department.java and Room.java import org.openmrs.location instead of the module's
|
17:01:10
|
<Keelhaul> dunno if it's related
|
17:01:24
|
<bmckown> in the tests-openmrs-api-1.2.03.3956.jar
|
17:01:38
|
<bmckown> it is in lib-common of the module
|
17:02:06
|
<burke> yeah. that's how openmrs test classes are seen
|
17:02:11
|
<burke> but what about the module's test classes
|
17:02:18
|
<Keelhaul> in /test
|
17:02:19
|
<burke> they get built into the build dir as well
|
17:02:27
|
<Keelhaul> right click and "run as -> junit test"
|
17:02:57
|
<burke> ah yes. i see them there.
|
17:03:01
|
<bmckown> burke, did you do a 'clean' before you built the module? I did not.
|
17:03:04
|
<burke> hmm. i did and I get class not found
|
17:04:10
|
<Keelhaul> burke: test dont get built with ant
|
17:04:15
|
<Keelhaul> you have to make sure they are compiled
|
17:04:20
|
<burke> oh.
|
17:04:35
|
<burke> do I have to change them to get them compiled?
|
17:05:18
|
<Keelhaul> if you have auto build on, yes
|
17:05:25
|
<burke> ah yes.
|
17:05:29
|
<Keelhaul> like remove and replace a semicolon and save
|
17:05:55
|
<burke> now i get the factory bean thingy
|
17:06:11
|
*** atomicturtle has quit IRC
|
17:06:23
|
<burke> so what was the fix, bmckown?
|
17:06:50
|
<bmckown> what fix? I didn't fix Keelhaul 's problem.
|
17:06:58
|
<burke> oh.
|
17:07:05
|
<burke> i thought you got the unit test to run
|
17:07:11
|
<bmckown> I mean the error Keelhaul found. I didn't mean Keelhaul has a 'problem'
|
17:07:22
|
<burke> :)
|
17:07:23
|
<Keelhaul> =P
|
17:07:24
|
<bmckown> Yes. My fix was *not* to clean
|
17:07:32
|
<bmckown> before I compiled the first time.
|
17:07:40
|
<bmckown> sorry.
|
17:07:44
|
<burke> but did the unit test succeed?
|
17:07:50
|
<bmckown> Only one.
|
17:08:00
|
<bmckown> AdminListExtentionTest
|
17:08:04
|
<Keelhaul> yea
|
17:08:12
|
<Keelhaul> that one comes with basicmodule i think
|
17:08:17
|
<bmckown> Then there was a bean error, but that was just a one line fix.
|
17:08:23
|
<Keelhaul> and it doesnt load the initial db
|
17:09:15
|
<burke> oh ok. i'm there, then.
|
17:10:05
|
<bmckown> Now we are at Unable to find 'org/openmrs/test/include/initialInMemoryTestDataSet.xml'
|
17:10:16
|
<bmckown> in the CaseServiceTEst and the other one.
|
17:10:33
|
<bmckown> which is the original error.
|
17:10:36
|
<burke> oh. you got past the spring framework bean error thingy?
|
17:10:43
|
<bmckown> yes.
|
17:10:51
|
<bmckown> that is replacing line 13 of applicationContext
|
17:11:00
|
<bmckown> replace ....
|
17:11:14
|
<bmckown> Well for this, in moduleApplicationContext line 13
|
17:11:14
|
<bmckown> <bmckown> put inpatientcareLocationListController in place of inpatientcareLocationList
|
17:11:27
|
<bmckown> there. copy and paste from above.
|
17:13:57
|
<r0bby> i hate spring errors
|
17:17:04
|
<burke> this is voodoo magic. I changed line 13 like you said and still getting spring errors. this is NOT groovy. ;-)
|
17:17:12
|
<burke> bmckown++
|
17:17:33
|
<bmckown> ?
|
17:18:09
|
<burke> <prop key="module/@MODULE_ID@/admin/location.list">inpatientcareLocationListController</prop>
|
17:18:21
|
<bmckown> yes.
|
17:18:28
|
<burke> eclipse says no.
|
17:18:43
|
<bmckown> but it still gives the Unable to find 'org/openmrs/test/include/initialInMemoryTestDataSet.xml'
|
17:18:57
|
<bmckown> eclipse says no to what?
|
17:19:07
|
<Keelhaul> i just tried unlinking the latest mapping files
|
17:19:11
|
<Keelhaul> still the same error
|
17:19:27
|
<burke> http://pastebin.com/d780dc0c0
|
17:20:12
|
<burke> oh wait...maybe I'm missing a lib?
|
17:20:42
|
<Keelhaul> it doesnt compile?
|
17:20:46
|
<bmckown> Yea, *that* is weird.
|
17:20:54
|
<bmckown> I never got that error.
|
17:21:13
|
<Keelhaul> me neither
|
17:21:26
|
<bmckown> I do have openmrs project defined.
|
17:21:28
|
<Keelhaul> the archive is supposed to have all the libs
|
17:21:43
|
<Keelhaul> or does it reference other projects?
|
17:21:47
|
*** eclipse-pombreda is now known as pombreda
|
17:21:49
|
<bmckown> 'openmrs' instead of 'openmrs-trunk' or anything. so that the .classpath references to 'openmrs' are good.
|
17:22:08
|
<pombreda> burke: hey :-P
|
17:22:40
|
<burke> finally.
|
17:22:53
|
<burke> pombreda: hey
|
17:23:10
|
<pombreda> burke: I am sure you pinged me a few times in the last week or so.... but I was awfully busy biz wise :-P
|
17:23:19
|
<pombreda> and if not we are cool :-)
|
17:23:34
|
<burke> bmckown: i moved all of the libs into lib-common and accidentally copied the apache comons-collection test framework jar instead of the commons-collections jar. duh.
|
17:23:47
|
<bmckown> :-)
|
17:24:20
|
<burke> pombreda: no probs. actually, i think you've been talking to Paul more than me. he does a lot more talking. ;)
|
17:24:43
|
<burke> we're looking forward to an awesome GSoC 2008, though!
|
17:24:45
|
<pombreda> burke: :-D
|
17:25:08
|
<burke> we've got two very eclipse-ish projects :-)
|
17:26:02
|
<Keelhaul> does one involve making eclipse spitting out non-herring error messages? =/
|
17:26:23
|
<r0bby> it's not eclipse -- it's your compiler
|
17:33:49
|
<burke> Keelhaul: got it
|
17:33:59
|
<Keelhaul> wat =O
|
17:34:01
|
<Keelhaul> really?
|
17:34:20
|
<burke> in the tests-openmrs-api-xxx.jar
|
17:34:26
|
<burke> the XML files are in the root
|
17:34:38
|
<Keelhaul> yep
|
17:34:42
|
<burke> i moved them to org/openmrs/test/include/* and got further
|
17:34:49
|
<Keelhaul> o
|
17:35:02
|
<Keelhaul> why would the trunk build put the file int he wrong place
|
17:35:18
|
<Keelhaul> do you have a tests-openmrs jar from a different project?
|
17:35:32
|
<burke> no it's this: http://pastebin.com/d5bd38608
|
17:35:55
|
<burke> nope. the one in your zip, I believe
|
17:36:03
|
<Keelhaul> yea
|
17:36:16
|
<Keelhaul> do you have happen to have any others of that kind?
|
17:36:26
|
<Keelhaul> maybe mine packages it wrong for some reason
|
17:36:31
|
<Keelhaul> and you cant download the test jar anywhere
|
17:36:36
|
<Keelhaul> only compile yourself
|
17:36:39
|
<Keelhaul> so i couldnt check
|
17:37:37
|
<burke> yeah. sorry. that's a ben/brian/darius question.
|
17:37:54
|
<burke> ben's flying back from the mysql conf. you might find him around tonight or over the weekend.
|
17:38:11
|
<Keelhaul> ah ok
|
17:38:22
|
<Keelhaul> well thanks for the help
|
17:38:27
|
<bmckown> Oh, you mean openmrs jar files?
|
17:38:27
|
<burke> but just opening your jar and moving the XML files into the correct directory (er, desired dir) works for now
|
17:38:34
|
<Keelhaul> at least i know the probable cause now
|
17:38:37
|
<burke> the test jar file for openmrs
|
17:38:40
|
<bmckown> I can send you some
|
17:38:44
|
<Keelhaul> bmckown: cool
|
17:38:57
|
<bmckown> hold on.
|
17:39:02
|
<Keelhaul> the oldest i have is 1.2.02.3888
|
17:39:02
|
<burke> it's something funky between what the test base classes are expecting and the particular version of the test jar you jave
|
17:39:05
|
<burke> s/jave/have
|
17:39:19
|
<burke> maybe you built it differently than ben expected
|
17:39:21
|
<Keelhaul> burke: it worked fine with older jars
|
17:39:26
|
<burke> okay...
|
17:39:32
|
<Keelhaul> that weird
|
17:39:35
|
<burke> gotta go mow the lawn before I lose sunlight
|
17:39:38
|
<bmckown> you want older ones? I have the latest handy.
|
17:39:38
|
<Keelhaul> hah
|
17:39:50
|
<burke> cya
|
17:39:50
|
<Keelhaul> bmckown: could you look inside
|
17:39:52
|
<bmckown> 3960 build
|
17:39:53
|
<r0bby> have fun burke
|
17:39:56
|
<Keelhaul> burke: way after midnight here =P
|
17:39:57
|
<bmckown> yes .
|
17:40:04
|
<Keelhaul> cya
|
17:40:14
|
<r0bby> 640 here
|
17:40:20
|
<bmckown> bye, burke
|
17:40:27
|
<burke> 640?
|
17:40:40
|
<burke> i'm just not hip any more
|
17:40:56
|
<burke> and when I wear jeans, I actually wear them around my hip instead of hanging around my knees
|
17:41:00
|
<r0bby> burke: you're thinking 420 :P and I'm not either :P
|
17:41:04
|
<Keelhaul> haha
|
17:41:06
|
<burke> THAT is what convinced me I'm a grown up
|
17:41:30
|
<Keelhaul> i thought pants hanging down was a 90s thing
|
17:41:32
|
* r0bby restrains himself from making a comment despite burke being the same height as him
|
17:41:34
|
<burke> I always thought I'd be a kid...but the pants around the knees thing added about 20 years to me in an instant
|
17:41:44
|
<r0bby> heh I can always pull the old man card :)
|
17:41:58
|
<burke> yeah yeah. knees aren't that far from the ground...ha ha. we're all laughing now. :-)
|
17:42:15
|
<Keelhaul> r0bby: how tall are you
|
17:42:16
|
<burke> what's 640?
|
17:42:21
|
<r0bby> 5'8"
|
17:42:21
|
<bmckown> Well in 3960 the initialInMemoryTestDataSet.xml is in the root of the jar as well. Could that 'even' be right?
|
17:42:25
|
<Keelhaul> ah
|
17:42:28
|
<Keelhaul> i'm 5'9
|
17:42:35
|
<Keelhaul> which is average for women here, i think..
|
17:42:37
|
<burke> Keelhaul: I look up to you
|
17:42:45
|
<burke> hehe
|
17:42:50
|
<r0bby> technically 5'7.75"
|
17:42:58
|
<burke> average man is 5'8.5 or 5'9", I believe
|
17:43:00
|
<Keelhaul> imperial units ftl =/
|
17:43:02
|
<burke> if that's not the case, please don't tell me
|
17:43:25
|
<Keelhaul> bmckown: maybe
|
17:43:34
|
<burke> i may be short, but at least I'm better lookin' than paul. ;)
|
17:43:34
|
<Keelhaul> bmckown: such inconsistency!
|
17:43:55
|
<burke> ok. gotta run. pombreda: we'll be looking forward to working with you
|
17:43:59
|
<Keelhaul> hf
|
17:44:05
|
<pombreda> burke: ditto
|
17:44:08
|
<bmckown> There are 'two' initalInMemoryTestDataSet.xml in the jar !
|
17:44:09
|
<bmckown> boo.
|
17:44:19
|
<Keelhaul> so a correct one and a wrong one?
|
17:44:20
|
*** burke has quit IRC
|
17:44:40
|
<r0bby> wrong one, a very wrong, and an VERY VERY wrong one
|
17:44:46
|
<bmckown> One at the root, and another at org/openmrs/test/include
|
17:44:57
|
<bmckown> VEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEry wrong.
|
17:44:59
|
<Keelhaul> bmckown: hm do you have commit access to trunk?
|
17:45:05
|
<bmckown> Sorry. I just wanted to do that.
|
17:45:09
|
<bmckown> yes. I do.
|
17:45:12
|
<Keelhaul> heh
|
17:45:23
|
<Keelhaul> so which one is "wrong"
|
17:45:40
|
<bmckown> It seems like the one in root would be wrong to me.
|
17:45:57
|
<bmckown> Let me try repackaging the jar file without one.
|
17:49:40
|
<r0bby> gg
|
17:49:42
|
<r0bby> er
|
17:50:06
|
<bmckown> r0bby fell over on the keyboard again.
|
17:50:27
|
<Keelhaul> weird
|
17:50:34
|
<Keelhaul> i re-packaged tests
|
17:50:41
|
<r0bby> i use aliases to switch between channels
|
17:50:41
|
<bmckown> okay?
|
17:50:41
|
<Keelhaul> and now it has the include dir too
|
17:50:53
|
<r0bby> perks of using a text-based client :)
|
17:51:29
|
<Keelhaul> you mean curse of using a text-based client
|
17:51:36
|
<r0bby> no :P
|
17:51:40
|
<r0bby> i do this by choice.
|
17:52:09
|
<Keelhaul> well there are people that dont use cars by choice too =P
|
17:52:17
|
<Keelhaul> or indoor sanitations
|
17:56:22
|
<bmckown> I put in the new jar and got this:
|
17:56:24
|
<bmckown> Caused by: org.hibernate.MappingException: No discriminator found for org.openmrs.module.inpatientcare.Location. Discriminator is needed when 'single-table-per-hierarchy' is used and a class has subclasses
|
17:56:58
|
<bmckown> Well that's the Caused by from the spring exception
|
17:57:39
|
<Keelhaul> oh
|
17:57:40
|
<Keelhaul> right
|
17:57:50
|
<Keelhaul> you need a modified location.hbm.xml
|
17:58:11
|
<Keelhaul> ben hasnt added the patch to trunk yet
|
17:58:21
|
<Keelhaul> i'd be grateful if you did =P
|
17:58:30
|
<Keelhaul> !ticket 536
|
17:58:30
|
<OpenMRSBot> Keelhaul: Ticket #536: http://dev.openmrs.org/ticket/536
|
18:02:06
|
<bmckown> https://www.slashtmp.iu.edu/public/download.php?FILE=bmckown/31133jdO1Bu
|
18:02:07
|
<OpenMRSBot> <http://ln-s.net/1ohw> (at www.slashtmp.iu.edu)
|
18:02:22
|
<bmckown> Here are the jars I compiled for 3960
|
18:02:38
|
<bmckown> the test jar has the xmls taken out of the root directory
|
18:04:22
|
<r0bby> why dont you guys use JPA annotations?
|
18:04:41
|
<Keelhaul> thx
|
18:04:49
|
<Keelhaul> ok looks like the tests run now
|
18:05:02
|
<Keelhaul> and reveal all my booboos =P
|
18:05:04
|
<r0bby> =)
|
18:05:55
|
<bmckown> So it actually fixes the error, Keelhaul ?
|
18:06:06
|
<Keelhaul> yes, having the xml in the right place
|
18:06:13
|
<bmckown> Cool.
|
18:06:19
|
<Keelhaul> yea
|
18:06:24
|
<Keelhaul> thanx for the help
|
18:06:25
|
<bmckown> I wonder how that got there in the first place.
|
18:06:26
|
<bmckown> Sure.
|
18:06:30
|
<Keelhaul> i wonder why it sometimes packages wrong =/
|
18:06:46
|
<Keelhaul> has anyone ever tried working on openmrs in netbeans?
|
18:07:27
|
<bmckown> Maybe somebody made a change to the CreateInitialDataSet and had it createInitialInMemory in the root and then committed it.
|
18:07:29
|
<bmckown> hmm.
|
18:07:44
|
<bmckown> Yes, Keelhaul I have tried running openmrs in netbeans
|
18:08:01
|
<bmckown> A few weeks ago I was minutes away from giving up on eclipse.
|
18:08:14
|
<bmckown> Tried Netbeans.
|
18:08:30
|
<Keelhaul> how did it go
|
18:08:36
|
<bmckown> Well, I've used Netbeans before. It went well.
|
18:08:55
|
<Keelhaul> it has built in svn etc i heard
|
18:09:03
|
<bmckown> Yes.
|
18:09:07
|
<bmckown> You should try it.
|
18:10:13
|
<bmckown> I haven't used it much more than to try it on openmrs. Still contemplating changing from eclipse.
|
18:10:23
|
<bmckown> I like the fact you can detach windows in Netbeans.
|
18:10:45
|
<bmckown> in eclipse you are stuck in one window. with 1.5" borders.
|
18:10:50
|
<bmckown> arghh
|
18:11:00
|
<Keelhaul> oh
|
18:11:04
|
<Keelhaul> i dont like flying windows
|
18:11:08
|
<bmckown> okay, exaggeration, there.
|
18:11:17
|
<bmckown> I 'really' like them.
|
18:11:19
|
<Keelhaul> i like having one big maximized window
|
18:11:23
|
<bmckown> Nope.
|
18:11:25
|
<Keelhaul> and sections within
|
18:11:28
|
<bmckown> not me.
|
18:11:30
|
<Keelhaul> good enough on my widescreen
|
18:11:44
|
<Keelhaul> prolly sucks with multiple monitors though
|
18:11:45
|
<bmckown> 13.1" T61 with 1280x800
|
18:11:54
|
<bmckown> with Gnome desktop.
|
18:11:55
|
<bmckown> no way.
|
18:12:01
|
<Keelhaul> yea i have that res on my laptop
|
18:12:04
|
<Keelhaul> it's borderline
|
18:12:05
|
<Keelhaul> not much space
|
18:12:11
|
<Keelhaul> Resolution: 1680x1050x32bpp 60Hz
|
18:12:13
|
<bmckown> I gotta conserve on space.
|
18:12:15
|
<Keelhaul> this is good enough
|
18:12:19
|
<bmckown> ddddddang.
|
18:12:33
|
<bmckown> that's sweet.
|
18:12:46
|
<Keelhaul> 22" samsung
|
18:12:53
|
<Keelhaul> pretty standard size in stores nowadays
|
18:13:08
|
<Keelhaul> 1.3
|
18:13:09
|
<Keelhaul> er
|
18:13:13
|
<Keelhaul> 13.1" =O
|
18:13:15
|
<Keelhaul> macbook?
|
18:13:21
|
<bmckown> T61
|
18:13:23
|
<bmckown> lenovo
|
18:13:25
|
<Keelhaul> ah
|
18:13:26
|
<Keelhaul> nice
|
18:13:35
|
<Keelhaul> i have a samsung 12.1"
|
18:13:39
|
<bmckown> Yes. I ordered the higher resolution, but didn't get that.
|
18:13:44
|
<Keelhaul> good enoguh for me
|
18:13:48
|
<Keelhaul> but i hate the glare display
|
18:13:58
|
<bmckown> really, I thought glare display would be nice.
|
18:14:13
|
<Keelhaul> they are if theres absolutely no other light sources in the room..
|
18:14:38
|
<bmckown> hmm. I wonder why apple switched to glare displays, then.
|
18:15:07
|
<Keelhaul> supposedly crispier colors
|
18:15:23
|
<bmckown> they should make the macbook with higher resolution.
|
18:23:49
|
<Keelhaul> why
|
18:23:57
|
<Keelhaul> so you need a spyglass to read it?
|
18:26:16
|
<bmckown> hehe
|
18:26:55
|
<bmckown> 1280x800 is not that great when the size of the screen is 13.1"
|
18:27:45
|
<Keelhaul> maybe
|
18:27:56
|
<Keelhaul> i guess 1400x960 woudl do
|
18:28:10
|
<Keelhaul> or smt like that
|
18:28:55
|
<bmckown> that would be nice.
|
18:29:19
|
<bmckown> I made a ticket for this initialInMemoryTestDataSet.xml error in the jar file.
|
18:31:23
|
<Keelhaul> cool
|
18:31:49
|
<Keelhaul> so, you think you could commit that patch to trunk from 536?
|
18:32:46
|
<bmckown> sure.
|
18:33:37
|
<bmckown> ahh.
|
18:36:28
|
<bmckown> wait.
|
18:36:41
|
<bmckown> Looks like bwolfe put that on 'his' todo list.
|
18:37:02
|
<bmckown> Looking at the irc logs he wants to be sure nothing gets broken by it.
|
18:37:08
|
<bmckown> hmm, Keelhaul .
|
18:37:26
|
<Keelhaul> oh
|
18:37:29
|
<Keelhaul> ok
|
18:37:29
|
<bmckown> Maybe I should wait for bwolfe and ask him to be sure.
|
18:37:58
|
<bmckown> Don't want to have a stapler tossed over the cubicle wall on Monday morning. :-)
|
18:38:12
|
<Keelhaul> oh your ticket description hmm
|
18:38:17
|
<Keelhaul> the double xml doesnt break it
|
18:38:30
|
<Keelhaul> my initial jar didnt have the one on /include
|
18:38:30
|
<bmckown> hey, it probably sucks. It doesn't?
|
18:38:37
|
<bmckown> oh.
|
18:38:40
|
<bmckown> funny.
|
18:38:47
|
<bmckown> Can you add a comment to the ticket?
|
18:38:50
|
<Keelhaul> the one in root doesnt break it, it's just useless there
|
18:39:12
|
<bmckown> oh. darn.
|
18:39:20
|
<bmckown> Can you add a comment to the ticket?
|
18:40:59
|
*** nribeka has joined #openmrs
|
18:41:36
|
<Keelhaul> done
|
18:41:48
|
<bmckown> Thanks.
|
18:42:08
|
<Keelhaul> say
|
18:42:14
|
<bmckown> Maybe it's not an issue then.
|
18:42:18
|
<bmckown> yes?
|
18:42:22
|
<Keelhaul> it complains that my retired field is null when it should not be
|
18:42:35
|
<Keelhaul> do i have to explicitly set retired = false; at some point?
|
18:42:39
|
<Keelhaul> didnt have to do that for void
|
18:42:42
|
<Keelhaul> in other classes
|
18:42:49
|
<bmckown> retired on what table?
|
18:42:55
|
<Keelhaul> Department
|
18:43:06
|
<Keelhaul> table is inpatientcare_department
|
18:43:31
|
<bmckown> okay. yes. Do you have not-null="true" in your mapping file?
|
18:43:49
|
<bmckown> for the retired attribute?
|
18:43:54
|
<Keelhaul> yes
|
18:44:12
|
<bmckown> And in the database, if it is null instead of 0 that would be a problem.
|
18:44:20
|
<Keelhaul> sure
|
18:44:35
|
<Keelhaul> but the sqldiff has a default value 0 for that col
|
18:44:41
|
<Keelhaul> jsut the mapping files dont
|
18:44:51
|
<bmckown> So in the sqldiff or sql file, when creating the table .... ah, I see.
|
18:44:54
|
<Keelhaul> same scenario doesnt seem to cause any trouble for voided cols
|
18:45:14
|
<bmckown> but for hibernate 0 == null right?
|
18:45:16
|
<Keelhaul> not sure it uses the sqldiff in tests
|
18:45:23
|
<Keelhaul> i dunno
|
18:46:12
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #691 (task created): tests-openmrs-api jar file has two initialInMemoryTestDataSet.xml files. <http://dev.openmrs.org/ticket/691>
|
18:46:13
|
<bmckown> Ah, you're xml's do they have a column that says retired="0" ?
|
18:46:23
|
<bmckown> They should.
|
18:46:24
|
<Keelhaul> http://rafb.net/p/816dFs86.html
|
18:47:13
|
<Keelhaul> what xmls
|
18:47:44
|
<bmckown> funny. In the test.include.CaseServiceTestData.xml etc.
|
18:47:51
|
<bmckown> I don't even see the department table in there.
|
18:47:55
|
<Keelhaul> nope
|
18:48:01
|
<Keelhaul> it's only in the encounterservicetest
|
18:48:06
|
<Keelhaul> and i create them in code
|
18:48:07
|
<bmckown> weird. why the error on it?
|
18:48:09
|
<Keelhaul> they're not in xml
|
18:48:12
|
<Keelhaul> well one is
|
18:48:27
|
<Keelhaul> maybe thats why
|
18:48:29
|
<bmckown> I see line 5
|
18:48:35
|
<bmckown> add retired="0"
|
18:49:18
|
<Keelhaul> yea
|
18:49:21
|
<Keelhaul> to the rooms too
|
18:49:23
|
<Keelhaul> packaging now..
|
18:50:01
|
<bmckown> Hey. So no more JUnit errors?
|
18:50:40
|
<Keelhaul> hey hey no so fast =P
|
18:50:49
|
<bmckown> hehe
|
18:50:55
|
<bmckown> What happened?
|
18:51:14
|
<Keelhaul> ok no more errors
|
18:51:17
|
<Keelhaul> just failures
|
18:51:42
|
<bmckown> That's good.
|
18:51:51
|
<bmckown> Failures are controllable.
|
19:01:07
|
*** Wiss has joined #openmrs
|
19:02:50
|
<bmckown> Okay. Guess I'll be going.
|
19:04:45
|
<bmckown> bye, all.
|
19:04:49
|
*** bmckown has quit IRC
|
19:17:22
|
<r0bby> pombreda: fancy seeing you on #groovy on codehaus!
|
19:17:39
|
<pombreda> r0bby: :-)
|
19:19:36
|
<r0bby> I dislike competitition :P
|
19:28:19
|
<Wiss> hi pombreda
|
19:28:33
|
<Wiss> hi r0bby
|
19:30:01
|
<Wiss> I'm still in "Ranking in progress" for my OpenMRS projects for GSoC, Could you say me how many slots Google have allowed you and what are you prefered applications for the moment ?
|
19:40:30
|
*** upul has joined #openmrs
|
19:51:09
|
<r0bby> Wiss: Monday you'll find out =)
|
19:53:06
|
<Wiss> r0bby : yes of course, I'll wait monday ;) It's just that I hoped to know more details like number of slots, to reassure myself
|
19:53:27
|
<Wiss> So, if you can't give us more details, I cross my fingers and wait
|
19:57:12
|
*** pombreda has quit IRC
|
20:12:01
|
<r0bby> it's wgar im doing
|
20:15:23
|
<Wiss> war
|
20:15:25
|
<Wiss> ok
|
20:15:35
|
<Wiss> Good luck, r0bby :)
|
20:21:57
|
<r0bby> =/
|
20:39:11
|
<Wiss> You looks a bit demotivated :/
|
20:41:09
|
<[OmegentooX]> Tip: don't get worked up until around announcement time on Monday. And then keep the fact that you're worked up to yourself =)
|
20:50:01
|
*** burke_away has joined #openmrs
|
20:50:11
|
*** ChanServ sets mode: +o burke_away
|
20:51:26
|
*** burke_away is now known as burke
|
20:54:17
|
*** nribeka has quit IRC
|
20:59:10
|
*** nribeka has joined #openmrs
|
21:03:43
|
<burke> Keelhaul: when you get a chance, I'd recommend copying/moving all libs from /openmrs/lib/ into your module's common-lib dir, then refresh common-lib in eclipse's navigator, and in project properties use "add jars" to select all of these libs in one step, then remove the external jar references to /openmrs/lib/ in your module. all module lib dependencies that aren't to be packaged in the module should be in common-lib. only libs referen
|
21:04:12
|
<burke> ^ world's longest IRC comment
|
21:04:18
|
<Keelhaul> lol
|
21:04:21
|
<Keelhaul> we fixed it
|
21:04:38
|
<burke> cule. there was another error, you fixed that too?
|
21:04:43
|
<Keelhaul> turns out it was a bad package
|
21:04:50
|
<burke> geez
|
21:04:52
|
<Keelhaul> i repackaged tests
|
21:04:57
|
<Keelhaul> and the files were where they should be
|
21:05:30
|
<burke> do you actually use all of those libraries in the classpath?
|
21:05:43
|
<Keelhaul> you mean those from openmrs?
|
21:05:58
|
*** pearlbear has quit IRC
|
21:05:58
|
<burke> yes. all the ones in /openmrs/lib/
|
21:06:06
|
<Keelhaul> prolly not, but the module unit test wiki page says to reference them
|
21:06:13
|
<Keelhaul> at least some are supposedly required
|
21:06:38
|
<burke> mail.jar? :p
|
21:06:50
|
<Keelhaul> lol yea sounds out of place
|
21:06:52
|
<burke> do our unit tests send out email :D
|
21:07:01
|
<Keelhaul> should they? =)
|
21:07:06
|
<burke> hehe
|
21:07:23
|
<burke> i guess they could use mail.jar to send text messages
|
21:07:29
|
<burke> ...to ben
|
21:07:45
|
<Keelhaul> he'd appreciate that
|
21:08:22
|
<burke> oh ok. i'm looking at the module unit testing page
|
21:08:32
|
<burke> you said you put some of that in there?
|
21:10:09
|
<burke> yeah. that's gotta be bogus. I can't believe all of those are needed by unit tests
|
21:11:12
|
<Keelhaul> i didnt put the example classpath there
|
21:11:17
|
<Keelhaul> just the faq info about /dist
|
21:11:36
|
<burke> i'll send ben an e-mail about it. I'd hate for everyone making a module (and testing it) to have to download & manage dozens of megabytes of libraries for no good reason
|
21:11:44
|
<Keelhaul> well
|
21:11:56
|
<Keelhaul> whoever makes a module will prolly have trunk in their workspace anyway
|
21:12:01
|
<burke> yeah. i can see in the history it points to openmrs-alpha. i'll hassle ben about it.
|
21:12:23
|
<burke> meh.
|
21:12:55
|
<burke> I think making module creation (and testing) easier/kinder/gentler will serve us well
|
21:13:43
|
<Keelhaul> probably
|
21:13:43
|
<burke> you're right for now...but I'd like to be in a place by summer's end that people can make simple modules without having to know how to compile OpenMRS itself
|
21:14:12
|
<burke> cule. glad you figured out that bug. it was a frustrating one, no doubt.
|
21:14:13
|
<Keelhaul> even though api unit testing isnt really required
|
21:14:16
|
<Keelhaul> it does help
|
21:15:40
|
<burke> btw...when we transferred the wiki between servers a few months ago, it (unfortunately) munged a lot of the UTF characters
|
21:15:59
|
<burke> is your home page messed up a little? or is it just my browser?
|
21:16:12
|
*** bmckown has joined #openmrs
|
21:16:12
|
*** ChanServ sets mode: +o bmckown
|
21:16:16
|
<Keelhaul> hm hold on
|
21:16:50
|
<Keelhaul> Otherwise, we?d love to see any and all of you in Santa Clara.
|
21:17:01
|
<Keelhaul> is that a unicode error or a typo
|
21:17:20
|
<Keelhaul> otherwise it's fine
|
21:17:58
|
<burke> so the location and school look okay to you?
|
21:19:22
|
<Keelhaul> what location and school =o
|
21:19:49
|
<burke> sorry....on your OpenMRS wiki user page: http://openmrs.org/wiki/User:Keelhaul
|
21:19:53
|
<Keelhaul> ah
|
21:19:54
|
<Keelhaul> lol
|
21:20:19
|
<Keelhaul> ah
|
21:20:20
|
<Keelhaul> nope
|
21:20:54
|
<burke> i thought so. another victim of the wiki database transfer.
|
21:21:56
|
<Keelhaul> try now
|
21:22:13
|
<burke> much better. :D
|
21:22:37
|
<Keelhaul> i get those black rectangles instead of umlauts in emails often
|
21:22:48
|
<burke> yeah. unfortunately, wherever accented letters or stylish quotes were used, we've got garbage in the wiki now
|
21:23:18
|
<burke> eventually (in about 100 years) the world will be in UTF-8 and you won't see those boxes any more
|
21:23:34
|
<burke> of course, you'll be REALLY old then...so you might not care
|
21:23:43
|
<Keelhaul> they'll prolly invent someting new by the time people start getting interested in UTF-8
|
21:23:53
|
<burke> hehe
|
21:23:56
|
<bmckown> No way. It's all wrong now. Keelhaul I thought your real name was ##$%^@$%@
|
21:24:03
|
<bmckown> hehe
|
21:24:04
|
<Keelhaul> lol
|
21:24:07
|
<burke> no that's r0bby
|
21:24:09
|
<bmckown> just kidding.
|
21:24:13
|
<bmckown> hahaha
|
21:24:42
|
<Keelhaul> seems like hibernate is quite pedantic about setters and getters
|
21:24:44
|
<bmckown> How did you guys fix the font?
|
21:24:52
|
<bmckown> on the wiki?
|
21:25:28
|
*** Wiss has quit IRC
|
21:27:32
|
<Keelhaul> is there a reason you guys use Integer instead of int etc?
|
21:30:43
|
<bmckown> Integer is an Object. Would you rather int?
|
21:31:35
|
*** Wiss has joined #openmrs
|
21:32:09
|
<Keelhaul> well int is a word reservet for Integer
|
21:32:17
|
<Keelhaul> so you dont have to spell it out =P
|
21:32:23
|
<Keelhaul> bte
|
21:32:26
|
<Keelhaul> btw*
|
21:32:41
|
<Keelhaul> if you have a getter for a Set<Object>, which is empty at the given moment
|
21:33:04
|
<Keelhaul> wouldnt it be wiser to return an empty set from the getter rather than have the user check whether it returned null?
|
21:33:59
|
<bmckown> I hate NPE's
|
21:34:28
|
<Keelhaul> yep
|
21:35:40
|
<Keelhaul> public Set<Room> getRooms() {
|
21:35:40
|
<Keelhaul> if (rooms != null)
|
21:35:40
|
<Keelhaul> return rooms;
|
21:35:40
|
<Keelhaul> else
|
21:35:40
|
<Keelhaul> return new HashSet<Room>();
|
21:35:41
|
<Keelhaul> }
|
21:35:43
|
<Keelhaul> something like this
|
21:38:26
|
<upul> keelhaul: i think it would be better if it is null you should set the 'rooms' to new object and return that
|
21:38:44
|
<upul> otherwise rooms want get any
|
21:39:06
|
<Keelhaul> you cant set it directly from the outside, you have to use setRooms()
|
21:40:04
|
<upul> i mean if rooms is null, the returned new object is separate from the rooms fields
|
21:40:12
|
<upul> field
|
21:40:40
|
<Keelhaul> yes
|
21:40:56
|
<Keelhaul> but if it's null, you cant do anything with it anyway
|
21:41:06
|
<Keelhaul> rather than check whether it's null or not
|
21:41:34
|
<upul> if two peopel call getRooms() when it is null, they will get two separate new objects
|
21:42:06
|
<Keelhaul> yes
|
21:42:06
|
<upul> better thing to do is if it is null, set the rooms field to new object and return rooms field always
|
21:42:32
|
<Keelhaul> that set is private though
|
21:43:18
|
<upul> but return rooms; makes it public
|
21:45:39
|
<Keelhaul> well i still cant do rooms.add(O);, can i
|
21:46:02
|
<Keelhaul> i have to user locations.addRoom(O);
|
21:46:15
|
<Keelhaul> or locations.setRooms(Set<Room> o);
|
21:47:13
|
<upul> yes, but if rooms reference is public, two people can get it and do something, and the last person to setRooms wins
|
21:47:29
|
<Keelhaul> lol
|
21:47:41
|
<Keelhaul> they can also each have their own set of rooms
|
21:47:44
|
<Keelhaul> and then do setRooms
|
21:48:05
|
<upul> last one wins :)
|
21:48:44
|
<upul> normally best thing to do in these cases is to not give set..., only give add, remove
|
21:49:08
|
<Keelhaul> how are you gonna get all associated objects
|
21:49:15
|
<Keelhaul> like encounter.getObs()
|
21:51:41
|
<upul> good question, i think people make a clone of the collection and return, but that is not efficient at all here
|
21:52:11
|
<upul> have to make either people don't change the collection
|
21:52:37
|
<upul> or prevent two people chaning at the the same time
|
21:52:51
|
*** student_Fezz has quit IRC
|
21:53:13
|
<Keelhaul> hm
|
21:53:40
|
<upul> ah may be you can return an iterator for whole collection
|
21:53:54
|
<upul> then you can't change any
|
21:55:35
|
<Keelhaul> heh
|
21:55:43
|
<Keelhaul> well talk to the api people about that
|
21:55:49
|
<Keelhaul> i'm just doing what they do =P
|
21:56:12
|
<upul> yes, but i think hiberante needs to set, get, isn't it
|
21:56:30
|
<Keelhaul> i think so
|
21:59:01
|
*** bmckown has quit IRC
|
22:04:14
|
*** bmckown has joined #openmrs
|
22:04:14
|
*** ChanServ sets mode: +o bmckown
|
22:22:56
|
*** bmckown has quit IRC
|
22:38:37
|
*** pombreda has joined #openmrs
|
22:38:37
|
*** ChanServ sets mode: +v pombreda
|
22:44:21
|
<Keelhaul> bai
|
22:44:24
|
*** Keelhaul has quit IRC
|
23:12:22
|
*** maveriick has joined #openmrs
|
23:14:32
|
*** maveriick has quit IRC
|
23:23:16
|
*** atomicturtle has joined #openmrs
|
23:28:33
|
*** Wiss has left #openmrs
|
23:41:23
|
*** burke has quit IRC
|