IRC Chat : 2012-08-14 - OpenMRS

00:04:26 *** jordank has joined #openmrs
00:18:14 *** lh_afk is now known as lh
00:40:00 *** robbyoconnor has quit IRC
00:41:44 *** robbyoconnor has joined #openmrs
00:41:44 *** ChanServ sets mode: +v robbyoconnor
01:49:26 *** suranga has joined #openmrs
01:49:33 *** ChanServ sets mode: +v suranga
01:49:38 <suranga> aaaaaaan bwolfe is here ! yay !!
01:49:51 <bwolfe> suranga, I've been here.
01:49:56 <bwolfe> you're the new one ;-)
01:50:25 <suranga> basic`, I was looking for you last night, but i think u were away :):)
01:50:46 <suranga> and ultimately ended up falling asleep over the machine, as usual...
01:50:55 <suranga> ooops bwolfe ^^
01:51:14 <bwolfe> suranga, I hope you sleep with a pillow next to your computer. :-)
01:51:26 <bwolfe> suranga, I was at a family reunion this weekend
01:51:38 <bwolfe> ...and I forgot my computer at home. so no irc for me
01:52:14 <suranga> bwolfe, ahaaa... in laws ?
01:53:25 <suranga> bwolfe, so now i've mailed the dev list on the sprint completion... need to think about releasing the module... ?
01:54:02 <bwolfe> nope, it was with my family. next weekend going to see inlaws
01:54:10 <bwolfe> lots of travel this summer
01:54:36 <bwolfe> suranga, does it work? have you tested it via the app a lot?
01:54:49 <bwolfe> suranga, if it works, go ahead and release and get feedback. :-)
01:55:08 <suranga> bwolfe, it works, if you enters valid data...
01:55:11 *** basic` has quit IRC
01:55:21 <suranga> bwolfe, testing with invalid data sometimes lead to error
01:56:10 <suranga> bwolfe, we could release the module 'at your own risk' becaue the implementors themselves can create their own tmplates as they want, right ?
01:56:44 <bwolfe> suranga, can we make it more error tolerant?
01:56:54 <bwolfe> I'd rather not say "at your own rish"
01:57:10 <suranga> bwolfe, I can work on that, sure
01:57:24 <bwolfe> but more like "we ask for your feedback"
01:57:26 <suranga> bwolfe, but wont that delay release dates ?
01:58:00 <suranga> bwolfe, keep in mind im vanishin on Saturday for a wuick hop to Rwanda... :)
01:58:07 *** basic` has joined #openmrs
01:58:24 <bwolfe> suranga, what will delay release dates? release what you have as a "beta" or a "0.9"
01:58:37 <bwolfe> suranga, you expect to have zero free time while in rwanda?
01:59:22 <bwolfe> suranga, you're becoming a regular world traveler! this will be your 4th or 5th flight?
01:59:59 <suranga> bwolfe, ah... of course I can work on it at Rwanda, only I wont be able to put in a lot of time over the next week....
02:00:05 <suranga> bwolfe, 4th :):):)
02:01:13 <suranga> bwolfe, umm.. u are aware that currently we cant edit templates via the UI , right ?
02:03:07 <bwolfe> suranga, why not?
02:03:55 <suranga> bwolfe, ahem.... link to view full version of the templates does not work :-\
02:04:54 <suranga> bwolfe, since I was focussing on getting the combined thing working (for an output) we didnt have time to return to this problem :-(
02:06:40 <bwolfe> link to view full version? what does that mean?
02:08:21 <suranga> bwolfe, sorry, this is bad news, yeap :(
02:09:01 <suranga> bwolfe, the list of templates are displayed on the jsp page...but cliking on any of these do not work.. it just leads to a 'page not found' :(
02:09:19 <bwolfe> suranga, sounds like an easy fix
02:09:37 <bwolfe> need to fix that before you put out a beta release
02:09:55 <suranga> bwolfe, one minute, let me check that .... :)
02:12:50 <suranga> bwolfe, The page "/openmrs/module/hl7query/hl7Template.form
02:12:58 <suranga> bwolfe, I think we need to create this page :)
02:13:24 <suranga> I could do that, of course..
02:13:26 <bwolfe> suranga, I'm pretty sure it was created
02:13:39 <bwolfe> suranga, or did wyclif only do the list page ?!
02:15:29 <bwolfe> suranga, oh, looks like its not there
02:15:32 <bwolfe> weird
02:15:39 <suranga> bwolfe, I think the 1st answer above is correct
02:16:09 <suranga> bwolfe, it was because he gotm switched to the other sprint, and I did not want to ask Danil or rafa to stop building templates to work on this...
02:16:51 <suranga> bwolfe, on the last day of the sprint, I got daniel to work on fixes to the list page, but he couldnt finish work on the manage templates page.. :(
02:20:19 <bwolfe> unfortunate
02:22:39 <suranga> bwolfe, no worries, i'll address it :)
02:35:30 *** harshadura has joined #openmrs
02:45:11 *** dmexs has joined #openmrs
02:56:57 *** mccallumg has quit IRC
03:02:56 *** suranga has quit IRC
03:11:41 *** mccallumg has joined #openmrs
03:11:41 *** ChanServ sets mode: +v mccallumg
03:18:36 *** mccallumg has quit IRC
03:21:43 *** jordank has left #openmrs
03:33:21 *** lh has quit IRC
03:38:11 *** mccallumg has joined #openmrs
03:38:11 *** ChanServ sets mode: +v mccallumg
03:41:08 *** mccallumg has quit IRC
03:52:52 *** bwolfe has quit IRC
04:06:52 *** mccallumg has joined #openmrs
04:06:52 *** ChanServ sets mode: +v mccallumg
04:17:37 *** mccallumg has quit IRC
04:20:18 *** upul` has joined #openmrs
04:20:18 *** ChanServ sets mode: +v upul`
04:50:28 *** harshadura has quit IRC
04:50:36 *** jordank has joined #openmrs
04:52:03 *** mccallumg has joined #openmrs
04:52:03 *** ChanServ sets mode: +v mccallumg
05:04:35 *** Echidna has quit IRC
05:04:38 *** Echidna has joined #openmrs
05:04:38 *** ChanServ sets mode: +v Echidna
05:30:09 *** kishoreyekkanti has joined #openmrs
06:08:00 *** dkayiwa has joined #openmrs
06:10:31 *** mccallumg has quit IRC
06:22:54 *** shortend has joined #openmrs
06:39:38 *** jordank has quit IRC
06:56:08 *** harshadura has joined #openmrs
07:12:00 *** dkayiwa has quit IRC
07:17:08 *** dkayiwa has joined #openmrs
07:40:57 *** dmexs has quit IRC
07:54:33 *** magoo_ has joined #openmrs
08:15:14 *** rafa has joined #openmrs
08:15:14 *** ChanServ sets mode: +v rafa
08:28:27 <dkayiwa> hi rafa
08:28:32 <rafa> dkayiwa: hi
08:29:11 <dkayiwa> rafa: i can now build the 1.8.4 standalone. but when i run it, it still takes me through setup for the mvp starter option
08:29:58 <rafa> dkayiwa: you mean through the installation wizard?
08:30:03 <dkayiwa> rafa: yes
08:30:11 <rafa> dkayiwa: hmm not sure why
08:30:18 <rafa> dkayiwa: I'm building standalone right now
08:30:23 <rafa> dkayiwa: will test it
08:30:24 <dkayiwa> rafa: how did you resolve that for the 1.9 db
08:30:29 <dkayiwa> rafa: ok will wait for you
08:30:30 <rafa> dkayiwa: it just worked
08:31:10 <dkayiwa> rafa: yes i made a commit to make it build. problem comes when testing it out
08:31:35 <rafa> dkayiwa: hmm
08:31:40 <rafa> dkayiwa: I got an error while building
08:31:43 <rafa> [INFO] ------------------------------------------------------------------------
08:31:43 <rafa> [INFO] Error setting up or running Liquibase: Migration failed for change set liquibase-mvp-data-18x.xml::20120315-1000::standalone:
08:31:43 <rafa> Reason: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `location_tag` CHANGE `retire_reason` `retired_reason` varchar(255):
08:31:43 <rafa> Caused By: Error executing SQL ALTER TABLE `location_tag` CHANGE `retire_reason` `retired_reason` varchar(255):
08:31:43 <rafa> Caused By: Table 'openmrs.location_tag' doesn't exist
08:31:58 <dkayiwa> rafa: let me look into that right now
08:32:54 <rafa> dkayiwa: have you tried with Demo-1.8.0.sql file?
08:33:02 <dkayiwa> rafa: yes
08:33:11 <dkayiwa> rafa: it does not build if you do not have it
08:33:17 <rafa> dkayiwa: right
08:37:11 <dkayiwa> rafa: can you update and try again now?
08:37:22 <rafa> dkayiwa: yes
08:51:56 <rafa> dkayiwa: the build worked, now let's try to run it
08:52:08 <dkayiwa> rafa: ok
08:57:35 <rafa> dkayiwa: I don't see intallation wizard, but upgrade wizard
08:57:51 <rafa> dkayiwa: it seems like liquibase-update-to-latest was not executed
08:57:52 <dkayiwa> rafa: yes thats what i meant
08:58:10 <rafa> dkayiwa: I'm looking at liquibase-mvp-data-18x now
08:58:16 <dkayiwa> rafa: ok
08:58:23 <rafa> dkayiwa: I don't see where you actually import mvp-data.sql?
08:59:10 <dkayiwa> rafa: hahah good catch :)
08:59:21 <rafa> dkayiwa: :)
08:59:37 <dkayiwa> rafa: thanks a lot for your sharp eyes. let me fix that right now :)
09:05:45 *** rram_ has joined #openmrs
09:34:26 *** magoo_ has quit IRC
10:02:04 *** snoppy has joined #openmrs
10:08:34 *** kishoreyekkanti_ has joined #openmrs
10:09:35 *** kishoreyekkanti_ has joined #openmrs
10:12:10 *** kishoreyekkanti has quit IRC
10:19:04 *** kishoreyekkanti has joined #openmrs
10:19:07 *** kishoreyekkanti_ has quit IRC
10:25:13 *** harshadura has quit IRC
10:41:41 *** kishoreyekkanti_ has joined #openmrs
10:41:52 *** kishoreyekkanti_ has quit IRC
10:42:47 *** harshadura has joined #openmrs
10:44:55 *** kishoreyekkanti has quit IRC
10:58:43 *** suranga has joined #openmrs
10:58:43 *** ChanServ sets mode: +v suranga
11:07:08 *** upul` has quit IRC
11:08:14 *** harshadura has quit IRC
11:08:56 *** james_regen has joined #openmrs
11:08:56 *** ChanServ sets mode: +v james_regen
11:15:58 *** rram_ has quit IRC
11:18:23 *** kishoreyekkanti has joined #openmrs
11:18:49 *** rram_ has joined #openmrs
11:22:31 *** kishoreyekkanti has quit IRC
11:25:57 *** applecool has joined #openmrs
11:25:57 *** ChanServ sets mode: +v applecool
11:28:10 *** kishoreyekkanti has joined #openmrs
11:29:11 *** harshadura has joined #openmrs
11:33:13 *** mccallumg has joined #openmrs
11:33:13 *** ChanServ sets mode: +v mccallumg
11:33:27 *** mccallumg has quit IRC
11:44:36 *** kishoreyekkanti has quit IRC
11:46:07 *** kishoreyekkanti has joined #openmrs
11:48:55 *** bwolfe has joined #openmrs
11:48:55 *** ChanServ sets mode: +o bwolfe
11:52:46 *** applecool has quit IRC
12:01:01 *** kishoreyekkanti has quit IRC
12:07:03 <dkayiwa> rafa: can you update and try again?
12:07:16 <dkayiwa> STAND-60
12:12:38 *** robbyoconnor has quit IRC
12:20:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: General Feedback Mechanism 2.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=feedback&ampversion=&amp2.0>
12:35:08 <rafa> dkayiwa: yes
12:35:29 <dkayiwa> rafa: ok thanks
12:51:10 *** harshadura has quit IRC
13:01:41 <bwolfe> rafa, whats the status of the maintenace branches?
13:02:20 <rafa> bwolfe: 1.9.1, 1.8.4, 1.7.4, 1.6.6 tagged and released
13:02:31 <rafa> bwolfe: versions advanced in the maintenance branches
13:03:09 *** dmexs has joined #openmrs
13:03:23 <rafa> bwolfe: all steps from the release process done
13:03:47 <rafa> bwolfe: one remaining thing is building stadnalone 1.8.4
13:07:43 <bwolfe> rafa, awesome. good work!
13:08:42 <rafa> bwolfe: the process was quite smooth. I've entered a few tickets, which could make it better
13:09:05 <rafa> bwolfe: most time took me reviewing and back porting tickets
13:09:58 <rafa> bwolfe: 4 days on reviewing and back porting tickets, 1 day on the actual release
13:10:19 <bwolfe> not too bad
13:10:30 <bwolfe> and if we actually do these maintenance releases more often the ticket load will be smaller
13:10:33 <bwolfe> (or should be)
13:10:57 <rafa> bwolfe: yes, it's not bad
13:12:38 <rafa> bwolfe: it would be almost perfect if a release could be done on a ci server and not a dev machine
13:13:21 <bwolfe> how close are we to that?
13:13:50 <rafa> bwolfe: very close
13:15:01 <rafa> bwolfe: even if it's only running mvn release:prepare and mvn release:perform on the ci
13:15:28 <bwolfe> you'd have to answer all the questions before hand. not sure how ci would do an interactive target. :-)
13:15:31 <rafa> bwolfe: I actually lost half of a day trying to figure out why they failed on my pc to discover that I needed to kill eclipse
13:15:49 <bwolfe> yes, saw that. eclipse was too building too greedily!
13:16:04 <rafa> bwolfe: 3 questions which could be answered by commiting a small text file to the svn
13:17:31 <rafa> bwolfe: it's a release version, tag name and dev version
13:18:00 <rafa> bwolfe: they can be read from a standard file by mvn release:prepare
13:18:05 <rafa> bwolfe: I forgot a name
13:18:45 *** harshadura has joined #openmrs
13:19:34 <rafa> bwolfe: release.properties
13:19:39 <bwolfe> cool
13:20:40 <rafa> bwolfe: http://maven.apache.org/plugins/maven-release-plugin/examples/non-interactive-release.html
13:20:45 <OpenMRSBot> <http://ln-s.net/$crX> (at maven.apache.org)
13:27:06 <rafa> dkayiwa: I still get upgrade wizard
13:27:18 <dkayiwa> rafa: ok
13:36:27 <rafa> dkayiwa: I see that liqubasechangelog is empty in the standalone
13:36:41 <rafa> dkayiwa: all changesets are written to databasechangelog
13:36:53 <dkayiwa> rafa: yes i have just noticed that too
13:37:13 <dkayiwa> rafa: done a table rename in liquibase and so am trying to build again and test
13:37:16 <dkayiwa> rafa: thanks :)
13:37:18 <rafa> dkayiwa: liqubiasechangelog 1.9.5 does not seem to pick up <name>liquibase.databaseChangeLogTableName</name>
13:37:49 <dkayiwa> rafa: looks like!!!
13:39:01 <rafa> dkayiwa: I fear the renaming may fail :(
13:39:02 *** rram_ has quit IRC
13:39:32 <dkayiwa> rafa: hahahaha. it has just failed now :)
13:40:06 *** harshadura has quit IRC
13:40:07 <rafa> dkayiwa: yes, because you do it in a changeset and liquibase tries to mark this changeset as done when it discovers the table does not exist :D
13:40:51 *** rram_ has joined #openmrs
13:41:59 <rafa> dkayiwa: maybe the property has a different name in the older liquibase?
13:43:26 <dkayiwa> rafa: maybe
13:44:30 <suranga> bwolfe, howdy ! good monringggg
13:44:42 <bwolfe> hi suranga
13:45:01 <suranga> bwolfe, I was working on that change I disussed this morning
13:45:17 <suranga> bwolfe, now I have a manage templates page, plus add and edit functions work...
13:45:29 <suranga> bwolfe, im wondering about delete / purge...
13:49:03 *** goutham has joined #openmrs
13:53:23 <bwolfe> suranga, what are you wondering about it?
13:53:59 <suranga> bwolfe, um... my problem is, do I need to 'retire' and then purge, or just delete it ?
13:54:46 <suranga> bwolfe, since none of the templates are aware that they are being called , or used, it's impossible to decide if deleting something will do harm...
13:55:10 <suranga> bwolfe, how would you peferr things to happen ? :)
13:55:59 *** cpower has joined #openmrs
13:59:27 <bwolfe> suranga, just purge. no need to retire first
13:59:44 <suranga> bwolfe, aha, ok, will do that :):)
13:59:45 <bwolfe> suranga, you could not do purging now if you want
14:00:03 <suranga> bwolfe, umm.. what do you mean ?
14:00:04 <bwolfe> suranga, just offer retiring/unretiring. if the user really wants to delete they can do so from the db
14:00:23 <suranga> bwolfe, aha ! I get it, sounds good to me :)
14:00:36 *** rram_ has quit IRC
14:01:17 <cpower> Hello and welcome another day of "This Is Your Scrum!" I'm your host...Chris Power
14:01:32 <cpower> Are we ready?
14:02:20 <cpower> I'll take silence as a yes.
14:02:25 <cpower> !scrumon cpower
14:02:25 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster cpower- you may begin when ready.
14:02:58 <cpower> Order: dkayiwa, suranga, rafa, djazayeri, and bwolfe
14:04:06 <bwolfe> cpower, way to keep it like
14:04:08 <bwolfe> err light
14:04:33 <cpower> I try...
14:04:39 <cpower> so Suranga your up
14:04:46 <suranga> hi guys
14:04:49 <suranga> Today :
14:04:49 <suranga> Working on leftovers from Hl7QRy-11
14:04:49 <suranga> 1) added a manage template page
14:04:49 <suranga> 2) added 'save / edit functionalily
14:04:49 <suranga> 3) working on adding retire / restore support
14:04:57 <suranga> No blockers :)
14:05:13 <cpower> Rafa...hi
14:05:27 <rafa> Today:
14:05:27 <rafa> * Testing standalone for 1.8.4
14:05:27 <rafa> * Reviewing GSoC code and testing the app
14:05:27 <rafa> No blockers.
14:05:50 <cpower> djazayeri, your up
14:05:51 <djazayeri> All week
14:05:51 <djazayeri> * OpenMRS Calls
14:05:51 <djazayeri> * I-TECH work
14:05:51 <djazayeri> * sporadic code reviews and ticket comments
14:05:51 <djazayeri> No blockers.
14:06:00 <cpower> and bwolfe
14:06:26 <bwolfe> Monday
14:06:26 <bwolfe> (unexpected full vacation day)
14:06:26 <bwolfe> emails
14:06:26 <bwolfe> Tuesday
14:06:26 <bwolfe> emails
14:06:27 <bwolfe> triaged ERR tickets
14:06:29 <bwolfe> triaged new trunk tickets
14:06:31 <bwolfe> reviewed commits by Rafal
14:06:33 <bwolfe> update documentation to point to github
14:06:35 <bwolfe> prepare for move to github
14:06:37 <bwolfe> no blockers
14:06:55 <bwolfe> light scrum today... :-/
14:07:16 <dkayiwa> Did code review with my gsoc student
14:07:16 <dkayiwa> Reviewed and commented on: NPE if Tomcat temp directory is missing - TRUNK-3151
14:07:16 <dkayiwa> About to make a final commit on: Building standalone does not work for 1.8.4 - STAND-60
14:07:17 <dkayiwa> No Blockers
14:07:37 <bwolfe> dkayiwa, you're bug fixing, right?
14:07:38 <cpower> Yeah no kidding.
14:07:49 <dkayiwa> bwolfe: yes
14:07:53 <bwolfe> and rafa, you're finishing maintenance releases and then moving to sprint tickets?
14:08:00 <cpower> No blockers, no discussion points
14:08:09 <cpower> Anyone else have something they want to add?
14:08:20 <cpower> !scrumoff
14:08:20 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
14:08:57 <rafa> bwolfe: yes, will move to sprint tickets tomorrow
14:09:51 *** suranga has quit IRC
14:10:55 <bwolfe> rafa, hmm, the sprint will be more like a swim lane until wyclif returns :-p
14:20:17 *** pushkar has joined #openmrs
14:22:08 <pushkar> hi bwolfe
14:22:26 <bwolfe> hi pushkar
14:24:43 <pushkar> bwolfe, do I have to keep the documentaion for drawong module v1.0 and v1.1 seperately or can I just upgrade 1.0s documentation ?
14:25:45 <bwolfe> pushkar, just upgrade the 1.0 docs
14:27:18 <pushkar> okay
14:41:56 *** goutham has quit IRC
14:42:05 *** goutham has joined #openmrs
14:47:19 *** goutham has quit IRC
14:55:16 *** jordank has joined #openmrs
15:04:46 *** snoppy has left #openmrs
15:09:14 *** harshadura has joined #openmrs
15:12:21 *** harshadura has quit IRC
15:15:48 *** sunbiz has joined #openmrs
15:15:48 *** ChanServ sets mode: +v sunbiz
15:16:15 *** sunbiz has left #openmrs
15:17:26 *** rafa has quit IRC
15:23:03 *** harshadura has joined #openmrs
15:24:40 *** pushkar has quit IRC
15:27:06 *** sunbiz has joined #openmrs
15:27:06 *** ChanServ sets mode: +v sunbiz
15:33:23 *** lh has joined #openmrs
15:33:23 *** lh has joined #openmrs
15:38:40 *** dmexs has quit IRC
15:45:59 *** robbyoconnor has joined #openmrs
15:45:59 *** ChanServ sets mode: +v robbyoconnor
15:50:11 *** robbyoconnor has quit IRC
15:51:44 *** robbyoconnor has joined #openmrs
15:51:44 *** ChanServ sets mode: +v robbyoconnor
16:09:46 *** Jibesh has joined #openmrs
16:13:26 *** sunbiz has quit IRC
16:21:00 *** mvorobey has joined #openmrs
16:21:22 <mvorobey> hi all
16:25:20 <mvorobey> bwolfe, hi
16:26:25 *** sunbiz has joined #openmrs
16:26:25 *** ChanServ sets mode: +v sunbiz
16:27:13 *** Mkop has quit IRC
16:27:58 *** jordank has quit IRC
16:28:32 *** sunbiz has quit IRC
16:28:59 <bwolfe> hi mvorobey
16:30:31 <mvorobey> bwolfe, have a minute ?
16:30:59 <bwolfe> yep
16:31:39 *** suranga has joined #openmrs
16:31:39 *** ChanServ sets mode: +v suranga
16:31:57 <mvorobey> bwolfe, Can you tell me if I can to hook one Extenstion pou=int handler to different points ?
16:32:06 <mvorobey> pou=int = point
16:32:23 <bwolfe> sure
16:32:25 <mvorobey> can to hook = can hook
16:32:38 <mvorobey> bwolfe, that's cool!
16:32:42 <mvorobey> bwolfe, thanks
16:40:33 *** jordank has joined #openmrs
16:46:47 *** reddykir has joined #openmrs
16:46:50 *** lakkarau has joined #openmrs
16:51:16 *** lakkarau_ has joined #openmrs
16:54:49 *** lakkarau has quit IRC
16:57:01 *** lakkarau_ has quit IRC
16:57:36 *** lakkarau has joined #openmrs
17:04:27 *** mccallumg has joined #openmrs
17:04:27 *** ChanServ sets mode: +v mccallumg
17:13:08 *** robbyoconnor has quit IRC
17:13:28 *** robbyoconnor has joined #openmrs
17:13:28 *** ChanServ sets mode: +v robbyoconnor
17:19:58 *** robbyoconnor has quit IRC
17:27:08 *** arjun077 has joined #openmrs
17:40:04 *** mvorobey has quit IRC
17:43:57 *** nadee has joined #openmrs
17:45:49 <nadee> hi all, is there someway we can reference one resource file refer another resource file?
17:46:14 <nadee> say i have a property file called omod/resources/x.property
17:46:43 <nadee> this needs to refer to another resource file, say omod/resources/y.sql
17:46:43 *** robbyoconnor has joined #openmrs
17:46:43 *** ChanServ sets mode: +v robbyoconnor
17:50:50 *** nadee has quit IRC
17:52:30 *** dgibbs has joined #openmrs
17:54:55 *** dgibbs has quit IRC
17:58:34 *** arjun077 has quit IRC
18:02:14 *** Mkop has joined #openmrs
18:02:14 *** ChanServ sets mode: +v Mkop
18:10:44 *** nadee has joined #openmrs
18:11:07 *** Jibesh has left #openmrs
18:15:45 *** maurya has joined #openmrs
18:16:03 <dkayiwa> hi nadee
18:16:16 *** ChanServ sets mode: +v maurya
18:16:20 <nadee> :-/ lost my internet connection in the middle,
18:16:25 <nadee> so what i was telling was, even though I can refer some file within resources/x.sql from a java class using the classpath:x.sql, I haven't comeacross a way to refer a file within resources folder, from another file within the same resources folder
18:16:52 <bwolfe> nadee, what is your end goal? what are you trying to do?
18:16:54 <djazayeri> bwolfe: I just tweeted about Thursday
18:17:14 <nadee> hi ben and daniel
18:17:18 <djazayeri> bwolfe: how do we further blanked the airwaves about the git switch? How about an email in its own new thread to Announce.
18:17:46 <nadee> I need to run a sql script, this can be referenced from my properties file
18:17:57 <nadee> its a symmetric.property file
18:18:32 <nadee> so I'm having both of them in the omod/resources folder
18:19:15 <nadee> need the property file to have a property x.y.sql.script=my sql script location
18:19:43 <nadee> so I can automate the running of this without bothering the user
18:22:28 <bwolfe> djazayeri, an email to announce? who outside of the dev list cares about the pending move? after we migrate we can send a note to announce.../maybe/
18:22:43 <dkayiwa> nadee: so will the user specify the file location using the properties file?
18:22:44 <bwolfe> nadee, who is reading that file? symmetric?
18:23:46 <nadee> ben, yeah.. symmetric will read its properies file inside our module, and get the location of the sql script i've written
18:23:53 <djazayeri> bwolfe: maybe announce isn't the right place, but we need to spread the word much more broadly than just the 22nd email in a thread...
18:24:53 <nadee> dkayiwa, mm.. actually user doesnot need to give a location manually, if we have this in the resources folder itself
18:25:06 <dkayiwa> ok
18:25:25 <bwolfe> nadee, if symmetric looks for the file on the classpath, you just put the file in the resources folder and refer to it with "filename.properties"
18:25:52 <nadee> I've actually done this and tested sync happening when I give a local folder location..
18:25:57 <bwolfe> nadee, if it can look up by url, use /openmrs/moduleResources/symm/filename.properties
18:27:11 <nadee> bwolfe, openmrs is my application data directory?
18:27:29 *** judygichoya has joined #openmrs
18:28:36 <bwolfe> nadee, thats the url. it'd be http://whatever:8013242/openmrs/...
18:29:47 <judygichoya> does anyone know if the work on this radiology module got started?
18:30:20 <nadee> :bwolfe,oh..thanks ben, i'll try using a url, I thought you were meaning the file system (java's url)
18:30:34 <bwolfe> judygichoya, which one?
18:30:49 <judygichoya> https://wiki.openmrs.org/display/docs/Radiology+Module
18:30:50 <OpenMRSBot> <http://ln-s.net/98j3> (at wiki.openmrs.org)
18:32:21 *** harshadura has quit IRC
18:32:42 *** harshadura has joined #openmrs
18:33:07 *** jordank has quit IRC
18:39:43 <judygichoya> am trying to build a module but get the error
18:39:44 <judygichoya> [ERROR] Failed to execute goal on project radiology-api: Could not resolve dependencies for project org.openmrs.module:radiology-api:jar:1.4.8-SNAPSHOT: Failure to find org.openmrs.module:hospitalcore-api:jar:1.4.10.10 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced -> [Help 1]
18:39:45 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
18:40:20 <judygichoya> any one has suggestions for this …? cc bwolfe suranga dkayiwa and djazayeri
18:41:09 <djazayeri> judygichoya: see if you can find code for a "hospitalcore" module in the same svn that the radiology code is in
18:42:04 <suranga> judygichoya, i dont remember hospitalcore, i dont think its in our repo, right ?
18:42:11 <djazayeri> judygichoya: seems like you'll need to build that one too
18:42:24 <suranga> its probably something developed by Sunny ?
18:42:59 <judygichoya> i am trying out the radiology module of https://github.com/hispindia/radiology
18:44:55 <bwolfe> judygichoya, clone the hospitalcore here: https://github.com/hispindia/ and "mvn install" that one first
18:45:05 <bwolfe> that will put the hospitalcore jars into your local repo
18:45:10 <suranga> judygichoya, I see it at https://github.com/hispindia/hospitalcore
18:45:10 <bwolfe> then you can mvn install the radiology one
18:47:15 <judygichoya> thanks people
18:47:32 <judygichoya> does anyone know if there was actual work done on the radiology module on openmrs
18:47:41 <judygichoya> https://wiki.openmrs.org/display/docs/Radiology+Module
18:47:42 <OpenMRSBot> <http://ln-s.net/98j3> (at wiki.openmrs.org)
18:48:11 <dkayiwa> judygichoya: when was its last commit?
18:48:32 <dkayiwa> judygichoya: although i highly doubt if anyone is working on it
18:57:58 <judygichoya> bwolfe suranga dkayiwa and djazayeri i did a mvn install of hospital core
18:58:05 <judygichoya> but i still get the same error
18:58:21 <djazayeri> judygichoya: what version did it say it installed?
18:59:20 <judygichoya> omod-1.4.10.11-
18:59:50 *** lh is now known as lh_afk
19:00:22 <djazayeri> judygichoya: okay, so change the pom.xml of radiology that you have checked out to point to that version instead of 1.4.10.10
19:05:35 *** shortend has left #openmrs
19:15:50 *** goutham has joined #openmrs
19:17:28 <judygichoya> djazayeri …well is till have the same problem
19:17:40 <judygichoya> here is the output of my maven install of hospital core
19:17:41 <judygichoya> http://pastebin.com/XztuBwHw
19:18:12 <djazayeri> judygichoya: the version you need is actually 1.4.10.11-SNAPSHOT
19:18:18 <djazayeri> (the -SNAPSHOT is relevant)
19:18:26 <judygichoya> yeah
19:18:32 <judygichoya> i changes it here
19:18:35 *** mvorobey has joined #openmrs
19:19:25 <judygichoya> http://pastebin.com/vA43NrKJ
19:19:31 <judygichoya> and still get the same error
19:19:39 <judygichoya> even after cleaning up my working space… :(
19:20:45 <djazayeri> judygichoya: one thing you could do is re-check-out (or svn switch) to get the 1.4.10.10 branch of hospitalcore, and mvn install that one
19:21:06 <judygichoya> anyone know how to do this from git...?
19:21:06 <djazayeri> oh, never mind, not svn switch. :-)
19:22:49 <djazayeri> judygichoya: git checkout RELEASE_1.4.10.10
19:22:59 <judygichoya> thanks
19:23:12 *** goutham has quit IRC
19:27:04 <nadee> dkayiwa, I've tried the url ben gave, on my browser, but it keeps saying that the link is broken
19:27:21 <nadee> at least not the config.xml in the resources directory
19:27:24 <nadee> http://localhost:8042/rootengdbd/moduleResources/syncsds/config.xml
19:27:43 <nadee> rootengdbd is my renamed .war file
19:28:03 *** james_regen has quit IRC
19:28:13 <nadee> https://wiki.openmrs.org/display/docs/Module+Resources also say look in that url
19:28:14 <OpenMRSBot> <http://ln-s.net/8wxJ> (at wiki.openmrs.org)
19:28:35 <bwolfe> nadee, did you put it in /omod/src/main/webapp/resources like that wiki page says too?
19:28:39 <nadee> is the url I'm specifying wrong please?
19:29:00 *** goutham has joined #openmrs
19:29:02 <bwolfe> and did you rebuild the omod? and reload it? and visit the url manually?
19:29:59 <nadee> bwolfe, great, the module I created from the wizard is giving me the resources folder on omod/srs/main/resources
19:30:06 <nadee> not webapp/resources
19:30:28 <nadee> so I have to add the resource folder into the webapp folder?
19:33:36 <nadee> :bwolfe, ben, or create a new folder called resources within the webapp folder? and add my files inside that?
19:34:18 <nadee> wondering if I'm getting you correct..
19:34:24 *** bwolfe has quit IRC
19:40:05 *** jordank has joined #openmrs
19:41:50 *** goutham has quit IRC
19:42:29 <dkayiwa> nadee: in your module's omod project
19:43:17 <dkayiwa> nadee: the omod project has the "src/main/resources" folder
19:43:41 <djazayeri> nadee: you may have to create the folder at /omod/src/main/resources
19:44:50 <nadee> but we usually put the jsps, images etc inside the webapps/resources? aren't we?
19:45:23 <nadee> what I'm inserting into omod/src/main/resources are some properties files and an .sql file
19:45:59 <djazayeri> nadee: the point is that anything in omod/src/main/resources can also be accessed via the module resource servlet. So if you want to able to access a resource via a URL, you would put it there.
19:46:53 <djazayeri> nadee: if you want to access the resources some other way (e.g. via the classpath) then you could keep them elsewhere, somewhere that isn't exposed via the web.
19:47:01 <djazayeri> but it depends on what you're trying to do.
19:47:17 <nadee> djazayeri, cool, thanks darius
19:48:30 <nadee> my initial requirement was to let my omod/src/main/resources/x.properties file reference the .sql file in the same level of the folder structure
19:49:01 <nadee> so, since the classpath:y.sql did not work, ben was suggesting me to try the url
19:50:53 <nadee> is there any possibility that we can reference a file inside the omod/src/main/resources/y.sql through omod/src/main/resources/x.properties, without going through the url method?
19:51:11 <nadee> that would be the best solution for me..
19:52:12 <djazayeri> nadee: that depends completely on how the code that is trying to open it is doing.
19:52:42 <djazayeri> nadee: but in general there's no magic way for a properties file to say "look at the classpath for this filename relative to me"
19:53:51 <nadee> say I have a property x.y.sql.script=hey, get my sql file (filename.sql)
19:54:18 <nadee> ahh ok darius, i'll run my .sql manually then
20:11:47 *** diptanuc has joined #openmrs
20:13:22 *** goutham has joined #openmrs
20:14:26 <goutham> dkayiwa: Hi
20:14:58 <dkayiwa> hi goutham
20:16:33 <goutham> dkayiwa: i am getting this error http://pastebin.com/J15MEHsM
20:17:14 *** mvorobey has quit IRC
20:19:00 <goutham> dkayiwa: BaseModuleWebContextSensitiveTest is not getting recognized in my omod/test classes
20:19:30 <nadee> :) I'm with another question, say I need to add a new web.xml to my module.. in my api/../module activator, I have to reference the containing directory of this web.xml..say some_alternative_web_folder/WEB-INF/web.xml
20:19:42 *** jordank has quit IRC
20:20:02 <nadee> is there a way I can reference this new folder from within my java class?
20:20:34 <djazayeri> nadee: my understanding is that it's not possible to include web.xml in your module.
20:21:48 <nadee> so far I've kept this web.xml directory too on my local folder, and got the sync happening between openmrs databases on 2 physical machines..but need to push this inside the module now
20:22:47 <nadee> djazayeri: so this too I have to ask the user to keep a local folder to contain my web.xml?
20:23:32 <djazayeri> nadee: I don't quite understand. Are you trying to deploy symmetric as its own webapp within the same application server?
20:23:39 <djazayeri> or rather servlet container?
20:23:43 <dkayiwa> goutham: can u commit and i look at it
20:24:11 <nadee> yah, symmetric will spawn a new jetty instance and kepp doing its sync content
20:24:17 <nadee> openmrs is not disturbed with this
20:24:21 <nadee> I've done it
20:24:37 <djazayeri> nadee: so you just need to give it a web.xml that it will copy or something?
20:25:02 <nadee> but with using a local folder to contain the web.xml, and in the module activator, give its location
20:25:04 <goutham> dkayiwa: ok
20:25:29 <nadee> darius, yeah, it has its own listners etc etc
20:26:01 <nadee> openmrs run on its own, and symmetric is on some other port, no worries about that, no mixing
20:26:44 <djazayeri> nadee: can you just give it the _content_ of the web.xml? It seems odd that you have to give it as a file...
20:27:38 <nadee> nope, i ve seen SDS's code, it looks for a webfolder, which should contain the structure: WEB-INF/web.xml
20:28:10 <nadee> when we give this place, it gets this assigned to its instance variable
20:28:47 <nadee> we've tried a lot on this darius, this was the only smooth solution
20:28:52 <nadee> available
20:29:24 <nadee> I just need to allocate a folder location for this
20:30:00 <djazayeri> nadee: okay, a quick peek at http://www.symmetricds.org/doc/3.0/html/advanced-topics.html#deployment-options-embedded implies that they have a mechanism to reference configuration via the classpath
20:30:04 <OpenMRSBot> <http://ln-s.net/$d3Y> (at www.symmetricds.org)
20:30:44 <nadee> :) you have to give a webapp directory too, else, its getting assigned to a default place
20:31:23 <nadee> and does not work, because the default location is to go back one level in the directory structure. and find its web folder
20:31:34 <nadee> which suits the SDS's standalone
20:31:42 <djazayeri> nadee: but to answer your specific question, I don't know of a non-hacky way that you can expect to work in production, that will let you get access to the specific filesystem locations of things that are in your omod/jar.
20:31:43 <nadee> not the embedded solution
20:33:13 <nadee> darius, :) okey.. so I'll ask the user to create a local folder on a place I tell him, and embed my web.xml + the .sql, this will be a specific folder location for the module
20:35:10 *** bwolfe has joined #openmrs
20:35:10 *** ChanServ sets mode: +o bwolfe
20:35:25 <bwolfe> hmm, apparently xchat crashed at some point...
20:39:22 <goutham> dkayiwa: made the commit !
20:39:53 <dkayiwa> goutham: ok
20:44:29 *** maurya has quit IRC
20:45:41 *** judygichoya has left #openmrs
20:58:07 *** robbyoconnor has quit IRC
21:08:02 *** mvorobey has joined #openmrs
21:13:08 *** lh_afk is now known as lh
21:14:02 *** mccallumg has quit IRC
21:27:41 *** mvorobey has quit IRC
21:27:56 *** Mkop has quit IRC
21:40:10 *** diptanuc has quit IRC
21:40:24 *** diptanuc has joined #openmrs
21:42:34 <goutham> dkayiwa: any clue?
21:48:43 *** suranga has quit IRC
21:49:00 *** jordank has joined #openmrs
21:59:56 *** nadee has quit IRC
22:03:18 *** diptanuc has quit IRC
22:29:23 *** jordank has quit IRC
23:00:12 *** goutham_ has joined #openmrs
23:00:46 <goutham> Good night dkayiwa :)
23:04:35 *** goutham_ has quit IRC
23:07:05 *** goutham has quit IRC
23:08:11 *** mccallumg has joined #openmrs
23:08:11 *** ChanServ sets mode: +v mccallumg
23:09:41 *** mccallumg has quit IRC
23:14:56 *** mccallumg has joined #openmrs
23:14:57 *** ChanServ sets mode: +v mccallumg
23:19:11 *** lakkarau has quit IRC
23:25:48 *** mccallumg has quit IRC
23:44:35 *** jordank has joined #openmrs
23:44:55 *** dkayiwa has quit IRC