IRC Chat : 2012-03-11 - OpenMRS

01:08:42 *** vednn has quit IRC
01:56:50 *** anu_GSOC has joined #openmrs
02:59:38 *** harshadura has joined #openmrs
03:18:29 *** anu_GSOC has quit IRC
03:39:33 *** anu_GSOC has joined #openmrs
04:06:47 *** robbyoconnor has joined #openmrs
04:06:47 *** ChanServ sets mode: +v robbyoconnor
04:11:07 *** r0bby has joined #openmrs
04:11:07 *** ChanServ sets mode: +v r0bby
04:11:24 *** robbyoconnor has quit IRC
04:11:40 *** cloud|windoze has joined #openmrs
04:31:09 <djazayeri> wyclif: missed your message earlier, I assume it's no longer relevant
04:33:44 <anu_GSOC> djazayeri:I am trying to create a new module.And I have gone through the screen cast.After importing modules to eclipse pom.xml show erros
04:34:08 <djazayeri> anu_GSOC: what errors/
04:34:35 <djazayeri> one thing I usually have to do in eclipse is maven -> Update Project Configuration
04:34:46 <djazayeri> what errors are you seeing?
04:34:50 <anu_GSOC> I tried by updating maven configurations as you told.
04:35:10 <anu_GSOC> but eroor remains wait.
04:35:37 <anu_GSOC> ArtifactTransferException: Failure to transfer postgresql:postgresql:jar:8.3-603.jdbc4 from http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced. Original error: Could not transfer artifact postgresql:postgresql:jar:8.3-603.jdbc4 from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/re
04:35:38 <anu_GSOC> positories/public): No response received after 60000
04:35:38 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
04:36:42 <anu_GSOC> pom.xml errors says missing artifacts ....
04:36:57 <djazayeri> can you reach this url via web browser?
04:36:58 <djazayeri> http://mavenrepo.openmrs.org/nexus/content/repositories/public/postgresql/postgresql/
04:37:19 <anu_GSOC> yes sure
04:37:19 <djazayeri> anu_GSOC: ^^
04:37:40 <djazayeri> okay, try telling eclipse to force updating maven artifacts
04:37:56 <anu_GSOC> Ok
04:40:23 <anu_GSOC> Thanks.iit worked :)
04:40:29 <djazayeri> np
05:05:08 *** cloud|windoze has quit IRC
05:10:49 *** harshadura has quit IRC
05:38:46 <anu_GSOC> djazayeri:to build my module i have to use mvn package.In case of that what can I use?mvn build...
05:39:25 <anu_GSOC> mvn package option is not available.
05:52:18 <anu_GSOC> I don't have Run as> maven package option what can I use instead of that?
05:53:47 *** harshadura has joined #openmrs
06:09:55 *** bryq has joined #openmrs
06:09:55 *** ChanServ sets mode: +v bryq
06:26:34 *** anu_GSOC has quit IRC
06:29:21 *** dkayiwa has joined #openmrs
06:29:41 *** r0bby has quit IRC
06:29:52 *** r0bby has joined #openmrs
06:29:52 *** ChanServ sets mode: +v r0bby
06:30:21 *** anu_GSOC has joined #openmrs
06:31:22 *** bryq has quit IRC
06:38:25 <anu_GSOC> can some one help me with packaging a new module.I have tried using cmd prompt but api module and omod module failed to build.
06:39:09 <dkayiwa> anu_GSOC: how are you packaging it and what errors do you get?
06:39:54 <anu_GSOC> I have used the mvn pacakge command inside the module directory.
06:40:39 *** cloud|windoze has joined #openmrs
06:41:54 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\antlr\antlr-runtime\3.2\antlr-runtime-3.2.jar; error in opening zip file
06:42:27 <anu_GSOC> In eclipse run as> maven package option is not present.
06:43:32 <dkayiwa> anu_GSOC: can you install the m2eclipse plugin?
06:44:13 <anu_GSOC> I have already installed them and I have sucessfully built the openmrstrunk.
06:45:02 <dkayiwa> can you try restart eclipse and maybe your computer?
06:46:18 <anu_GSOC> I have tried but that option is not there "Run as>maven package"
06:46:36 <dkayiwa> anu_GSOC: try the run as maven install
06:47:15 <anu_GSOC> ok let me try it.
06:48:04 <anu_GSOC> It gives the same error.
06:48:34 <dkayiwa> can you delete the error jar file and try again?
06:51:18 <anu_GSOC> I have coppied the settings.xml file that hs provided in marven archetype wiki.How can I assure that it is working?
06:51:47 <dkayiwa> does it give you any problems?
06:52:40 <anu_GSOC> no, it worked great and generated the module.but faild to build.
06:52:56 <dkayiwa> ok
06:53:34 <anu_GSOC> only api and OMOD modules failed to build.
06:53:38 *** cloud|windoze has quit IRC
06:54:42 <dkayiwa> can you delete the error jar file and try again?
06:54:58 <anu_GSOC> ok i will try it.
06:59:03 *** djazayeri1 has joined #openmrs
06:59:07 *** djazayeri has quit IRC
06:59:14 *** djazayeri1 is now known as djazayeri
06:59:14 *** ChanServ sets mode: +o djazayeri
07:02:38 <anu_GSOC> error jar is not in the workspace where could it be?
07:03:02 <dkayiwa> C:\Users\Anuruddha\.m2\repository\org\antlr\antlr-runtime\3.2
07:04:18 <anu_GSOC> is that antlr-runtime-3.2.jar?
07:04:25 <dkayiwa> yes
07:05:57 <anu_GSOC> ok I did compilation after removing the jar the it downloded the missing jar but after that produced the same error.
07:06:28 <dkayiwa> paste the current error here
07:06:53 <anu_GSOC> Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project basicexample-api: Compilation failure: Compilation failure:
07:06:55 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\openmrs\hibernate\hibernate\3.2.5.ga-mod\hibernate-3.2.5.ga-mod.jar; error in opening zip file
07:06:55 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar; error in opening zip file
07:06:55 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\slf4j\slf4j-api\1.5.6\slf4j-api-1.5.6.jar; error in opening zip file
07:06:56 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\openmrs\liquibase\liquibase-core\1.9.4-mod\liquibase-core-1.9.4-mod.jar; error in opening zip file
07:07:32 <anu_GSOC> error: error reading C:\Users\Anuruddha\.m2\repository\org\openmrs\hibernate\hibernate\3.2.5.ga-mod\hibernate-3.2.5.ga-mod.jar; error in opening zip file
07:07:33 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar; error in opening zip file
07:07:33 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\slf4j\slf4j-api\1.5.6\slf4j-api-1.5.6.jar; error in opening zip file
07:07:33 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\openmrs\liquibase\liquibase-core\1.9.4-mod\liquibase-core-1.9.4-mod.jar; error in opening zip file
07:07:37 <anu_GSOC> [INFO] 4 errors
07:09:24 <dkayiwa> which operating system have you?
07:09:45 <anu_GSOC> win 7 (x64)
07:09:58 <dkayiwa> could it be a permissions issue
07:11:26 <anu_GSOC> It can't be because I was able to create the module.And I was able to install the openmrs trunk.
07:11:44 <anu_GSOC> Ok I will try again from the very begiing.
07:12:13 <dkayiwa> ok
07:12:44 <anu_GSOC> Thank you very much for sharing your time.
07:12:54 <dkayiwa> yo welcome :)
07:38:23 *** anu_GSOC has quit IRC
07:43:51 *** bryq has joined #openmrs
07:43:52 *** ChanServ sets mode: +v bryq
07:59:28 *** dkayiwa has quit IRC
08:11:26 *** dkayiwa has joined #openmrs
08:19:08 *** anu_GSOC has joined #openmrs
08:39:29 *** bryq has quit IRC
08:40:30 *** bryq has joined #openmrs
08:40:30 *** ChanServ sets mode: +v bryq
08:43:16 *** djazayeri has quit IRC
09:22:27 *** anu_GSOC has quit IRC
09:54:59 *** harshadura has quit IRC
10:53:30 *** anu_GSOC has joined #openmrs
10:57:54 *** harshadura has joined #openmrs
11:27:11 *** dkayiwa has quit IRC
11:36:10 *** harshadura has quit IRC
11:49:29 *** selvam1991 has quit IRC
11:58:29 *** harshadura has joined #openmrs
12:11:11 <anu_GSOC> I have tried module development as described in the screen cast again.But it produce the same error can some one help?
12:11:12 <anu_GSOC> [ERROR] error: error reading C:\Users\Anuruddha\.m2\repository\org\openmrs\hibernate\hibernate\3.2.5.ga-mod\hibernate-3.2.5.ga-mod.jar; error in opening zip file
12:12:46 <anu_GSOC> there is an exclamation mark on the api and omod directories.I think this is becasue of an error in maven dependency
12:13:14 <anu_GSOC> But I was unable to figure out how to fix it.
12:41:27 *** anu_GSOC has quit IRC
12:47:23 *** dkayiwa has joined #openmrs
12:49:58 *** anu_GSOC has joined #openmrs
13:06:14 <anu_GSOC> finally the new module is up and running.Have to remove all the error jar files.
13:08:02 <dkayiwa> anu_GSOC: oh congs!!! :D
13:08:47 <anu_GSOC> you are the one who gave me the point thank you very much.
13:08:59 <dkayiwa> hhahahahahah :)
13:09:04 <anu_GSOC> :)
14:31:04 *** anu_GSOC has quit IRC
14:32:40 *** anu_GSOC has joined #openmrs
14:37:32 *** dkayiwa has quit IRC
14:43:07 *** bryq has quit IRC
15:06:59 *** anu_GSOC has quit IRC
15:35:13 *** anu_GSOC has joined #openmrs
16:18:46 *** bryq has joined #openmrs
16:18:46 *** ChanServ sets mode: +v bryq
16:48:39 *** bryq has quit IRC
17:41:07 *** djazayeri has joined #openmrs
17:41:07 *** ChanServ sets mode: +o djazayeri
17:48:50 *** vednn has joined #openmrs
17:58:20 *** ritisha has joined #openmrs
18:10:13 *** bryq has joined #openmrs
18:10:13 *** ChanServ sets mode: +v bryq
18:25:15 *** dmexs has joined #openmrs
19:12:52 *** ritisha_ has joined #openmrs
19:33:26 *** nadee has joined #openmrs
19:48:31 *** anu_GSOC has quit IRC
19:50:17 *** ritisha_ has quit IRC
19:51:14 *** suranga has joined #openmrs
19:51:14 *** ChanServ sets mode: +v suranga
19:55:59 *** ritisha has quit IRC
19:56:33 *** test123 has joined #openmrs
19:56:58 *** nadee has quit IRC
19:57:29 <test123> hi, i am trying to set up openmrs, but i got an error in the maven set up, can anypne help me here?
19:58:20 <test123> the error is JAVA_HOME is set to an invalid directory, when i run mvn --version
20:20:53 <suranga> test123, can u check if you have set your java home environment variable properly ?that should be the problem ....
20:21:15 <suranga> and point to a jdk, not jre
20:21:43 <test123> i have, i googled it, variables are set fine as far as i know
20:22:42 <test123> plus, if JAVA_HOME is not set properly, the ide doesnt load atall, but in my case it does, which means java_home is set correctly
20:22:43 <test123> right?
20:23:32 <suranga> what happens when u run java -version on your cmd ? does it give any errors ?
20:24:18 <test123> no
20:24:55 *** dkayiwa has joined #openmrs
20:25:25 <test123> java version "1.6.0_01"
20:25:47 <test123> and 2 other likes about JRE and VM
20:25:54 <test123> *lines
20:28:57 <test123> i've used http://maven.apache.org/download.html#Installation windows 2000/xp instruction, although i use win7
20:29:00 <OpenMRSBot> <http://ln-s.net/9mDG> (at maven.apache.org)
20:29:23 *** dkayiwa has quit IRC
20:29:42 *** dkayiwa has joined #openmrs
20:31:41 *** dkayiwa_ has joined #openmrs
20:34:26 *** dkayiwa has quit IRC
20:34:26 *** dkayiwa_ is now known as dkayiwa
20:36:38 *** dkayiwa_ has joined #openmrs
20:36:38 *** dkayiwa has quit IRC
20:36:39 *** dkayiwa_ is now known as dkayiwa
20:44:26 *** test123 has quit IRC
20:51:19 *** dkayiwa has quit IRC
22:18:13 *** dmexs has quit IRC
22:31:32 *** bryq has quit IRC
22:43:30 *** dmexs has joined #openmrs
23:11:21 *** suranga has quit IRC
23:35:08 *** vednn has quit IRC
23:36:36 *** vednn has joined #openmrs
23:52:04 *** vednn has quit IRC