IRC Chat : 2011-07-13 - OpenMRS

00:07:06 *** yanokwa has joined #openmrs
00:07:06 *** ChanServ sets mode: +v yanokwa
00:08:18 *** robbyoconnor has joined #openmrs
00:08:18 *** ChanServ sets mode: +v robbyoconnor
00:08:36 *** wyclif has quit IRC
00:10:03 *** gbastien has joined #openmrs
00:29:14 *** djazayeri has quit IRC
01:02:21 *** wansantos has joined #openmrs
01:02:26 <wansantos> hello all
01:02:57 <wansantos> i am wanswins
01:03:21 <wansantos> ops, a have another mirc windows opened
01:03:23 <wansantos> sorry
01:03:35 *** wansantos has quit IRC
01:03:49 <wanswins> hey guys
01:04:04 <wanswins> can anyone help me?
01:04:12 <wanswins> i'm getting this error in wizard
01:04:14 <wanswins> INFO - LocalSessionFactoryBean.buildSessionFactory(772) |2011-07-13 01:00:09,343| Building new Hibernate SessionFactory
01:04:14 <wanswins> ERROR - Cache.(168) |2011-07-13 01:00:54,159| Unable to set localhost. This prevents creation of a GUID. Cause was: intermed.: intermed.
01:04:35 <wanswins> onde the tasks at final of wizard
01:05:06 <wanswins> anyone already have this?
01:11:34 *** wyclif has joined #openmrs
01:17:14 <wyclif> bwolfe, hi
01:27:26 *** mandric has joined #openmrs
01:34:47 *** asgoyal has quit IRC
01:57:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: OpenMRS Cloud <http://forum.openmrs.org/viewtopic.php?f=11&t=796#p3004>
02:43:49 *** gbastien has quit IRC
03:24:17 *** surangak has joined #openmrs
03:26:01 *** surangak_ has joined #openmrs
03:45:41 *** upul` has joined #openmrs
03:45:41 *** ChanServ sets mode: +v upul`
04:06:55 *** mccallumg has joined #openmrs
04:06:55 *** ChanServ sets mode: +v mccallumg
04:07:51 <mccallumg> hey surangak_
04:08:07 <surangak_> mccallumg, hellooo
04:08:18 <surangak_> mccallumg, lots of mails have been flying around :)
04:08:41 <mccallumg> surangak_: just catching up on them
04:09:16 <surangak_> mccallumg, we will be featuring in the design call for wednesday...
04:09:39 <mccallumg> surangak_: <arg> that's 6am tomorrow.
04:09:58 <surangak_> mccallumg, ooops :P
04:10:16 <mccallumg> surangak_: I'll be on it. Just the issue about prioritizing handlers?
04:10:21 <surangak_> mccallumg, Burke wanted to discuss the handler design....
04:10:34 <mccallumg> surangak_: the priorities, right?
04:10:36 <surangak_> mccallumg, yes, i think he wants to suggest an alternative method...
04:10:52 <surangak_> mccallumg, yep, thats right
04:10:57 <mccallumg> surangak_: good. I'm interested in his thoughts on this.
04:11:14 <surangak_> mccallumg, Darius had also replied to the mail, so we'll see how it goes
04:11:57 <surangak_> mccallumg, I only hope that we will have to change the entire handler set again :)
04:12:09 <surangak_> mccallumg, sorry, i mean *not change
04:14:03 <mccallumg> surangak_: ok. You're taking a break this week other than the calls, right? It is midterm break.
04:14:23 <surangak_> mccallumg, mmm... mid term break ? didnt get you ?
04:14:41 <surangak_> mccallumg, you mean we Gsoc ppl have mid term breaks :P
04:15:17 <mccallumg> surangak_: well the way it looks on my google calendar is like a break.
04:15:31 <mccallumg> https://www.google.com/calendar/hosted/google.com/embed?src=gsummerofcode@gmail.com&ctz=America/Los_Angeles&gsessionid=OK
04:15:34 <surangak_> mccallumg, i think i repfer to take a 'working' holiday
04:15:36 <OpenMRSBot> <http://ln-s.net/8zR9> (at www.google.com)
04:15:40 <surangak_> mccallumg, still some work to do
04:16:10 <surangak_> mccallumg, Burke had responsed regarding his earlier request on valueComplex, im on that right now...
04:16:23 <mccallumg> surangak_: ok
04:16:35 <surangak_> mccallumg, unfortunately i dont think I can do it exactly as he suggested, there are some changes i need to make
04:16:44 <surangak_> mccallumg, i did a couple of docs
04:17:07 <surangak_> mccallumg, plus the unit tests are passing (save two more to go)
04:17:20 <mccallumg> surangak_: I saw them. I haven't gone through them in detail yet. I definitely will before I do the evaluation this week. :)
04:18:17 <surangak_> mccallumg, im hoping to solve that valueCOmplex thing soon, becoz it has taken a lot of time already
04:18:37 <surangak_> mccallumg, and continue from there based on the design meeting comments....
04:18:56 <mccallumg> surangak_: is there anything you're ready to commit to the repository?
04:19:22 <surangak_> mccallumg, the unit tests, and the other major changes i have already done
04:19:32 <mccallumg> surangak_: great
04:19:47 <surangak_> mccallumg, //to commit - valuecomplex (once done) and other outstanding issues
04:20:03 <surangak_> mccallumg, pretty much everything else is in the branch
04:20:10 <mccallumg> surangak_: great.
04:20:58 <mccallumg> surangak_: I'll talk to you on the call in the morning then.
04:21:37 <surangak_> mccallumg, sure, hope it goes well (fingers crossed :P)
04:22:04 <mccallumg> surangak_: have a good day
04:22:25 <surangak_> mccallumg, good night .........
04:22:44 *** mccallumg has quit IRC
04:26:06 *** wanswins has quit IRC
04:41:03 *** djazayeri has joined #openmrs
04:41:03 *** ChanServ sets mode: +o djazayeri
04:43:55 *** asgoyal has joined #openmrs
04:45:20 <surangak_> djazayeri, howdy, will we be seeing you at tomorrows design call :)
04:45:28 <djazayeri> yup
04:45:45 <surangak_> djazayeri, great..
04:55:09 *** djazayeri has quit IRC
05:14:30 *** djazayeri has joined #openmrs
05:14:41 *** ChanServ sets mode: +o djazayeri
05:30:45 *** bwolfe has quit IRC
05:58:14 *** mandric has quit IRC
06:23:58 *** asgoyal has quit IRC
06:36:28 *** bwolfe has joined #openmrs
06:36:28 *** ChanServ sets mode: +o bwolfe
06:45:28 *** bwolfe has quit IRC
06:52:02 *** pascal` has joined #openmrs
06:52:04 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Changed buildnumber plugin to latest release in parent pom, Removed use of modified buildnumber plugin - TRUNK-1982 <http://feedproxy.google.com/~r/OMRStrunk/~3/Pdqrb4qqweU/OpenMRS>
07:29:35 *** goutham has joined #openmrs
07:46:00 *** goutham has quit IRC
07:46:18 *** rafa has joined #openmrs
07:46:18 *** ChanServ sets mode: +v rafa
07:46:26 *** goutham has joined #openmrs
08:02:32 *** bryq has joined #openmrs
08:02:32 *** ChanServ sets mode: +v bryq
08:04:52 *** magoo has joined #openmrs
08:07:35 *** dkayiwa has joined #openmrs
08:29:40 *** bodyguard has joined #openmrs
08:32:11 *** rafa_ has joined #openmrs
08:32:11 *** ChanServ sets mode: +v rafa_
08:32:18 *** bodyguard has quit IRC
08:32:57 *** rafa has quit IRC
08:47:07 *** magoo has quit IRC
09:06:49 *** magoo has joined #openmrs
09:41:04 *** goutham has quit IRC
09:44:13 *** pascal`` has joined #openmrs
09:47:48 *** pascal` has quit IRC
09:51:50 <surangak_> dkayiwa, howdy
09:52:03 <dkayiwa> good surangak_
09:52:05 <dkayiwa> and u?
09:52:18 <surangak_> dkayiwa, as usual, I guess :)
09:52:24 <dkayiwa> :D
09:52:35 <dkayiwa> how are those complex obs? :)
09:53:05 <surangak_> dkayiwa, do u know if it is possible for me, to take the value retreived from a dwr service, and set that to a variable itself
09:53:30 <dkayiwa> am not sure i get you correctly
09:53:53 <surangak_> dkayiwa, in the dwr service, we can return values right
09:54:15 <surangak_> dkayiwa, but in each instance, instead of assigning it to a val, we use it to call a method...
09:54:34 <surangak_> dkayiwa, for example in DWRConceptService.getConceptNumericUnits(tmpConcept.conceptId, fillNumericUnits);
09:54:44 <surangak_> we pass in tmpConcept.conceptId
09:55:02 <dkayiwa> ok
09:55:06 <surangak_> dkayiwa, and the return value is paeed into fillNumericUnits, which is actually a method
09:55:18 <dkayiwa> yes
09:55:26 <surangak_> instead of callin a method, could i maybe assign it to a variable itself
09:55:43 <surangak_> dkayiwa, dont know if that is possible...
09:56:03 <dkayiwa> oh i see
09:56:28 <surangak_> we look to you for guidance and enlightenment :)
09:56:41 <dkayiwa> ohhhhhh :)
09:57:44 <dkayiwa> why do u want to assign to a value
09:59:05 <surangak_> dkayiwa, mm.. actually i wwant to grab the return value and set that to a variable, instead of passing it to a method...
09:59:19 <dkayiwa> oh i see
10:00:32 <dkayiwa> i have never tried that before. but i think you should be able to do that somehow or have the method assign to the variable
10:00:43 <dkayiwa> magoo
10:01:11 <dkayiwa> magoo here is the public chat
10:01:37 <magoo> thx
10:01:58 <surangak_> dkayiwa, sure, let me check that out...
10:02:03 <dkayiwa> ok
10:02:11 <surangak_> dkayiwa, see u at design review call ?
10:02:21 <dkayiwa> sure :)
10:02:27 <magoo> am getting this msg Unable to connect Firefox can't establish a connection to the server at localhost:8081.
10:03:04 <magoo> and my tomcat is running the 8081 port is free how can rectify this
10:03:08 <dkayiwa> magoo try close the standalone app and then run it again
10:03:48 <magoo> how do i close it
10:03:59 <dkayiwa> the UI window
10:04:06 <dkayiwa> do you see it magoo?
10:06:02 <magoo> i dont seem to see it
10:06:14 <dkayiwa> ok how did you run the server?
10:06:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: openmrs_tag documentation? <http://forum.openmrs.org/viewtopic.php?f=11&t=797#p3005>
10:06:49 <magoo> http://localhost:8081/openmrs-standalone
10:07:17 <dkayiwa> did you run by double clicking the standalone jar file?
10:10:12 <magoo> i unziped the comprossed file which i download onto my computer and double clicked on the jar file in the folder
10:11:03 <dkayiwa> when you double clicked the jar file, did you see a splash screen and then another window show up?
10:11:23 <dkayiwa> this window has buttons like stop, start, it had a file menu, etc
10:11:39 <magoo> ya it showed the openmrs flash screen
10:12:37 <magoo> by the time i was running the application there was i window which had those buttons but i dont seem to find it
10:12:45 <dkayiwa> ok
10:12:55 <dkayiwa> that means its now closed
10:13:03 <magoo> yeap
10:13:07 <dkayiwa> and when it closes, it also stops the server from running
10:13:14 <dkayiwa> so just double click the jar file again
10:13:30 <dkayiwa> the window will then show up and openmrs a browser window to the openmrs login screen
10:13:45 <magoo> so what shld i do to stop this from happening again
10:14:05 <dkayiwa> just do not stop that window
10:14:12 <dkayiwa> or do not close it
10:16:25 <magoo> do i have to keep on doing that every time i want to run the application i think i shld create a shortcut for the jar file on may desktop
10:16:49 <dkayiwa> feel free to create a short cut
10:17:31 <magoo> course i have to shutdown may laptop when am done with what am doing
10:17:40 <dkayiwa> the other option would be to do the openmrs non standalone install where you install mysql, tomcat, etc separately and then have these are services that automatically start when the OS boots and keep running in the background without a UI
10:19:03 <magoo> infarct thats what i was doing yesterday and i kept on getting the error msgs i sent u
10:19:29 <magoo> i hv mysql installed and apache tomcat
10:20:01 <dkayiwa> go to the tomcat/webapps dirrectory
10:20:21 <dkayiwa> and then put the openmrs.war file there (assuming it is not already there)
10:20:30 <dkayiwa> then restart tomcat
10:20:58 <magoo> but the file i downloaded is a .zip file not .war file it keeps on asking for .war file where can i get it
10:21:09 <dkayiwa> oh i see
10:21:21 <dkayiwa> the zip is the stand alone
10:21:47 <magoo> so i need to download a war file
10:22:10 <dkayiwa> so what you need is either download war file or just copy it from your standalone unzip
10:22:33 <dkayiwa> its under tomcat/webapps folder of your unzip
10:22:51 <magoo> let me check if its there
10:22:57 <magoo> thx
10:23:11 <dkayiwa> it has to be there :D
10:23:27 <magoo> i have seen it
10:23:33 <dkayiwa> yes
10:23:47 <dkayiwa> take that for your installed tomcat
10:23:54 <magoo> so i need to deploy this file using tomcat
10:24:04 <dkayiwa> yes
10:24:24 <magoo> let me start
10:24:37 <dkayiwa> ok
10:32:36 *** pascal`` is now known as pascal`
10:32:38 *** ChanServ sets mode: +v pascal`
10:36:30 <magoo> do i need to first stop the stand alone cz it seems to be ocupying the port 8081
10:36:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: openmrs_tag documentation? <http://forum.openmrs.org/viewtopic.php?f=11&t=797#p3006> || OpenMRS Modules: General Feedback Mechanism 1.0.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=feedback&ampversion=&amp1.0.0>
10:52:30 *** bwolfe has joined #openmrs
10:52:30 *** ChanServ sets mode: +o bwolfe
11:02:48 <magoo> dkayiwa now apache is not opening on port 8081 what could wrong again
11:03:02 <dkayiwa> try 8080
11:05:59 <magoo> hahaha... its on
11:06:12 <dkayiwa> good. :)
11:09:39 <magoo> should i type this in the url http://localhost:8080/openmrs to start the application
11:09:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: openmrs_tag documentation? <http://forum.openmrs.org/viewtopic.php?f=11&t=797#p3008> || OpenMRS Forum: Re: openmrs_tag documentation? <http://forum.openmrs.org/viewtopic.php?f=11&t=797#p3007>
11:11:24 <magoo> dkayiwa its okay it running but it starts with some kind of a configuration
11:11:50 <dkayiwa> which one?
11:13:01 <magoo> like Do you currently have an OpenMRS database installed that you would like to connect to?
11:13:41 <dkayiwa> oh i see
11:13:55 <dkayiwa> magoo: thats the database setup wizard
11:14:14 <dkayiwa> which you go through for the first time to setup your database
11:14:30 <dkayiwa> but after that, it will be like you had for the standalone installation you have
11:14:42 <magoo> okay
11:14:48 <dkayiwa> magoo: we could try this work around
11:15:06 <dkayiwa> stop mysql
11:15:20 <dkayiwa> and then copy from the standalone folder
11:15:26 <dkayiwa> database/data/openmrs
11:15:32 <magoo> copy what
11:15:41 <dkayiwa> and paste it into your mysql installation under the data folder
11:16:04 <dkayiwa> then restart mysql and try again
11:19:11 <magoo> i copy the entire openmrs folder
11:19:17 <dkayiwa> yes
11:20:48 <magoo> then after that???
11:21:08 <dkayiwa> paste it into you mysql installation data folder
11:21:34 <dkayiwa> oh wait a minute
11:21:39 <magoo> a've dan that
11:21:51 <dkayiwa> just realized that it may not work
11:22:08 <dkayiwa> for database is not registered in catalog
11:22:27 <dkayiwa> but anyway, just give it a try since you already did it. :)
11:23:02 <magoo> so how about the copied folder i leave it there?
11:23:32 <dkayiwa> first remove it and then i will just take your through the openmrs setup wizard
11:23:53 <dkayiwa> since it will be any way good for you to learn how to setup the database using this waizard
11:24:40 <magoo> okay
11:24:47 <magoo> let me give it a try
11:25:33 *** james_regen has joined #openmrs
11:25:33 *** ChanServ sets mode: +v james_regen
11:27:06 <dkayiwa> magoo did you look at this? https://wiki.openmrs.org/display/docs/Printable+Installation+Guide
11:27:13 <OpenMRSBot> <http://ln-s.net/8zT2> (at wiki.openmrs.org)
11:27:19 <magoo> no
11:27:45 <dkayiwa> magoo: you are now at: Step 6 - Configuration
11:28:10 <magoo> yes
11:28:10 <dkayiwa> go through that step, after having removed the openmrs folder from the data folder where you had pasted it
11:28:23 <magoo> okay
11:29:29 <magoo> what does this mean? Do you want to be able to upload modules from the web interface? Disclaimer: This could be a security risk if a user with upload permissions is ever compromised. (The alternative is to drop .omod module files into your application data directory and restart OpenMRS)
11:29:52 <dkayiwa> select yes
11:30:11 <dkayiwa> it will let you upload modules through the web interface
11:30:26 <dkayiwa> since thats a local copy for you to play with and learn, there is nothing to fear
11:30:37 <magoo> okay
11:31:55 <magoo> The password is not long enough, does not contain both uppercase characters and a number, or matches the username.
11:32:09 <dkayiwa> use something like Admin123
11:33:05 <magoo> Optional. Leave ID field blank to skip.
11:33:12 <dkayiwa> yes
11:33:20 <magoo> step 5 of 6
11:35:22 <magoo> its now configuring
11:35:47 <dkayiwa> ok
11:37:20 *** upul` has quit IRC
11:40:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Regarding new privileges and how to assign them <http://forum.openmrs.org/viewtopic.php?f=8&t=795#p3009>
11:45:04 <magoo> dkayiwa nga its takin' long
11:45:50 <magoo> its still on creating database and i see no progress in the progress bar
11:46:26 <dkayiwa> does it spit out any text?
11:46:47 <bwolfe> spitting seems unnecessary
11:48:06 <bwolfe> daniel, you done with your tickets yet?
11:48:20 <bwolfe> rafal, any progress on ws tickets, or just doing mds today?
11:48:20 <dkayiwa> yes
11:49:21 <dkayiwa> bwolfe: just wanted to quickly put a ws resource in the basic module and see if it will get listed. Just to be real real sure. :)
11:49:40 <bwolfe> dkayiwa, or you can use the reportingrest module
11:49:43 <bwolfe> or the idgenws module
11:49:48 <bwolfe> both are in svn
11:50:09 <dkayiwa> oh they already do ws using the new rest module convention? bwolfe?
11:50:54 <bwolfe> yes
11:51:00 <dkayiwa> oh good
11:51:04 <bwolfe> both were modules written to test the framework in another module
11:51:14 <dkayiwa> oh i see!!!!
11:51:36 <dkayiwa> will go with the idgensw one
11:54:30 <magoo> dkayiwa i get these errors Create database user Number of actions completed so far: 1 Server log file output: WARN - OpenmrsUtil.getRuntimeProperties(2325) |2011-07-13 14:07:24,390| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard. WARN - OpenmrsUtil.getRuntimeProperties(2295) |2011-07-13 14:07:24,609| Unable to find properties file: C:\\Application Data\OpenMRS\openmrs-standal
11:55:11 *** jriley has joined #openmrs
11:55:37 <bwolfe> dkayiwa, idgenws requires a modified idgen to run. easiest thing is to just take that requirement out of the idgenws config.xml and start the module anyway. :-0
11:55:39 <bwolfe> :-)
11:55:43 <bwolfe> (or choose reportingrest)
11:55:58 <dkayiwa> ok
12:01:42 <dkayiwa> got some maven errors. trying the reportingrest one. :)
12:02:48 <dkayiwa> seems bigger though :)
12:04:14 <magoo> dkayiwa still busy
12:04:16 <dkayiwa> reportingrest requires openmrs 1.6 which i have not yet checked out
12:04:27 <dkayiwa> now going back to idgenrest. :)
12:04:34 <bwolfe> ha
12:04:35 <bwolfe> ok
12:04:53 <dkayiwa> magoo can you send me the full tomcat log? using pastebin
12:05:47 <magoo> pastebin?
12:06:11 <dkayiwa> http://pastebin.com/
12:06:27 <dkayiwa> paste there and send here only the link
12:08:29 <magoo> dkayiwa am on pastebin
12:08:46 <dkayiwa> paste there your tomcat log and then send us the link here
12:09:14 <magoo> dkayiwa where do i need to sign in?
12:09:29 <dkayiwa> no sign in
12:10:02 <dkayiwa> paste under New Paste and then submit
12:10:08 <dkayiwa> it will show you the url
12:10:19 <dkayiwa> by the way magoo. we want you to become the openmrs consultant in Burundi. :D
12:10:43 <magoo> that will be very great news
12:10:49 <dkayiwa> :)
12:10:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: openmrs_tag documentation? <http://forum.openmrs.org/viewtopic.php?f=11&t=797#p3010>
12:13:03 <magoo> dkayiwa i've created an account where do i go next
12:13:06 <bwolfe> do we know many people in burundi?
12:16:12 <magoo> dkayiwa where do i send to?
12:18:22 <dkayiwa> magoo: u dont even need an acount
12:18:38 <magoo> dkayiwa i just click on send
12:18:48 <dkayiwa> when you go to that url, you just paste whatever you have under "New Paste" and then click "Submit"
12:18:58 <magoo> rather submit button
12:19:01 <dkayiwa> then it will show you the url to give us here
12:19:26 <bwolfe> dkayiwa, rafa_, what sections do you think I should add to the rest api docs?
12:19:26 *** wyclif has quit IRC
12:19:29 <bwolfe> https://wiki.openmrs.org/display/docs/REST+Web+Services+API
12:19:37 <OpenMRSBot> <http://ln-s.net/8zTB> (at wiki.openmrs.org)
12:21:15 <magoo> and when i follow the printable manual i get this msg 0% Number of actions completed so far: 0 Server log file output:
12:21:39 <dkayiwa> bwolfe: let me go through it first and see if i have anything to say
12:21:41 <magoo> nothing happens
12:22:22 <dkayiwa> magoo: were you able to get the tomcat log file contents and paste them into pastebin?
12:22:50 <magoo> yes and i have submitted them
12:22:57 <dkayiwa> what url?
12:23:40 <magoo> url???
12:24:06 <bwolfe> heh, the pastebin one
12:24:14 <dkayiwa> :)
12:25:43 <magoo> dkayiwa i just pasted the output details
12:26:36 <dkayiwa> magoo: after clicking submit, give the url you have in your browser
12:26:56 <dkayiwa> magoo: look at the address bar of your browser
12:28:31 <magoo> http://pastebin.com/GmWPeuUJ
12:28:37 *** downeym has joined #openmrs
12:28:37 *** ChanServ sets mode: +o downeym
12:28:37 *** OpenMRSBot sets mode: +o downeym
12:29:11 <dkayiwa> did you copy these from the tomcat log file? magoo
12:29:25 <dkayiwa> or just from the browser
12:29:27 <dkayiwa> ?
12:29:34 <surangak_> pardon gentlmen, design review meeting should begin in 30 mins, right ?
12:29:54 <dkayiwa> surangak_ hahahaha!!! i love that. :D
12:30:09 <surangak_> :D
12:30:51 <dkayiwa> surangak_: person like me need to be very reminded because i at times forget. :)
12:31:19 <magoo> dkayiwa on the final last step of the initial configuration http://localhost:8080/openmrs-standalone/initialsetup# there is link view output details
12:31:38 <dkayiwa> check under the tomcat installation folder magoo
12:31:53 <magoo> okay
12:32:00 <dkayiwa> under the logs folder, you will see a file whose name has something like today's date
12:32:13 <dkayiwa> if on windows, may be something like stdout.....
12:34:39 <rafa_> bwolfe: by the way did you resolve the problem from yesterday with a missing bean?
12:34:59 <bwolfe> yes, backported that
12:35:12 <bwolfe> now you need to update 1.8.x and ws again because the name of the bean was tweaked slightly. :-)
12:35:54 <rafa_> bwolfe: ok. I still had this problem this morning and simply removed the bean declaration from the context xml.
12:36:11 <rafa_> bwolfe: I'll try again later.
12:36:20 *** magoo has quit IRC
12:36:20 <bwolfe> heh
12:36:27 <bwolfe> let me update both and see
12:37:57 *** gbastien has joined #openmrs
12:43:16 *** gbastien has quit IRC
12:43:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: openmrs_tag documentation? <http://forum.openmrs.org/viewtopic.php?f=11&t=797#p3011>
12:47:02 <rafa_> bwolfe: Thanks it works fine now! My fault, I installed openmrs to a wrong mvnrep.
12:49:54 <bwolfe> rafa_, multiple users running mvn ?
12:51:22 *** magoo has joined #openmrs
12:51:36 <downeym> Hi magoo and welcome to the #openmrs IRC channel.
12:52:03 <magoo> thx
12:52:17 <rafa_> bwolfe: Well I only setup different user directories to run separate jetties for openmrs 1.8 and trunk
12:52:55 <magoo> dkayiwa should i paste the entire content into pastebin
12:53:00 <dkayiwa> yes
12:54:33 <magoo> dkayiwa i have submited
12:54:44 <dkayiwa> url?
12:55:33 *** gbastien has joined #openmrs
12:55:38 <magoo> http://pastebin.com/hd6FqwGS
12:58:33 <dkayiwa> magoo: looks like you are using a wrong user name password combination for your mysql installation
13:00:16 <magoo> but i was following the configuration procedures okay let me try again
13:01:43 <magoo> dkayiwa A user that has "CREATE DATABASE" privileges must be specified here so that this wizard can create the new database. (Empty MySQL passwords are not allowed here. If you don't have a MySQL password set for the given user, please set one.)
13:02:26 <dkayiwa> aha
13:02:53 <dkayiwa> magoo do you have that user's name and password for your mysql installation?
13:02:58 <magoo> so i should create a root password
13:03:23 <dkayiwa> magoo. can you log onto your mysql with any account?
13:03:38 <dkayiwa> either on commandline or using any client
13:04:14 <magoo> am using mysql bundled with wamp server let me try to create the password
13:04:27 <dkayiwa> ok
13:04:32 <bwolfe> ugh. of course it starts raining /as soon as/ I have to have internet to be on a call!!
13:04:37 <bwolfe> ^$*&#*$ raining season!!!!!!
13:04:49 <dkayiwa> oh sorry
13:04:59 <bwolfe> (my internet usually goes out during heavy rains due to it being a wimax connection)
13:05:02 <dkayiwa> and when it rains, usually electricity also goes off
13:05:12 <bwolfe> sometimes
13:05:23 <bwolfe> thats only about 50%. rain + no internet is more like 75%
13:05:32 <dkayiwa> lolllllll
13:07:12 <magoo> dkayiwa when i open my http://localhost/phpmyadmin/ i do have this warning Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'. so i should create a root password
13:08:10 *** wyclif has joined #openmrs
13:08:39 <dkayiwa> magoo: i have never used wamp
13:08:53 <dkayiwa> i always do a manual install of mysql
13:09:02 <dkayiwa> and get dirrect control of everything
13:09:21 <magoo> let me try creating a root password
13:26:12 *** gbastien has quit IRC
13:26:14 <magoo> dkayiwa i have created the password but what should i enable at this stage If yes, specify the log in user name and password for that database user:
13:27:46 <dkayiwa> magoo: do u know the user name for that password?
13:29:17 <magoo> yes
13:29:32 <magoo> the root password
13:29:38 <dkayiwa> now use that combination on the setup wizard
13:31:02 <magoo> put am geting the following error There was an error while updating the database to the latest. file: liquibase-schema-only.xml. Error: liquibase.exception.JDBCException: Error executing SQL SELECT COUNT(*) FROM `liquibasechangeloglock` WHERE ID=1 See the error log for more details There was an error while updating the database to the latest. file: liquibase-demo-data.xml. Error: liquibase.exception.JDBCException: Error executin
13:31:39 <dkayiwa> send the tomcat log to pastebin again
13:36:20 <magoo> dkayiwa its okay it was abt the port configuration i have installed mysql standalone i had to change the port
13:36:52 <magoo> its now progressing well
13:36:53 <dkayiwa> ok
13:36:57 <dkayiwa> good
13:37:27 <magoo> its configuring the demo data
13:39:29 *** asgoyal has joined #openmrs
13:50:44 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (providers): Trunk-2267 : Fixed the failing tests around ProviderAttributeTest <http://feedproxy.google.com/~r/OMRStrunk/~3/D7VMoFwGp1E/OpenMRS>
13:52:10 *** pascal` has quit IRC
13:52:12 <surangak_> dropped from skype ?
13:53:04 <djazayeri> skype still on
13:57:12 <bwolfe> surangak_, I was dropped from the skype about the time you were. must have been a freeconferencing issue
13:57:26 * bwolfe dreams of a day when we have a better solution
13:57:31 * bwolfe looks at downeym
13:57:38 <surangak_> bwolfe, ah, well looks like im in good company :P
13:57:54 <bwolfe> or at least company ;-)
13:59:13 <downeym> pstn >> skype
14:00:15 <asgoyal> bwolfe: how do i run mvn install with -DskipTests=true ?
14:00:21 <asgoyal> in eclipse
14:00:39 <bwolfe> right click, mvn --> run --> run configurations --> check the skip tests box
14:00:45 <bwolfe> see the maven wiki page somewhere
14:00:48 <bwolfe> !maven
14:00:48 <OpenMRSBot> bwolfe: Error: "maven" is not a valid command.
14:00:50 <asgoyal> ok
14:00:50 <bwolfe> !mvn
14:00:50 <OpenMRSBot> bwolfe: Error: "mvn" is not a valid command.
14:00:54 <bwolfe> grr
14:00:59 <asgoyal> haha i got it :)
14:01:06 <bwolfe> !learn maven as http://wiki.openmrs.org/display/docs/Maven
14:01:06 <OpenMRSBot> bwolfe: The operation succeeded.
14:01:07 <bwolfe> !maven
14:01:07 <OpenMRSBot> bwolfe: "maven" --- http://wiki.openmrs.org/display/docs/Maven
14:01:10 <bwolfe> done
14:01:31 <asgoyal> hahaha
14:01:46 <asgoyal> also i m facing one more problem in eclipse
14:02:02 <asgoyal> i dont have Help --> Software updates option in my eclipse
14:02:13 <asgoyal> i wanted to get a plugin for unit testing
14:03:24 <magoo> can i create my own identifier cause when i use the identifier for 100-82 to create a patient i get this Identifier 100-82 is not appropriate for validation scheme Luhn CheckDigit Validator
14:04:54 <bwolfe> quick scrum time? djazayeri wyclif dkayiwa rafa_ asgoyal
14:04:58 <dkayiwa> magoo: yes you can. you could also select the Old OpenMRS Identifier
14:05:03 <djazayeri> yup
14:05:11 <wyclif> hello
14:05:18 <rafa_> hi
14:05:23 *** rafa_ is now known as rafa
14:05:25 <djazayeri> next week we should try to scrum on a google+ hangout. :-)
14:05:34 *** pascal` has joined #openmrs
14:05:36 <bwolfe> ha
14:05:50 <asgoyal> ok
14:05:51 <djazayeri> curious about how it handles low bandwidth.
14:06:07 <bwolfe> djazayeri, well, thats up to you. but my internet didn't support video and talking. I assume dkayiwa will be in the same boat
14:06:19 <dkayiwa> lollll
14:06:27 <bwolfe> "badly" is the answer to that curiosity djazayeri
14:06:39 <djazayeri> aw, that's too bad
14:07:03 <bwolfe> (and it looks like I have 162 kbit/sec right now)
14:07:12 <bwolfe> so my internet isn't even that "bad"
14:07:23 <bwolfe> ok, djazayeri, you want to go first?
14:08:09 <djazayeri> sure, typing
14:08:49 <bwolfe> :-)
14:09:18 <bwolfe> asgoyal / wyclif / dkayiwa / rafa : type up your comment in a sep window and paste in when you're up
14:09:38 <wyclif> am ready
14:10:21 <djazayeri> Yesterday & the day before:
14:10:21 <djazayeri> * Merged trunk to the providers branch
14:10:21 <djazayeri> * code review
14:10:22 <djazayeri> * UI sprint prep
14:10:22 <djazayeri> * helped at a code jam at Thoughtworks in Seattle
14:10:22 <djazayeri> * reviewed metadata sharing, found and helped investigate a bug
14:10:22 <djazayeri> * updated HTML Form Entry module to use annotated controllers (for 2.x)
14:10:23 <djazayeri> Today:
14:10:24 <djazayeri> * continue with UI sprint prep
14:10:24 <djazayeri> * design call
14:11:06 <djazayeri> no blockers
14:11:19 <bwolfe> ok
14:11:26 <bwolfe> wyclif?
14:11:35 <wyclif> Yesterday: worked on TRUNK-2097, TRUNK-2231, TRUNK-1638, TRUNK-2443, did some redimentary testing on the 1.8.1-SNAPSHOT branch
14:11:43 <wyclif> Today: Releasing 1.8.1 is my priority before doing anything else
14:12:22 <wyclif> am basically done with cleaning out the 1.8 tickets for now
14:12:42 <bwolfe> wyclif, theres one left with comments. comments were mostly rudimentary though
14:12:54 <wyclif> i just need to commit the changes after the review comments for the person attributes
14:13:39 <bwolfe> right, perfect
14:13:54 <wyclif> question
14:13:59 <bwolfe> answer
14:14:03 <wyclif> he he he
14:14:18 <wyclif> well, restws module will a bundled module for 1.8.2?
14:14:35 <wyclif> sorry! will be
14:15:46 <bwolfe> no, probably not. but we'll see
14:15:55 <bwolfe> depends when 1.8.2 is I guess
14:17:07 <djazayeri> Yeah, depends.
14:17:14 <djazayeri> Right now we're calling it "alpha"
14:17:37 <wyclif> ok
14:18:35 <bwolfe> ok, asgoyal?
14:19:36 <asgoyal> Yesterday: worked on Trunk 2193, read tutorials, fixing Trunk 235... Today: fixing Trunk 235, got a blocker, will work on Trunk 2193
14:19:43 <bwolfe> blocker is?
14:20:28 <asgoyal> i made some changes to the Trunk 235 ticket ... now when i do mvn jetty:run the page gives me an error
14:20:49 <djazayeri> and the error is?
14:20:57 <asgoyal> cannot load initial setup
14:21:06 <asgoyal> and gives a big list of files
14:21:17 <bwolfe> heh
14:21:21 <bwolfe> probably a spring error
14:21:31 <asgoyal> ...
14:21:35 <bwolfe> pastebin that somewhere and we can tell you the error pretty quickly
14:21:42 <asgoyal> ok
14:21:56 <bwolfe> its usually at the very end of the line (all the way to the right) of the first stacktrace / section of erros
14:22:48 <asgoyal> pastebin under heavy load
14:22:51 <bwolfe> heh
14:22:55 <bwolfe> there are alternatives
14:23:10 <bwolfe> (I don't know the urls off the top of my head though, google 'em)
14:23:24 <bwolfe> ok, meantime we'll skip to rafa, ankur, jump back in when you have that pasted
14:23:31 <asgoyal> ok
14:23:39 <rafa> Today: am working on tedious RESTWS-153 (will commit in a minute) Tomorrow: will need a new ticket (actually Ben please assign me one today), will attend devs call. No blockers.
14:24:10 <bwolfe> rafa, ok, I'll look for a ticket tonight for you.
14:24:45 <rafa> (where is a default date formatting in ws?)
14:25:33 <bwolfe> ConversionUtil?
14:25:42 <djazayeri> I think that's where it is.
14:26:00 <rafa> correct, thanks
14:26:25 <bwolfe> ok, dkayiwa?
14:26:31 <dkayiwa> mail, lots of irc, design call, worked on webservice module scanning classpath for web service resources instead of just one folder, installing reportingws/idgenws modules to see if their resources get listed under the web services help page. Just finished dealing with the maven issues for the idgenws module. Now testing. DONE
14:27:33 <bwolfe> ok. do you have a plan for after that? theres the one help.jsp ticket. others?
14:27:43 <bwolfe> or do I need to find tickets to assign to you tonight too?
14:27:47 <dkayiwa> no plan
14:27:55 <dkayiwa> u need to assign me tickets
14:28:46 <bwolfe> ok. for now you have the help.jsp follow up from me. will look for more
14:28:53 <dkayiwa> ok
14:29:32 <bwolfe> (dkayiwa, did you see maven shell script I put in idgenws?)
14:29:52 <dkayiwa> yes its the one which finally helped me see what i needed to do
14:30:03 <dkayiwa> just that my mac did not have wget
14:30:07 <bwolfe> ah yes
14:30:10 <dkayiwa> had to use curl -O
14:30:10 <bwolfe> mac--
14:30:16 <bwolfe> apple--
14:30:18 <bwolfe> osx--
14:30:20 <dkayiwa> lolllllllll
14:30:26 <bwolfe> linux++
14:30:27 <bwolfe> :-D
14:30:30 <bwolfe> bsd--
14:30:35 <dkayiwa> d:)
14:30:44 <bwolfe> my update: did reviews on ws and trunk tickets. cleaned up a bit of documentation, answered a few forum posts. design review call. will be on call for next 4 hours now along with finding tickets for dkayiwa/rafa/wyclif assuming ws finishes early this week...
14:30:47 *** magoo has quit IRC
14:30:54 <downeym> ftp ftp://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
14:31:08 <bwolfe> downeym, why don't you just wget that? oh wait...
14:31:24 <downeym> recursion--
14:31:28 *** mandric has joined #openmrs
14:31:57 <djazayeri> I see 10 still-open tickets in the sprint
14:32:01 <djazayeri> 5 "in progress"
14:32:11 <bwolfe> sprint 5 ?
14:32:26 <djazayeri> sprint #2
14:32:35 <djazayeri> 5 tickets are "in progress"
14:32:57 <djazayeri> so, as long as everyone finishes their tickets quickly, we might even be able to release the module _early_
14:32:59 <djazayeri> :-)
14:33:03 <djazayeri> here's to hoping
14:33:06 <bwolfe> right, thats the hope
14:33:20 <bwolfe> mine will probably be the hold up. ;-)
14:33:30 *** pascal` has quit IRC
14:33:49 <bwolfe> darius, if you have any api ideas, let me know. I'm out of things to add there. I attribute it to being too close to the code...which you are even more so
14:34:06 <bwolfe> but if you think of anything, just add a heading and a TODO and I can fill it in. (or you can fill it in if you're bored)
14:34:08 <djazayeri> do we need api ideas?
14:34:34 <djazayeri> If we're done with the existing tickets, then we should move on and do bug fixes with our extra time.
14:34:41 <djazayeri> No need to add new features.
14:34:49 <dkayiwa> bwolfe: among TODO: ws versioning
14:34:58 <dkayiwa> where the url may include version number
14:35:19 *** magoo has joined #openmrs
14:36:06 *** mandric has quit IRC
14:36:14 <asgoyal> bwolfe: http://pastebin.com/eKbuG8bk
14:36:48 *** magoo_ has joined #openmrs
14:36:49 <bwolfe> dkayiwa, I don't feel its necessary at this point. we can use the "no version included" url to indicate "latest".
14:37:04 <downeym> Hi magoo_ and welcome to the #openmrs IRC channel.
14:37:12 <dkayiwa> bwolfe: yes for now thats ok
14:37:22 <dkayiwa> since we have one version anyway
14:37:25 <bwolfe> djazayeri, what are your thoughts on adding versioning similar to atlassian? /ws/rest/v1/patient/uuid vs /ws/rest/latest/patient/uuid
14:38:01 <dkayiwa> bwolfe: the latest version url may always not include version number. but older ones???
14:38:31 <bwolfe> dkayiwa, not following you
14:38:48 <asgoyal> djazayeri: its happening even when i svn checkout new trunk ...
14:39:12 <dkayiwa> bwolfe: supposing we had two versions (1.0 & 1.2) how would the two urls be?
14:39:37 <dkayiwa> if the user want to refer to a resource in the older version (1.0)
14:39:41 <dkayiwa> bwolfe
14:39:47 <djazayeri> asgoyal: note this: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from resource org/openmrs/api/db/hibernate/DrugIngredient.hbm.xml
14:39:55 <djazayeri> presumably you have amistake in that mapping file
14:40:15 <asgoyal> oh but... i just checkout a new trunk
14:40:19 <bwolfe> dkayiwa, hmm
14:40:21 <asgoyal> its happening wiht that too
14:40:23 <djazayeri> Did you apply a patch?
14:40:26 <asgoyal> no
14:40:35 <bwolfe> dkayiwa, so you say we have to add in v1 now...
14:40:43 <djazayeri> asgoyal: The pastebin you sent _does_ have your patch applied, right?
14:40:52 <asgoyal> oh but that is
14:41:05 <asgoyal> for like i was trying to one of the previous trunk folders
14:41:07 <dkayiwa> bwolfe: we could have a convention where the latest version does not have the version number
14:41:20 <asgoyal> but now i m doing jetty:run for a newly checkout trunk
14:41:30 <dkayiwa> bwolfe: but where older versions should have the version number
14:42:19 <dkayiwa> bwolfe: although having version numbers in all looks more consistent and explicit
14:42:40 *** jriley has left #openmrs
14:42:43 <bwolfe> dkayiwa, yeah, only problem if we don't put in v1 now will be if you want your app to connect to EITHER a post-1.0 or a 1.0 released url
14:43:30 <dkayiwa> bwolfe: yes
14:43:56 *** magoo has quit IRC
14:44:01 <bwolfe> dkayiwa, would be as simple as adding /v1/ to the beginning of all controllers...
14:44:21 <dkayiwa> bwolfe: that makes life much easier
14:44:36 <djazayeri> sorry, what are you talking about?
14:45:08 <dkayiwa> bwolfe: /ws/rest/v1/... ???
14:45:19 <asgoyal> like i did svn checkout to get a fresh copy of trunk folder from repository
14:45:24 *** magoo_ has quit IRC
14:45:29 <asgoyal> and did mvn jetty:run on that
14:45:33 <asgoyal> it shows the same page
14:45:45 <djazayeri> asgoyal: pastebin the stack trace
14:46:25 <bwolfe> asgoyal, I did an svn update on my local copy of trunk and it builds+deploys fine
14:46:31 <asgoyal> djazayeri: never mind.. it works now... (ugh.. what went wrong..)
14:46:39 <asgoyal> it works now..
14:50:23 <bwolfe> djazayeri, versioning comments? my vote is to throw it in there really quickly.
14:50:35 <djazayeri> as a package?
14:50:52 <djazayeri> i.e. this will be ws/rest/v1/patient?
14:51:04 <dkayiwa> yes
14:51:08 <djazayeri> I guess.
14:51:19 <djazayeri> Can we see how Amazon, Atlassian, etc have done this?
14:51:45 <bwolfe> thats how atlassian does it. /v1/ or /v2/ or /latest/
14:51:54 <dkayiwa> yes
14:52:16 <dkayiwa> although i do not like latest :)
14:52:31 <djazayeri> I'm in favor of adding /v1
14:52:49 <dkayiwa> for that would mean a client binding to stuff that could break because of change he is not explicitly aware of
14:53:09 <djazayeri> I also agree about _not_ supporting /latest/ for now
14:53:09 <dkayiwa> latest=moving versions
14:53:26 *** gbastien has joined #openmrs
14:53:30 <djazayeri> Though...
14:54:07 <djazayeri> Does this mean that when we release 1.0 of the ws-rest module, we can no longer add new methods to the ws API without creating a new /v2/ version?
14:54:27 <djazayeri> Seems annoying...
14:54:40 <dkayiwa> i think new methods can go to the old version
14:54:53 <dkayiwa> as long as existing clients do not get breaking changes
14:55:03 <djazayeri> Anyway, not having thought this through much, I'm fine adding /v1/
14:55:14 <djazayeri> it gives us a way to handle things in the future
14:55:17 <djazayeri> things = changes
14:58:14 <bwolfe> djazayeri, yeah, not sure what the process would be for changing that
14:58:21 <bwolfe> it would be annoying to do that, I agree
14:58:28 <bwolfe> but do we change just some to v2?
14:59:42 <dkayiwa> we would change all
14:59:48 <dkayiwa> i think
15:00:03 <bwolfe> spring lets us add "alternate" urls to classes, so we'd just have to add that annotation if we're not changing anything that is not backwards compatible
15:00:45 <bwolfe> dkayiwa, can you create a ticket to add the versioning in there and another one to discuss our change procedures?
15:00:54 <dkayiwa> ok
15:02:16 *** magoo has joined #openmrs
15:03:26 *** r-friedman has quit IRC
15:03:50 <magoo> dkayiwa am a bit confused about the system ID and the username? if i have my local window accounts can i use them to log into openmrs without crating new acounts
15:04:13 <dkayiwa> magoo: they are different
15:04:27 <dkayiwa> so you cant use your windows account to log into openmrs
15:04:41 <bwolfe> dinner time for me. see you guys later tonight
15:04:48 <dkayiwa> see ya
15:07:15 <magoo> im trying to create a new user below demographic info there is login info and the following wording (System Id will be generated after saving) do i need to enter information there or i leave it blank
15:11:55 <dkayiwa> leave it blank
15:13:32 <magoo> what role to asign
15:14:01 *** surangak_ has quit IRC
15:14:10 *** surangak has quit IRC
15:14:51 <dkayiwa> https://wiki.openmrs.org/display/docs/User+Guide
15:14:56 <OpenMRSBot> <http://ln-s.net/8zUu> (at wiki.openmrs.org)
15:18:58 <wyclif> djazayeri, bwolfe see my last comment for https://tickets.openmrs.org/browse/TRUNK-2443
15:19:39 <wyclif> i get a feeling this might cause delays given that it appears like something that needs a couple of views
15:21:38 <wyclif> the quick solution would be to delete the row when changed to a blank value otherwise voiding it would require hings like caching all the original person attributes and reset the value before voiding it
15:22:24 <wyclif> if you are all ok with adding this logic at this point, am ok with it then
15:23:07 *** magoo has quit IRC
15:23:21 <djazayeri> wyclif: I agree that void-and-create-new on change is not necessary to add now
15:24:00 *** kishoreyekkanti has joined #openmrs
15:24:08 <djazayeri> I would really prefer that if there was an old value, and I change it to null or "" on the webpage, then that gets voided.
15:24:11 <djazayeri> Is that feasible?
15:25:05 *** jwishnie has joined #openmrs
15:25:25 *** pascal` has joined #openmrs
15:30:02 *** wanswins has joined #openmrs
15:30:16 <downeym> Hi wanswins and welcome to the #openmrs IRC channel.
15:30:30 <wyclif> djazayeri, but i need to get the old value and set it back, so are you fine with adding logic for caching attributes too just like i did for personName and address? i know for this i might have to cache a map of attribute type id and value
15:30:53 <wyclif> and not the entire object
15:31:05 *** downeym_ has joined #openmrs
15:31:05 *** ChanServ sets mode: +o downeym_
15:31:38 *** rafa has quit IRC
15:34:46 *** downeym has quit IRC
15:34:46 *** downeym_ is now known as downeym
15:46:10 <wanswins> anyone with this problem at instalation? "Waiting for changelog lock...."
15:46:19 <wanswins> first, thanks all
15:47:57 <dkayiwa> https://wiki.openmrs.org/display/docs/Troubleshooting+OpenMRS
15:47:58 <OpenMRSBot> <http://ln-s.net/8c4X> (at wiki.openmrs.org)
15:48:42 <dkayiwa> that link is for you wanswins :)
15:53:34 <djazayeri> wyclif: sorry, was on a call
15:53:37 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: i2b2 Export 1.0.9 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=i2b2export&ampversion=&amp1.0.9>
15:53:51 <wyclif> ok
15:54:04 <djazayeri> It's annoying to have to do that caching
15:54:24 <djazayeri> what's the current behavior if I take an existing text attribute and change its value to ""?
15:54:25 <wyclif> i know, this is something that has to be done in the API
15:54:42 <wyclif> just sets the value to "" and persists that
15:55:09 <djazayeri> but leaves it non-voided?
15:55:16 <wyclif> yes\
15:55:40 <wyclif> but i dont think just voiding with a blank value is good, we rather get rid of the row
15:56:02 <wyclif> atleast if we maintained the value, voiding would make sense
15:56:02 <djazayeri> any idea how it worked in 1.6/1.7?
15:56:14 <wyclif> just a second
15:56:31 <wyclif> probably Ben know
15:56:39 <wyclif> let me try it out on the long form
15:56:56 <wyclif> because the behaviour on it hasn't been changed lately
15:57:23 <djazayeri> if you're not changing the behavior, (i.e. you're leaving existing bugs as-is, I'm fine with that)
15:57:54 <djazayeri> if you're introducing new buggy behavior that's bad
15:58:13 <djazayeri> if you're changing the behavior of an existing bug to something that's still a bug, that's questionable.
16:02:40 <wyclif> djazayeri, on the long form, it voids it and sets the text value as 'New Value:'+""
16:03:54 <wyclif> so you loose the old value
16:03:57 <djazayeri> wyclif: as long as we're going to have non-ideal behavior like that, at least let's make it consistent. :-)
16:04:13 <wyclif> am going to maintain this behaviour on the short form
16:04:17 <djazayeri> so, if that's what the long form is doing, it'd be easy to make the short form do the same thing, right?
16:04:20 <wyclif> and create a ticket for fixing this behaviour in a major version
16:04:26 <djazayeri> yes, agreed.
16:04:28 <wyclif> ok
16:04:31 <wyclif> thanks
16:10:25 *** asgoyal has quit IRC
16:15:07 <wanswins> thanks dkayiwa
16:16:09 <dkayiwa> did it work for u?
16:17:05 <wanswins> i've dropped the table
16:17:21 <wanswins> if the problem arises again, I will tell you
16:17:27 <dkayiwa> ok
16:17:38 <wanswins> not.. i've dropped the database
16:17:58 <wanswins> so i'm trying again..
16:18:08 <wanswins> i've not saw your link in time... ;-)
16:18:41 <dkayiwa> :)
16:18:52 *** mandric has joined #openmrs
16:25:32 <wanswins> OpenMRS run at Tomcat 7?
16:26:28 <dkayiwa> wanswins: we have mostly tested in 6 and below.
16:26:42 <dkayiwa> you can try it out and report what you get
16:27:57 *** asgoyal has joined #openmrs
16:28:36 <asgoyal> djazayeri: finished with the modifications to trunk235
16:29:06 <asgoyal> djazayeri: sorry for this delay.. i was facing some problems which i resolved now... i have put up for code review
16:29:45 <asgoyal> going for lunch now
16:40:27 *** gauravpaliwal has joined #openmrs
16:40:27 *** ChanServ sets mode: +v gauravpaliwal
16:57:57 *** gauravpaliwal has left #openmrs
16:58:23 *** gbastien has quit IRC
16:58:53 *** gauravpaliwal has joined #openmrs
16:58:53 *** ChanServ sets mode: +v gauravpaliwal
16:59:02 *** gauravpaliwal has left #openmrs
17:03:38 <dkayiwa> hi wyclif
17:04:32 <dkayiwa> is any one able to run the web service module tests after an svn update?
17:04:40 <dkayiwa> am getting this:
17:04:41 <dkayiwa> Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'xmlMarshallingHttpMessageConverter' is defined
17:06:24 *** lh has joined #openmrs
17:10:19 *** sunbiz has joined #openmrs
17:10:28 *** ChanServ sets mode: +v sunbiz
17:11:11 <dkayiwa> sunbiz: any ideas on how to address a user who may say want to fetch a particular patient resource of an older version
17:11:28 <dkayiwa> say we are on version 1.2 and one wants the one for 1.0
17:12:33 <sunbiz> dkayiwa: If we add v1 to the URL then it is like versioning of the API
17:12:33 <dkayiwa> sunbiz, we were thinking that the difference would be in url
17:12:44 <dkayiwa> yes
17:13:19 <sunbiz> rather than versioning of the resources
17:13:39 <dkayiwa> so how would you do it
17:13:55 <sunbiz> like a property on the resource
17:13:57 <djazayeri> dkayiwa: it will be problematic if we want to have a different default representation on v2 than in v1
17:13:58 *** kishoreyekkanti has quit IRC
17:14:09 <djazayeri> we'd need to add code to handle that case, if we ever want to support it.
17:14:19 <djazayeri> (I hope we can avoid that.)
17:14:34 <djazayeri> (but we probably can't)
17:15:00 <dkayiwa> ok
17:15:29 <sunbiz> djazayeri: we can always have the version as a property of the resource
17:15:35 <dkayiwa> sunbiz, the versioning am talking of is different from what rogers was talking about
17:16:04 <djazayeri> dkayiwa: sunbiz is talking about a 3rd thing
17:16:13 <dkayiwa> oh
17:16:27 <djazayeri> 1. (roger's) have a version for each resource instance
17:16:29 <sunbiz> dkayiwa: if we want to change the way the API behaves... the whole API in a lot of things then v1 to the URL is fine
17:16:51 <djazayeri> 2. (/v1/ solves this) adding/removing/changing _methods_ across versions
17:17:04 <djazayeri> 3. (unclear) changing default/full representations across versions
17:17:10 <dkayiwa> ok
17:19:21 <sunbiz> djazayeri: on 1. isn't this through a version property in every resource??
17:20:03 <djazayeri> sunbiz: it would be but we don't actually have that represented in the data model
17:20:15 <djazayeri> i.e. if I modify an encounter and re-save it, we don't have a "version" field
17:21:17 <sunbiz> djazayeri: ok... now I understand it more clearly
17:21:50 <sunbiz> I was thinking if its v1 of the metadata or v2 kind of thing
17:22:49 <djazayeri> actually...
17:23:25 <wyclif> dkayiwa, hi
17:23:26 <djazayeri> dkayiwa: it seems like we should do one refactoring such that the getRepresentationDescription method also takes the RequestContext.
17:23:38 <dkayiwa> ok
17:23:39 <wyclif> dkayiwa, sorry! i had gone for lunch
17:23:56 <dkayiwa> wyclif: ok well come back from white castle. :)
17:24:05 <djazayeri> it doesn't need to use it for now, but eventually we might want to support the default rep being different in v1 and v2, and it seems like RequestContext is the right place to store that
17:24:05 *** gbastien has joined #openmrs
17:24:15 <wyclif> no white cactle
17:24:25 <dkayiwa> :D wyclif
17:24:26 <wyclif> breakroom
17:24:30 <dkayiwa> ok
17:28:11 *** rafa has joined #openmrs
17:28:11 *** ChanServ sets mode: +v rafa
17:28:23 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: @nearyd So far we aren't aware of anyone that will be there, although we'll be at @OSCON in the US this month! <http://twitter.com/OpenMRS/statuses/91189635274899457> || On Twitter: OpenMRS: Any #OpenMRS Europe people going to this event? RT @nearyd: I'd like to talk to you about the humanitarian FLOSS track at Open World Forum. <http://twitter.com/OpenMRS/statuses/91189495323566080> || New Changeset: OpenMRS (providers): Trunk-2257: Fixed the review comments <http://feedproxy.google.com/~r/OMRStrunk/~3/ZSDGaj5y_MQ/OpenMRS>
17:31:04 <dkayiwa> wyclif: are you able to run the web service module unit tests successfuly after an svn update?
17:31:34 <wyclif> i haven't worked on webservices this week
17:31:40 <dkayiwa> ok
17:31:48 <wyclif> dkayiwa, i will try late
17:31:52 <wyclif> dkayiwa, i will try later
17:31:55 <dkayiwa> ok
17:32:34 *** muthah has joined #openmrs
17:34:15 <dkayiwa> wyclif: are you the one who addded xmlMarshallingHttpMessageConverter
17:34:34 <wyclif> dkayiwa, yes
17:34:51 <downeym> jira will BRB
17:34:54 <wyclif> you need to do an svn update on trunk
17:35:02 <dkayiwa> ok
17:35:13 <djazayeri> JIRA I miss you already
17:35:40 *** mandric has quit IRC
17:35:58 <wyclif> dkayiwa, it is added in trunk and the restws reference that bean from core
17:36:05 <dkayiwa> ok
17:36:35 <djazayeri> perhaps you need to do a mvn package on trunk or 1.8.x (after doing svn update) and then (if necessary) update snapshots?
17:36:50 <dkayiwa> ok
17:37:04 <wyclif> djazayeri, have you looked at the returned xml?
17:37:23 <djazayeri> no, can you pastebin/email me some?
17:39:27 <djazayeri> wyclif: ^^
17:39:45 <wyclif> djazayeri, yes
17:39:52 <wyclif> just asec
17:44:03 *** goutham has joined #openmrs
17:47:16 <wyclif> djazayeri, http://pastebin.com/92MT6jfr
17:48:35 <djazayeri> wyclif: I assume you're showing me this so that I say yuck?
17:48:36 <djazayeri> :-)
17:48:47 <djazayeri> We're using xstream, right?
17:48:50 <wyclif> djazayeri, yes
17:49:13 <djazayeri> I think we need to register a custom handler for SimpleObject so it just serializes the map entries.
17:49:18 <djazayeri> as if they were properties.
17:50:01 <wyclif> i get what you mean
17:50:17 <djazayeri> I.e. that should look something like <object><uuid>the-uuid-goes-here</uuid>...</object>
17:50:50 <wyclif> my assumption is that if the client is using xstream, it should probably figure it out otherwise am not sure
17:52:50 <wyclif> i think we add a custom handler for how we want the xml to look
17:52:55 <djazayeri> that's not the assumption we want to make
17:53:02 <djazayeri> yes, exactly, we add a custom handler
17:53:27 <djazayeri> so presumably we need a way for the restws module to add a handler to that xstream converter.
17:53:41 <djazayeri> is that straightforward given that the bean definition is in core?
17:54:22 *** mandric has joined #openmrs
17:56:29 *** cta has joined #openmrs
17:56:38 <cta> hello
17:59:54 <wyclif> djazayeri, i dont think it would easy to override it from the module config
18:00:02 <wyclif> djazayeri, i dont think it would be easy to override it from the module config
18:00:24 <djazayeri> not override.
18:01:10 <djazayeri> somehow add a converter to the XStream instance
18:03:26 <djazayeri> wyclif: ^^
18:04:49 <wyclif> djazayeri, do you mean programatically in the code or still from the xml file
18:04:59 <djazayeri> I don't really care from where
18:05:03 <djazayeri> presumably a combination
18:05:35 <djazayeri> i.e. in the module's xml file we set a (static) property on a bean, which actually registers the converter via code
18:05:41 <djazayeri> (but that code would be in core)
18:06:02 <wyclif> can a module get a bean from the application context? if yes, then we can set it in the module when it starts
18:07:10 <djazayeri> You can do "@Autowired ApplicationContext" in a module's bean, yes
18:07:41 *** james_regen has quit IRC
18:08:02 <djazayeri> we'd want to make sure we're not duplicating though
18:09:07 <wyclif> but we wouldn't want the module to change this for the entire application, i.e if it wants to customize the xml this should be ignored in else where in the app if someone is sending out xml
18:09:27 <djazayeri> but it's adding a converter for a module class.
18:09:34 <djazayeri> so it's fine if it's global
18:11:21 <asgoyal> djazayeri: what does this error indicate: Could not parse mapping document from resource org/openmrs/api/db/hibernate/DrugIngredient.hbm.xml
18:11:35 <djazayeri> it indicates there's something wrong in that hbm.xml file. :-)
18:11:35 *** yanokwa has quit IRC
18:11:38 <asgoyal> it comes when i do jetty:run and open the browser
18:11:41 <asgoyal> lolies
18:11:44 <asgoyal> i know that
18:11:45 <djazayeri> do your unit tests work?
18:11:55 <wyclif> Ankur you need an IDE, you would easily see that
18:11:58 <asgoyal> no i have a problem in eclipse lie
18:12:04 <asgoyal> i know i will use it this time
18:12:09 <asgoyal> like in eclipse
18:12:17 <asgoyal> i was following the wiki u gave me
18:12:27 <asgoyal> but there is no Help --> software updates in my eclipse
18:12:36 <asgoyal> so how do i get that plugin
18:12:38 <wyclif> IDE can help you validate your xml file against the DTD or schema
18:13:01 <wyclif> that way you see such problems before running the app
18:13:02 *** wanswins has quit IRC
18:13:25 <asgoyal> yea i learnt my lesson this time
18:13:36 <djazayeri> You can run unit tests without eclipse
18:13:43 <wyclif> djazayeri, i will look at this when am done with 1.8.1 release, i believe it is doable
18:13:46 <djazayeri> "mvn package" will run them
18:13:52 <asgoyal> oh ok
18:14:05 <asgoyal> so i dont need that plugin?
18:14:09 <djazayeri> wyclif: I think we should verify that it's going to work before the 1.8.1 release, no?
18:14:26 <wyclif> djazayeri, right
18:14:31 <djazayeri> asgoyal: the plugin helps you create unit tests
18:14:40 <djazayeri> but you can run then without the plugin
18:14:47 <asgoyal> oh ok
18:14:55 <wyclif> djazayeri, let me look at it
18:14:57 <djazayeri> wyclif: although I suppose if xml doesn't work until 1.8.2 or 1.9, that's not a big deal
18:15:11 <asgoyal> but i dont understand why i dont have Help --> software updates option in my eclipse
18:15:34 <wyclif> can't we let it out the way it is currently generated
18:15:42 <bwolfe> asgoyal, diff version?
18:15:45 <wyclif> and them customize it later
18:15:53 <asgoyal> oh... lemme see
18:15:55 <djazayeri> wyclif: for alpha, yes
18:16:14 <djazayeri> wyclif: just do a very quick spike to make sure that if you instantiate a bean in the module, give it an @Autowired ApplicationContext, and fetch the appropriate bean and add a converter
18:16:15 <asgoyal> bwolfe: Eclipse Java EE IDE for Web Developers.
18:16:15 <asgoyal> Version: Helios Service Release 2
18:16:15 <asgoyal> Build id: 20110218-0911
18:16:25 <wyclif> ok
18:16:31 <djazayeri> just to see if that can be done. If so, we trust it can be.
18:16:38 <djazayeri> (if not, fine to release 1.8.1 anyway, really.)(
18:16:49 <djazayeri> asgoyal: seems like it's now "install new software"
18:16:52 <wyclif> djazayeri, ok
18:16:58 <asgoyal> yea i tried that too
18:17:14 <asgoyal> but it says invalid site so wudn't install or even detect it
18:17:22 <djazayeri> okay, well, deal with that later.
18:17:29 <asgoyal> oki
18:17:33 <djazayeri> For now, it is imperative that you start using a proper IDE.
18:17:45 <djazayeri> eclipse, intellij, or netbeans
18:18:13 <djazayeri> if eclipse, go to ConceptServiceTest and just Run As -> JUnit test
18:18:31 <djazayeri> you should find that all the tests in it fail, with the same error message about the hbm.xml
18:18:48 <djazayeri> (but this will happen much faster than rebuilding and deploying the app with jetty:run)
18:19:17 <djazayeri> then you can temporarily take out fragments of the hbm.xml file until you've determined which part is breaking it, and fix that.
18:21:40 <dkayiwa> djazayeri: do you have any ideas about the fastest way an openmrs module can implement digest authentication?
18:22:19 <asgoyal> ok
18:22:51 <asgoyal> djazayeri: so i dont bother about the run time error that i m getting when i open my browser?
18:25:12 <bwolfe> dkayiwa, look at the restmodule. it uses basic auth though I think
18:25:35 <dkayiwa> bwolfe: thanks. i thought you are still having dinner :)
18:26:44 <dkayiwa> bwolfe: the reason am asking is because odk uses digest authentication and they want to connect to openmrs
18:28:52 *** wanswins has joined #openmrs
18:29:09 <bwolfe> right
18:29:23 <bwolfe> dkayiwa, should easy. :-p
18:29:30 <bwolfe> *should be easy
18:29:34 <dkayiwa> oh :)
18:31:43 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Read about easy testing & bug reporting using @Atlassian Bonfire at http://bit.ly/ofTcDI - then try it out today with #OpenMRS JIRA! <http://twitter.com/OpenMRS/statuses/91204550098296832>
18:34:15 *** mandric has quit IRC
18:52:55 *** asgoyal has quit IRC
18:54:11 *** yanokwa has joined #openmrs
18:54:11 *** ChanServ sets mode: +v yanokwa
18:57:51 * downeym passes yanokwa a ginger ale
18:59:22 * bwolfe hates ginger ale
18:59:32 <bwolfe> but now I want to try it next time I fly...
18:59:46 <downeym> I got hooked on this in cameroon: http://www.21food.com/products/ginger-candy-162611.html
18:59:55 <OpenMRSBot> <http://ln-s.net/8zWh> (at www.21food.com)
19:02:37 *** mandric has joined #openmrs
19:04:31 *** lh has quit IRC
19:04:32 *** lh_ has joined #openmrs
19:04:32 *** lh_ is now known as lh
19:04:41 *** lh has joined #openmrs
19:05:07 <downeym> lh: welcome back. :)
19:06:54 *** lh has quit IRC
19:07:53 <bwolfe> ha
19:10:16 <wyclif> djazayeri, yes i have tested we can set the the converters
19:10:29 <wyclif> but i thought we wanted to set the aliases
19:10:37 <wyclif> which we can actually too
19:10:48 <djazayeri> perfect. so feel free to proceed with 1.8.1 without worrying about this any furhter
19:11:20 *** lh has joined #openmrs
19:18:12 *** muthah has quit IRC
19:26:24 <yanokwa> thanks downeym
19:27:08 *** mandric has quit IRC
19:37:50 <bwolfe> yanokwa, when are you flying back here to kenya?
19:38:15 <yanokwa> mid augustish.
19:38:34 <bwolfe> no tickets yet?
19:40:33 <yanokwa> nope
19:42:20 <yanokwa> i've already got calls for people putting stuff in my luggage...trying to travel light this time. no 5lb diapers...
19:43:24 <bwolfe> no from me at least...
19:43:32 <bwolfe> think I could ship some phones to you though? :-)
19:43:36 <dkayiwa> :)
19:43:56 <yanokwa> bwolfe: whats in it for me?
19:44:23 <bwolfe> I have two hd2s to sell to you that are here already...
19:44:52 <yanokwa> wait, so the benefit is i get the chance to buy the phones that i courier to you?
19:45:59 <downeym> who here is good with English?
19:46:14 <yanokwa> downeym: i speak it.
19:46:35 <downeym> wyclif & i need someone to revise these instructions
19:46:57 <wyclif> ok
19:47:01 <yanokwa> downeym: i have lots of english skills but no time..
19:47:03 <bwolfe> yanokwa, the two are here already. I won't necessarily ship any to you that you would buy... :-)
19:47:09 <bwolfe> downeym, no hablo ingles
19:47:20 <wyclif> send them to daniel, ben or darius
19:47:31 <downeym> 1. Stop the your previous version of OpenMRS Standalone and exit the program.
19:47:31 <downeym> 2. Download and extract OpenMRS Standalone 1.8.1.
19:47:31 <downeym> 3. Copy your "database" directory from the previous version to this new OpenMRS directory.
19:48:41 <bwolfe> "stop the your" ?!?
19:48:45 <bwolfe> you DO need help here...
19:48:48 <downeym> indeed
19:48:53 <downeym> i also left out step 4
19:49:21 <downeym> 4. Start OpenMRS Standalone by running the JAR file as in the previous version. OpenMRS will be running with your old data.
19:49:52 <bwolfe> don't you have to copy over the runtime props file too?
19:50:01 *** bryq1 has joined #openmrs
19:50:04 <downeym> wyclif said no :P
19:50:16 * bwolfe is skeptical
19:50:29 * downeym is permanently skeptical
19:50:31 *** bryq has quit IRC
19:50:50 <bwolfe> the runtime props file that comes with the standalone expects to be able to connect with a certain db username and passwod
19:51:00 <bwolfe> *pw
19:51:06 <downeym> yes
19:51:24 <bwolfe> and that user/pw is randomly generated at startup...
19:51:54 <downeym> connection.password=test
19:52:18 <bwolfe> until you start it...
19:53:14 <downeym> wyclif: don't forget to update the splash image version number
19:56:00 <downeym> bwolfe: if the entire db is copied over before starting up will it still reset the password?
19:56:57 <bwolfe> it might try to. theres a rp for whether it does that or not. I would assume it tries to connect to the db so that it cna do that with the root/test creds
19:57:23 * downeym stops wondering & tries
20:05:12 *** sunbiz has left #openmrs
20:09:28 *** goutham has quit IRC
20:10:57 *** bwolfe has quit IRC
20:13:00 <downeym> wyclif: Caused by: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)
20:13:40 <wyclif> what are you doing to do?
20:13:52 <wyclif> sorry! what are you trying to do?
20:14:09 <downeym> wyclif: starting up the "new" standalone after copying database directory
20:14:25 <downeym> as ben suggested the connection.password is invalid
20:15:38 <wyclif> you have to copy the runtime properties file from the old folder to the new one
20:16:16 <downeym> wyclif: have already sent you the readme
20:16:20 <downeym> can you add a step for it
20:16:50 <downeym> maybe between 3 and 4 ?
20:17:18 <wyclif> ok
20:17:22 <wyclif> thanks
20:18:14 <downeym> 4. Copy the file openmrs-standalone-runtime.properties from your old version into the new application's folder.
20:18:20 <downeym> don't forget to renumber the steps :P
20:32:57 <downeym> wyclif: i updated splashscreen-loading.png in rev:21577
20:33:33 <wyclif> is that in the standalone
20:33:56 <downeym> http://svn.openmrs.org/openmrs-contrib/standalone/trunk/splashscreen-loading.png
20:34:01 <OpenMRSBot> <http://ln-s.net/8zXh> (at svn.openmrs.org)
20:34:41 <wyclif> then i have to just need to replace the one in the old archive with this
20:35:15 <downeym> hang on, let me see what happened
20:41:51 *** wyclif has quit IRC
20:42:33 *** yanokwa has quit IRC
20:43:56 *** gbastien has quit IRC
20:46:29 *** wyclif has joined #openmrs
20:46:41 <downeym> wyclif: use the one in your e-mail
20:48:52 *** mandric has joined #openmrs
20:54:53 *** cta has quit IRC
21:01:03 *** goutham has joined #openmrs
21:14:36 *** mandric_ has joined #openmrs
21:15:13 *** mandric has quit IRC
21:15:13 *** mandric_ is now known as mandric
21:24:49 <djazayeri> dkayiwa: comment on RESTWS-167
21:25:01 <djazayeri> I mean: I commented on that. We've changed your marching orders on that one.
21:25:14 <djazayeri> (oh, I see, it's unassigned, never mind I thought you were working on it.)
21:28:45 *** bryq1 has quit IRC
21:29:40 *** downeym has quit IRC
21:31:41 *** djazayeri has quit IRC
21:37:47 <dkayiwa> ok
21:39:18 *** dkayiwa has quit IRC
21:39:38 *** djazayeri1 has joined #openmrs
21:41:21 *** djazayeri1 has quit IRC
21:41:45 *** djazayeri1 has joined #openmrs
21:43:40 *** gbastien has joined #openmrs
21:46:31 *** djazayeri1 has left #openmrs
21:46:36 *** djazayeri1 has joined #openmrs
21:47:35 *** djazayeri1 has left #openmrs
21:47:44 *** djazayeri1 has joined #openmrs
21:47:47 *** djazayeri1 has left #openmrs
21:47:58 *** djazayeri1 has joined #openmrs
21:48:06 *** gbastien has quit IRC
21:49:28 *** djazayeri1 is now known as djazayeri
21:49:42 *** ChanServ sets mode: +o djazayeri
22:00:56 *** mandric has quit IRC
22:16:00 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (improved-person-attribute-type): Improving Person Attribute Type: minor fixes on the patient pages <http://feedproxy.google.com/~r/OMRStrunk/~3/r-W3G6QUPs8/OpenMRS>
22:30:13 *** rafa has quit IRC
22:55:09 *** goutham has quit IRC
23:16:17 *** lh has quit IRC
23:16:47 *** lh has joined #openmrs
23:26:19 *** asgoyal has joined #openmrs
23:26:55 <asgoyal> djazayeri: i cant find the Run as --> junit test option when i right click on conceptservicetest.java
23:27:08 <asgoyal> do i have to change the configuration first or something?
23:27:22 <djazayeri> you're using eclipse now?
23:27:25 <asgoyal> yep
23:27:30 <djazayeri> and m2eclipse (for maven integration)?
23:27:34 <asgoyal> yep
23:27:43 <djazayeri> do you have just one project, or multiple?
23:27:56 <asgoyal> hm... multiple projects but i have closed others
23:28:19 <djazayeri> I mean the openmrs-trunk project…is that split into ~5 projects, including api, web, webapp, tools?
23:28:26 <asgoyal> yes
23:28:31 <asgoyal> i mean
23:28:39 <asgoyal> one folder has all the thoe things
23:28:41 <asgoyal> those*
23:28:50 <djazayeri> but there's just a single Eclipse project for them?
23:29:04 <asgoyal> yes
23:29:28 <djazayeri> do you know if you checked it out as "checkout project from SVN" or as "checkout maven project from SCM"?
23:29:42 <asgoyal> checkout as maven project
23:30:26 *** lh has quit IRC
23:31:47 <asgoyal> like i go to svn repository tab on my eclipse and right click on the trunk folder and then select to checkkout at maven project
23:32:11 <djazayeri> Okay, that's (unintuitively) not what you're supposed to do
23:32:27 <djazayeri> It may be possible to configure things from there, but I haven't tried it.
23:32:35 <djazayeri> The standard way is what's documented here: https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+In+Eclipse
23:32:36 <OpenMRSBot> <http://ln-s.net/8c8D> (at wiki.openmrs.org)
23:32:48 <djazayeri> File → New → Project → Checkout Maven Projects From SCM
23:33:12 <asgoyal> hm... ok
23:33:20 <asgoyal> that is how i used to do earlier
23:33:31 <djazayeri> I suspect the problem is that eclipse doesn't see things like /api/src/main/java as a "source folder"
23:33:49 <asgoyal> oh ok
23:35:53 *** lh has joined #openmrs
23:35:53 *** lh has joined #openmrs
23:42:07 *** gbastien has joined #openmrs
23:57:14 <asgoyal> djazayeri: still the same problem
23:57:34 <asgoyal> how to make the path you mentioned look like a source folder?