| 00:00:47 | *** wyclif has quit IRC |
| 00:10:52 | *** deadpool has joined #openmrs |
| 00:15:06 | <deadpool> bwolfe is the ${msg} variable the error variable used in openmrs? |
| 00:18:02 | *** Sri__ has quit IRC |
| 00:44:37 | *** r_friedman has joined #openmrs |
| 00:45:14 | <r_friedman> bwolfe: hi ben, got a minute? |
| 00:47:52 | <r_friedman> burke: hi burke, got a minute? |
| 00:51:55 | <r_friedman> brb |
| 00:58:14 | *** wyclif has joined #openmrs |
| 01:02:19 | *** burke is now known as burke_away |
| 01:16:20 | <r_friedman> back |
| 02:29:22 | * r_friedman checks his connection |
| 02:42:33 | *** Sri_ has quit IRC |
| 02:45:41 | *** burke_away is now known as burke |
| 02:56:49 | <r_friedman> burke: hi burke got a minute? |
| 03:15:49 | *** r_friedman has quit IRC |
| 03:47:13 | <bwolfe> deadpool, what do you mean variable? variable with what? |
| 03:53:15 | *** burke has quit IRC |
| 05:19:20 | <deadpool> bwolfe: sorry in my controller i send a "msg" to the jstl and in openmrs it shows it twice |
| 05:19:43 | <deadpool> once as a i guess a openmrs warning and then when i display it |
| 05:19:58 | <bwolfe> deadpool, that doesn't make sense to me |
| 05:20:04 | <bwolfe> can you pastebin your controller and jsp code? |
| 05:20:09 | <deadpool> sure |
| 05:20:11 | <bwolfe> and describe what you actually want it ot do? |
| 05:21:53 | <deadpool> bwolfe this is the jsp page http://pastebin.com/npLA6df3 |
| 05:22:47 | <bwolfe> fyi: you don't need the <html> tags. those are in the header/footer files for you already |
| 05:23:21 | <deadpool> bwolfe: ah ok |
| 05:23:29 | <deadpool> here is the controller |
| 05:23:31 | <deadpool> http://pastebin.com/5KptEi5h |
| 05:24:02 | <deadpool> at the end where i do the return of the model and view i want to show a success |
| 05:31:14 | <deadpool> bwolfe is the jstl variabel ${msg} in the header and the footers ? |
| 05:39:07 | <bwolfe> deadpool, what does the output look like? |
| 05:39:15 | <bwolfe> try a variable with a different name |
| 05:39:23 | <bwolfe> perhaps "${myvar} |
| 05:39:33 | <bwolfe> or ${messagefromthepharmacymodule} |
| 05:40:04 | <deadpool> yeah i did and that works |
| 05:40:18 | <deadpool> i was just wondering if the msg variable was used elsewhere |
| 05:41:38 | <deadpool> bwolfe: thanks |
| 07:18:31 | <deadpool> bwolfe: are you there i have a hibernate question? |
| 07:43:27 | *** deadpool has quit IRC |
| 07:55:46 | *** lh has joined #openmrs |
| 08:01:43 | *** lh has quit IRC |
| 10:21:41 | *** rafa has joined #openmrs |
| 10:21:41 | *** ChanServ sets mode: +v rafa |
| 12:13:59 | *** rafa has quit IRC |
| 12:17:19 | *** rafa has joined #openmrs |
| 12:17:19 | *** ChanServ sets mode: +v rafa |
| 12:44:31 | *** bwolfe has quit IRC |
| 12:47:10 | *** bwolfe has joined #openmrs |
| 12:47:10 | *** ChanServ sets mode: +o bwolfe |
| 13:46:57 | *** rafa_ has joined #openmrs |
| 13:46:57 | *** ChanServ sets mode: +v rafa_ |
| 13:48:04 | *** rafa_ has quit IRC |
| 13:48:22 | *** rafa_ has joined #openmrs |
| 13:48:22 | *** ChanServ sets mode: +v rafa_ |
| 13:50:27 | *** rafa_ has quit IRC |
| 13:52:57 | *** rafa_ has joined #openmrs |
| 13:52:57 | *** ChanServ sets mode: +v rafa_ |
| 14:10:13 | *** r_friedman has joined #openmrs |
| 14:10:30 | <r_friedman> bwolfe: hi ben, got a minute? |
| 14:12:16 | <r_friedman> wyclif: hi wyclif, got a minute? |
| 14:29:20 | <bwolfe> hi r_friedman |
| 14:29:23 | <bwolfe> I have only a few |
| 14:29:31 | <r_friedman> bwolfe: tks |
| 14:29:46 | <r_friedman> i have installed Eclipse Indigo and all the listed maven add ons |
| 14:30:14 | <r_friedman> but when I try to get a maven svn project, the repository dropdown is empty and I can't write in ours |
| 14:31:13 | <r_friedman> suggestions? |
| 14:32:30 | <r_friedman> bwolfe: |
| 14:33:04 | <bwolfe> r_friedman, which subversion plugin are you using? |
| 14:33:08 | <bwolfe> subclipse or subversive? |
| 14:33:17 | <bwolfe> I think eclipse comes packed with subversive these days... |
| 14:33:47 | <r_friedman> i used subclipse but also the team stuff |
| 14:40:18 | <r_friedman> bwolfe: i have maven runtime, m2e, m2e logging, connector for maven scm, maven handler for both subclipse and subversive |
| 14:41:12 | <r_friedman> subclipse, subclipse integration for mylyn, subversion client adapter, subversion javahl, subversion revision graph |
| 14:46:03 | <r_friedman> bwolfe: ok, it actually tried to work this time, but it failed -- |
| 14:46:06 | <r_friedman> Unable to connect to repository http://resources.openmrs.org/eclipse/update/content.xml |
| 14:46:29 | <bwolfe> is that site up? |
| 14:46:49 | <bwolfe> are you connecting to https://svn.openmrs.org? |
| 14:46:51 | <bwolfe> or http? |
| 14:46:57 | <bwolfe> or svn://svn.openmrs.org ? |
| 14:47:48 | <r_friedman> http://svn.openmrs.org |
| 14:48:15 | <r_friedman> can't seem to connect with the https version |
| 14:49:02 | <bwolfe> I use http |
| 14:49:08 | <bwolfe> and its working fo r me right now |
| 14:49:26 | <bwolfe> from the SVN Repositories view in eclipse |
| 14:49:49 | <bwolfe> I gotta run. bug wyclif or rafa for some other debugging ideas |
| 14:51:13 | <r_friedman> bwolfe: tks |
| 15:32:18 | *** rafa has quit IRC |
| 16:06:01 | *** dkayiwa has joined #openmrs |
| 16:20:15 | *** suranga_ has joined #openmrs |
| 16:21:59 | *** rafa has joined #openmrs |
| 16:21:59 | *** ChanServ sets mode: +v rafa |
| 16:22:09 | *** carloshpf has joined #openmrs |
| 16:26:56 | *** dkayiwa_ has joined #openmrs |
| 16:29:08 | *** dkayiwa has quit IRC |
| 16:29:09 | *** dkayiwa_ is now known as dkayiwa |
| 16:58:19 | <r_friedman> dkayiwa: hi daniel, got a minute? |
| 16:59:22 | *** suranga__ has joined #openmrs |
| 17:00:16 | <r_friedman> rafa: hi rafa, got a minute? |
| 17:00:25 | <r_friedman> rafa_: hi rafa, got a minute |
| 17:00:35 | <rafa> r_friedman: hi |
| 17:00:41 | <rafa> yes |
| 17:00:54 | <r_friedman> I'm trying to implement a rest service |
| 17:01:26 | <r_friedman> java cannot find the package org.openmrs.modules.webservices.rest |
| 17:01:35 | <r_friedman> used in an import statement |
| 17:02:08 | <r_friedman> i'm convinced the module is stored in a location that doesn't comply with . -> / conventions |
| 17:02:25 | <r_friedman> where can i go to see how this sucker is actually stored? |
| 17:02:37 | *** suranga_ has quit IRC |
| 17:03:02 | <rafa> r_friedman: are you developing a module which depends on the rest service module? |
| 17:03:07 | <r_friedman> yes |
| 17:03:15 | <rafa> r_friedman: are you using maven? |
| 17:03:19 | <r_friedman> yes |
| 17:03:32 | <r_friedman> i have added that module to the dependencies |
| 17:03:53 | <rafa> seems like it cannot be found |
| 17:03:55 | <r_friedman> there is a conflict over what version we're actually offering at this point |
| 17:04:04 | <rafa> did you install the webservice module? |
| 17:04:08 | <rafa> with maven? |
| 17:04:12 | <rafa> mvn install? |
| 17:04:27 | <r_friedman> i did a maven scm import |
| 17:04:58 | <rafa> okay so you've got sources of the webservice module, right? |
| 17:05:03 | <r_friedman> yes |
| 17:05:12 | <rafa> you need to run mvn install |
| 17:05:26 | <r_friedman> ok will do |
| 17:05:50 | <rafa> this way its jar will be installed in your local maven repository |
| 17:06:04 | <rafa> and the other module will be able to use it |
| 17:08:08 | *** deadpool has joined #openmrs |
| 17:13:59 | *** suranga__ has quit IRC |
| 17:17:03 | <r_friedman> rafa: did it, no joy |
| 17:17:36 | <rafa> r_friedman: ok, can you paste your pom in pastebin.com? |
| 17:17:57 | <r_friedman> which pom? my module's main pom? |
| 17:18:02 | <rafa> yes |
| 17:20:42 | <r_friedman> rafa: http://pastebin.com/8u2hc1T0 |
| 17:22:36 | <r_friedman> rafa: fyi, org.openmrs.web is also not found yet it's in the dependencies too |
| 17:23:09 | <rafa> r_friedman: change webservices.rest version to: 0.9-SNAPSHOT |
| 17:24:09 | <rafa> r_friedman: it's what you can find in pom.xml in the webservices.rest module |
| 17:24:59 | <r_friedman> rafa, ok, I will change this in both places and see what happens |
| 17:25:28 | <rafa> r_friedman: it should be this way in webservices.rest already |
| 17:25:41 | <rafa> r_friedman: you need to change it only in your module |
| 17:25:55 | <r_friedman> rafa, by "both" i meant both in the main pom and omod pom in my module |
| 17:26:47 | <rafa> hmm it should be enough to have it only in the main pom.xml |
| 17:30:12 | <r_friedman> rafa: how to create a rest web service module on the wiki says both -- but still no joy |
| 17:30:42 | <rafa> r_friedman: okay, did you run mvn clean install on your module? |
| 17:32:36 | <r_friedman> rafa: just did, continues to show errors consistent with not finding the modules. also did project clean in eclipse, still showing errors |
| 17:32:47 | *** chopin has joined #openmrs |
| 17:34:52 | <rafa> r_friedman: hmm have you done it for both webservices.rest-api and webservices.rest? |
| 17:35:05 | <r_friedman> rafa done what? |
| 17:35:09 | <rafa> r_friedman: I mean changing the version |
| 17:35:22 | <r_friedman> rafa yes |
| 17:37:39 | <r_friedman> rafa i have also tried 0.8 which is i believe the current released version also without success |
| 17:39:14 | <rafa> r_friedman: hmmm no more clues :/ |
| 17:39:43 | <rafa> r_friedman: can you paste your output when running mvn clean install? |
| 17:39:56 | <r_friedman> probably i should just let you check it out and compile it, rafa, i'm having a run of bad luck |
| 17:40:31 | <rafa> r_friedman: yeah that would help |
| 17:41:20 | <r_friedman> rafa, http://pastebin.com/KLThM655 |
| 17:43:20 | <rafa> ohh it's compilation error |
| 17:43:37 | <rafa> I thoguth it cannot find jar |
| 17:45:27 | <r_friedman> rafa i thought that's what jar provided means in the dependency |
| 17:47:41 | <rafa> r_friedman: provided means that the jar won't be packaged with your module's jar |
| 17:48:04 | <rafa> r_friedman: it's still needed for compilation |
| 17:48:10 | <rafa> r_friedman: anyway I just noticed |
| 17:48:50 | <rafa> r_friedman: ohh nevermind :/ |
| 17:49:14 | <r_friedman> rafa ok i thot maven did classpath management |
| 17:50:04 | <rafa> r_friedman: yeah it does. It adds to the classpath things listed as provided for compilation, but it needs to know where to find their jars :) |
| 17:50:24 | <rafa> r_friedman: either in remote or local repository |
| 17:50:47 | <r_friedman> rafa so that's why i think it must be stored in an odd way in the openmrs repo |
| 17:51:44 | <rafa> r_friedman: it seems that maven finds all needed jars in your case since it attempts to compile |
| 17:52:13 | <rafa> r_friedman: can I see your LabInstrumentResource source? |
| 17:53:10 | <rafa> r_friedman: and also pom.xml for omod :) |
| 17:54:15 | <r_friedman> rafa source http://pastebin.com/L9ZTFZnM |
| 17:55:56 | <r_friedman> rafa pom http://pastebin.com/EdHhuLfJ |
| 17:58:49 | <rafa> r_friedman: ahh you need to remove dependencyManagement and move the two dependencies up to the existing dependencies node |
| 17:59:52 | <rafa> r_friedman: right above build |
| 18:00:08 | <rafa> in the omod pom |
| 18:00:21 | <r_friedman> rafa tks will do |
| 18:01:41 | <deadpool> hey is there an easier way to modify jsp pages without doing a build all the time? |
| 18:02:44 | <r_friedman> rafa right on all errors gone |
| 18:03:25 | <rafa> r_friedman: great |
| 18:03:40 | <r_friedman> rafa +10 tks |
| 18:03:52 | <rafa> deadpool: are you developing a module or working with trunk? |
| 18:04:04 | <rafa> r_friedman: you're welcome |
| 18:04:08 | <deadpool> module and sometime with trunk |
| 18:04:34 | <deadpool> i am using javascript to try some stuff |
| 18:04:46 | <deadpool> and it is kinda of a pain to build and then load the module |
| 18:04:50 | <rafa> so jsps are automatically picked up if you develop trunk and run jetty |
| 18:05:14 | <rafa> deadpool: do you use ant or maven for modules? |
| 18:06:07 | <deadpool> rafa right now ant |
| 18:06:55 | <rafa> deadpool: try adding something like http://pastebin.com/hmB3kXkN to module's build.xml |
| 18:07:23 | <rafa> deadpool: you can use this target to automatically copy jsps to jetty |
| 18:08:55 | <deadpool> rafa: but i still have to build it right? |
| 18:09:22 | <rafa> deadpool: no you just copy jsps |
| 18:09:39 | <rafa> tak |
| 18:09:57 | <rafa> not this window ;) |
| 18:10:20 | <deadpool> ah ok |
| 18:18:09 | *** rafa_ has quit IRC |
| 18:20:02 | *** rafa_ has joined #openmrs |
| 18:20:02 | *** ChanServ sets mode: +v rafa_ |
| 18:22:45 | *** chopin has quit IRC |
| 18:24:22 | <dkayiwa> rafa: actually i have faced deadpool 's problem before |
| 18:25:58 | <dkayiwa> deadpool: and was haking away by directly modifying the jsp vie the expanded war file's WEB-INF/view/modules/modulename |
| 18:42:51 | *** dkayiwa has quit IRC |
| 19:15:44 | *** dkayiwa has joined #openmrs |
| 19:36:45 | <deadpool> dkayiwa: do you still hack on the expanded war for jsp? |
| 19:37:36 | <dkayiwa> deadpool: yes because i have not tried rafa 's trick |
| 19:50:35 | <dkayiwa> deadpool: oh this ant target that rafa sent essentially does the same :) |
| 19:50:50 | <dkayiwa> it is just that i was doing it manually :) |
| 19:51:04 | <deadpool> dkayiwa: have you gone over to maven for modules? |
| 19:51:15 | <dkayiwa> deadpool: not yet |
| 19:51:50 | <dkayiwa> deadpool: i do not like the fact the for mavenized module, unit test do not run in the api project |
| 19:52:07 | <deadpool> ah |
| 19:52:17 | <dkayiwa> deadpool: before that is fixed, i have not motivation to switch it to maven |
| 19:52:20 | <dkayiwa> :) |
| 19:56:48 | *** rafa has quit IRC |
| 21:05:52 | *** djazayeri has joined #openmrs |
| 21:05:52 | *** ChanServ sets mode: +o djazayeri |
| 21:24:24 | *** bwolfe has quit IRC |
| 21:32:27 | *** dkayiwa has left #openmrs |
| 21:44:30 | *** chopin has joined #openmrs |
| 21:44:40 | *** djazayeri has quit IRC |
| 21:50:25 | *** chopin has quit IRC |
| 22:52:56 | *** morristic has joined #openmrs |
| 23:03:29 | *** rafa_ has quit IRC |
| 23:20:32 | *** carloshpf has quit IRC |
| 23:33:20 | *** deadpool_ has joined #openmrs |