IRC Chat : 2011-12-18 - OpenMRS

04:01:17 *** bwolfe has joined #openmrs
04:01:17 *** ChanServ sets mode: +o bwolfe
04:28:24 <r_friedman> bwolfe: ben, you really there?
04:59:22 *** deepa has joined #openmrs
05:00:05 <deepa> some one please help me build the source code of open mrs
05:00:06 <deepa> [ERROR] error: error reading C:\Users\ABHISHEK\.m2\repository\org\liquibase\liquibase-core\2.0.1\liquibase-core-2.0.1.jar; cannot read zip file entry
05:00:41 <deepa> when i do run as maven build on the project folder
05:01:07 <deepa> i even tried clicking on pom.xml and running it
05:12:37 *** deepa has quit IRC
07:08:54 *** bwolfe_ has joined #openmrs
07:08:54 *** ChanServ sets mode: +o bwolfe_
07:12:33 *** bwolfe has quit IRC
07:16:03 *** r_friedman has quit IRC
07:48:56 *** dkayiwa has joined #openmrs
08:31:00 *** rafa has joined #openmrs
08:31:00 *** ChanServ sets mode: +v rafa
09:20:16 *** bwolfe__ has joined #openmrs
09:24:05 *** bwolfe_ has quit IRC
09:56:53 *** bwolfe__ has quit IRC
10:19:30 *** bryq has joined #openmrs
10:19:30 *** ChanServ sets mode: +v bryq
10:46:52 *** rafa has quit IRC
10:49:49 *** dkayiwa has quit IRC
11:14:55 *** bwolfe has joined #openmrs
11:14:55 *** ChanServ sets mode: +o bwolfe
11:23:34 *** bryq has quit IRC
11:39:51 *** bwolfe_ has joined #openmrs
11:39:51 *** ChanServ sets mode: +o bwolfe_
11:41:12 *** bwolfe has quit IRC
11:57:17 *** rafa has joined #openmrs
11:57:17 *** ChanServ sets mode: +v rafa
12:03:01 *** rafa has quit IRC
12:05:11 *** rafa has joined #openmrs
12:05:11 *** ChanServ sets mode: +v rafa
12:51:12 *** dkayiwa has joined #openmrs
14:28:11 *** rafa has quit IRC
14:37:20 *** bryq has joined #openmrs
14:37:20 *** ChanServ sets mode: +v bryq
14:59:46 *** bwolfe__ has joined #openmrs
15:00:22 *** dkayiwa has quit IRC
15:03:17 *** bwolfe_ has quit IRC
15:12:48 *** rafa has joined #openmrs
15:12:48 *** ChanServ sets mode: +v rafa
15:16:09 *** bwolfe__ has quit IRC
15:16:09 *** bwolfe_ has joined #openmrs
15:16:09 *** ChanServ sets mode: +o bwolfe_
15:28:06 *** bwolfe__ has joined #openmrs
15:28:46 *** bwolfe_ has quit IRC
15:44:10 *** dkayiwa has joined #openmrs
15:47:26 *** morristic has joined #openmrs
15:57:23 *** r4friedman has joined #openmrs
15:57:31 *** r4friedman is now known as r_friedman
15:57:40 <r_friedman> bwolfe__: hi ben u there?
15:58:47 <r_friedman> rafa, hi rafa, got a minute?
15:59:17 <rafa> hi r_friedman
15:59:30 <r_friedman> rafa: are you using maven 2 or 3?
15:59:52 <rafa> I think 2 right now
16:00:00 <rafa> but I switch if needed
16:00:33 <r_friedman> ok, do you have a repository tag in any of your poms or a server tag in your settings.xml?
16:01:44 <rafa> I don't think so
16:02:10 <rafa> r_friedman: I'm on a fresh system
16:02:25 <r_friedman> rafa: then u should be on 3 i think
16:02:56 <r_friedman> how did you load subclipse? was extras loaded the same way as m2e?
16:03:09 <r_friedman> sorry , mave not subclipse
16:03:15 <rafa> r_friedman: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
16:03:27 <rafa> it's what my command line says :)
16:03:48 <r_friedman> ok, i think it is more clear now, i am hitting a 3.0 effect
16:03:59 <rafa> r_friedman: what's the problem?
16:04:20 <r_friedman> same problem as always, cannot resolve dependencies on plugins
16:04:39 <rafa> huh?
16:04:42 <rafa> what plugins?
16:05:10 <rafa> and what is the exact error message?
16:05:12 <r_friedman> maven-openmrs-plugin
16:05:24 <r_friedman> see https://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
16:05:32 <OpenMRSBot> <http://ln-s.net/9Sq6> (at cwiki.apache.org)
16:06:46 <rafa> r_friedman: if you have any problems with settings.xml it's safe to delete it
16:07:02 <rafa> r_friedman: maven will recreate it if needed
16:07:41 <r_friedman> rafa: i tend to think it is problem #1 not problem #2
16:07:52 <r_friedman> which means there needs to be a repository tag in the pom
16:08:24 <rafa> r_friedman: I don't understand what you're trying to do
16:09:03 <rafa> r_friedman: are you trying to fix some general problem with building OpenMRS?
16:09:14 <r_friedman> rafa: yes and no
16:09:25 <r_friedman> my specific problem is with the lab module i sent you last week
16:09:29 <r_friedman> here is the message:
16:09:31 <r_friedman> Plugin execution not covered by lifecycle configuration: org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:initialize-module (execution: init, phase: initialize)
16:09:45 <rafa> that's not a problem :)
16:09:58 <rafa> you can either pretend it's not there
16:10:09 <r_friedman> but all 3 projects (jsslab, openmrs, webservices.rest) have the same problem with every plugin they use
16:10:34 <rafa> or mark it as ignored
16:11:07 <r_friedman> well, that would be an easy solution
16:11:07 <rafa> what are other plugins?
16:11:49 <rafa> r_friedman: If you would really like to fix it you would have to write an extension to m2e to support those
16:11:58 <rafa> r_friedman: You don't want to do that
16:11:59 <r_friedman> mvan-java-formatter, ant-run, build-number
16:12:34 <r_friedman> rafa, but you don't get these messages when you build openmrs using maven 2, right?
16:13:02 <rafa> r_friedman: They don't come from maven, rather the m2e plugin.
16:13:25 <r_friedman> quibble :-)
16:13:26 <rafa> r_friedman: They added that check in the latest version
16:14:00 <rafa> r_friedman: It shouldn't be marked as problem in my opinion rather just warning
16:14:14 <rafa> r_friedman: anyway you're safe to ignore them
16:14:18 <rafa> or just open pom
16:14:22 <r_friedman> if I say ignore, it's going to delete these lines from my pom. i know, because i lost the formatter that way
16:14:46 <r_friedman> and as long as those errors are there, it won't build
16:15:12 <rafa> r_friedman: no it'll just add some lines to your pom to mark them ignored for m2e
16:15:22 <rafa> r_friedman: it won't build?
16:15:30 <rafa> it builds for me
16:15:51 <r_friedman> no. i can assure you, i've ignored warnings my whole life, i wouldn't have been stopped by a warning
16:16:21 <r_friedman> bcs you're using 2
16:16:55 <rafa> r_friedman: I used 3 as well
16:17:02 <rafa> r_friedman: I have it even installed
16:17:17 <rafa> r_friedman: just need to switch M2_HOME if I need 3
16:17:52 <r_friedman> well could you check out jsslab module and try to build it?
16:18:21 <rafa> r_friedman: okay, give me a minute
16:46:46 * r_friedman is getting coffee
16:51:11 <rafa> r_friedman: is jsslab your project?
16:51:25 <r_friedman> rafa, yes
16:51:34 <rafa> r_friedman: okay, so we need to fix poms
16:51:45 <rafa> r_friedman: can I commit changes?
16:51:53 <r_friedman> rafa, sure
16:52:06 <r_friedman> as long as they're good ones :-))
16:52:14 <rafa> r_friedman: what version of openmrs do you want it to run with?
16:52:21 <r_friedman> 1.8
16:52:32 <rafa> r_friedman: so you have 1.8 checked-out as well?
16:52:40 <r_friedman> yes, and webservices.rest
16:52:47 <rafa> good
16:53:40 <rafa> r_friedman: do you have 1.8 trunk checked-out or something else?
16:53:48 <r_friedman> 1.8 trunk
16:53:58 <rafa> r_friedman: okay so please update and do mvn clean install
16:55:02 <rafa> r_friedman: I'm doing it right now as well :)
16:55:19 <r_friedman> in progress, brb, rafa
16:57:50 <r_friedman> rafa, done, no diff from b4
16:58:11 <rafa> r_friedman: mvn clean install finished as well?
16:58:24 <r_friedman> rafa, y
16:58:37 <rafa> r_friedman: you have a fast computer, my is still running :P
16:58:49 <r_friedman> rafa, my computer is used to doing this
16:59:06 <r_friedman> done it a million times in the last month
17:01:59 *** morristic has quit IRC
17:18:34 <r_friedman> rafa, i also turn off tests
17:18:55 <rafa> r_friedman: no you need to run it with tests :D
17:19:02 <rafa> r_friedman: to have openmrs-test installed
17:19:32 <r_friedman> rafa, just once though, right?
17:19:40 <rafa> r_friedman: yes
17:30:41 <rafa> r_friedman: have ever tests from jsslab-omod worked for you?
17:30:54 <r_friedman> no, jsslab has never compiled
17:31:19 <rafa> r_friedman: ohh :)
17:31:47 <r_friedman> rafa, i'm a believer in delayed gratification
17:32:09 <rafa> r_friedman: it's something wrong with them
17:32:21 <rafa> r_friedman: I removed them and it works
17:32:27 <r_friedman> rafa: you can comment them all out
17:32:36 <r_friedman> but you get a clean compile?
17:32:40 <rafa> r_friedman: yes
17:32:54 <rafa> r_friedman: I mean not with these tests
17:33:26 <r_friedman> rafa, forget about the tests, how come you can compile it? neither i nor the other person working on the module has been able to compile it
17:33:56 <r_friedman> due to the error i originally asked you about, the plugin dependency
17:33:59 <rafa> r_friedman: omods were complete mess :)
17:34:18 <r_friedman> you mean omod pom or whole omod?
17:35:29 <rafa> r_friedman: sorry I meant poms
17:35:53 <r_friedman> rafa, they were for the most part built by the wizard
17:35:55 <rafa> r_friedman: so I comment tests out and commit
17:36:00 <rafa> ok?
17:36:15 <r_friedman> rafa, that's so super
17:36:20 * r_friedman kisses rafa
17:36:32 <rafa> r_friedman: haha wait till it works for you :P
17:36:53 <r_friedman> rafa, then i guess i will kis my ass
17:37:11 <rafa> r_friedman: okay try to update and clean install
17:37:19 <r_friedman> ok
17:39:52 <rafa> r_friedman: wait do it again
17:39:59 <rafa> r_friedman: I forgot to comment test out
17:40:37 <r_friedman> rafa, the pom's got a syntax error
17:41:04 <rafa> huh? what is the error?
17:41:53 <r_friedman> rafam don't worry, i've just never seen a conflict before :-))
17:42:03 <rafa> r_friedman: oh :)
17:45:50 <rafa> r_friedman: and?
17:47:18 <r_friedman> rafa: no joy, but things i can do ... still getting same dependcy errors though
17:48:34 <rafa> r_friedman: but can you do clean install?
17:49:01 <r_friedman> rafa, yes, had to do project configuration update first
17:49:15 <r_friedman> now all dependency errors are in openmrs and webservices.rest
17:50:04 <r_friedman> rafa, omod was skipped
17:50:08 <r_friedman> Failed to execute goal on project jsslab-api: Could not resolve dependencies for project org.openmrs.module:jsslab-api:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.openmrs.module:webservices.rest-api:jar:0.9-SNAPSHOT, org.openmrs.module:webservices.rest-omod:jar:0.9-SNAPSHOT: Could not find artifact org.openmrs.module:webservices.rest-api:jar:0.9-SNAPSHOT in openmrs-repo (http://mavenrepo.openmrs.org/nexus
17:50:42 <rafa> r_friedman: you don't have webservices clean installed...
17:51:12 <rafa> r_friedman: do that first
17:51:51 <r_friedman> rafa, ok am doing
17:52:56 <r_friedman> rafa, SUCCESS
17:53:09 <rafa> r_friedman: cool
17:53:18 <rafa> r_friedman: now happy coding :D
17:53:23 * r_friedman has 7 orders of pirogi delivered to rafa
17:53:41 <rafa> r_friedman: haha
17:53:49 <r_friedman> rafa, many thanks
17:53:49 <rafa> it's pierogi :D
17:54:04 <rafa> r_friedman: happy to help
17:54:23 <r_friedman> rafa, most of the stuff was built by the wizard, do we need to check it out?
17:54:51 <r_friedman> rafa, actually, I don't think the wizard is even doing -api and -omod
17:54:55 <rafa> r_friedman: yes, I'll work on the wizard when I find time to make it right
17:55:15 <r_friedman> rafa, super thanks, maybe write a ticket with ben as a watcher
17:55:26 *** gluthra has joined #openmrs
17:55:45 <rafa> r_friedman: it's inherently wrong to even require to add anything to settings.xml
17:56:05 <rafa> r_friedman: it can be better than that :)
17:56:32 <r_friedman> rafa, the wizard requires changes to settings.xml? maybe that's why i had problems
17:57:00 <r_friedman> rafa, there's another problem relating to the id and the name
17:57:23 <r_friedman> in some places it used JSSLab when it should have used jsslab, I had to make those changes manually
17:59:08 <rafa> r_friedman: yeah as I said we'll need to work on that ;)
17:59:26 <rafa> r_friedman: to make it easier for module devs
17:59:32 <r_friedman> rafa, sure, just to get it all in the ticket
18:00:01 <rafa> okay, I need to go
18:00:09 <rafa> have a nice sunday!
18:00:10 <r_friedman> rafa, thanks for wasting your time with me
18:00:37 <rafa> r_friedman: it's a nice maven exercise :D
18:02:20 *** rafa has quit IRC
18:02:55 <gluthra> Hi folks. I am new to openmrs. I was wondering if there is some "news" or email group I can subscribe to, so that I can understand whatz happening in openmrs. It will help me in deciding which tickets/work i should choose from. Any suggestions?
18:04:05 *** dkayiwa has quit IRC
18:12:42 *** dkayiwa has joined #openmrs
18:19:49 *** bwolfe__ is now known as bwolfe
18:19:55 <bwolfe> gluthra, have you checked the mailing lists?
18:19:57 <bwolfe> !mailinglists
18:19:58 <OpenMRSBot> bwolfe: Error: "mailinglists" is not a valid command.
18:20:04 <bwolfe> !mailinglist
18:20:05 <OpenMRSBot> bwolfe: "devlist" --- http://n2.nabble.com/Developers-f1490149.html
18:20:17 <bwolfe> hmm, not so helpful OpenMRSBot!
18:20:22 <bwolfe> !forgot mailinglist
18:20:23 <OpenMRSBot> bwolfe: Error: "forgot" is not a valid command.
18:20:30 <bwolfe> !forget mailinglist
18:20:30 <OpenMRSBot> bwolfe: Error: There is no such factoid.
18:20:54 <bwolfe> !learn mailinglist as https://wiki.openmrs.org/display/RES/Mailing+Lists
18:20:54 <OpenMRSBot> bwolfe: The operation succeeded.
18:20:59 <bwolfe> !learn mailinglists as https://wiki.openmrs.org/display/RES/Mailing+Lists
18:20:59 <OpenMRSBot> bwolfe: The operation succeeded.
18:21:03 <bwolfe> !mailinglist
18:21:04 <OpenMRSBot> bwolfe: "devlist" --- http://n2.nabble.com/Developers-f1490149.html
18:21:14 <bwolfe> @#&^&@#
18:21:17 <gluthra> :)
18:21:18 <bwolfe> !mailinglists
18:21:19 <OpenMRSBot> bwolfe: "mailinglists" --- https://wiki.openmrs.org/display/RES/Mailing+Lists
18:21:28 <bwolfe> ugh
18:21:32 <bwolfe> oh well, close enough!
18:22:02 <bwolfe> !gettingstarted
18:22:03 <OpenMRSBot> bwolfe: "gettingstarted" --- https://wiki.openmrs.org/display/docs/Getting+Started+as+a+Developer
18:22:12 <bwolfe> !refer gluthra [gettingstarted]
18:22:13 * OpenMRSBot refers gluthra to "gettingstarted" --- https://wiki.openmrs.org/display/docs/Getting+Started+as+a+Developer
18:23:04 <gluthra> Thanks bwolfe. I will join up the developers list then.
18:31:38 *** gluthra has quit IRC
18:31:45 *** saransh has joined #openmrs
18:36:05 *** saransh has quit IRC
19:04:18 *** saransh_ has joined #openmrs
19:07:24 *** rafa has joined #openmrs
19:07:24 *** ChanServ sets mode: +v rafa
19:08:02 *** bwolfe has quit IRC
19:47:58 *** dkayiwa has quit IRC
20:06:10 *** saransh_ has quit IRC
20:28:08 *** djazayeri has joined #openmrs
20:28:08 *** ChanServ sets mode: +o djazayeri
20:30:04 *** djazayeri1 has quit IRC
20:57:29 *** dkayiwa has joined #openmrs
20:58:30 *** dkayiwa has quit IRC
21:48:39 *** bryq has left #openmrs
23:06:56 *** djazayeri1 has joined #openmrs
23:06:56 *** djazayeri has quit IRC
23:19:14 *** rafa has quit IRC
23:19:57 *** morristic has joined #openmrs