Problem with compile OpenMRS 1.6.2

0 views
Skip to first unread message

Roberto Ramos

unread,
May 29, 2012, 2:40:26 PM5/29/12
to d...@openmrs.org, Joaquin Blaya
Hi all,
 
I've been doing some changes in OpenMRS trunk for the terms of translations that are hard coded in the reporting compatibility Module, however, I got an error when I tried to compile the war file with my changes.
 
So then I tried to compile OpenMRS 1.6.2 trunk straight from the svn repository, and I could not do it,  I extracted the code from the svn server with Eclipse Indigo, and when I try to compile with Java jdk-1.5.0.22 and Ant Build I get the following error

Created dir: D:\workspace\openmrs\dist
     [jar] Building jar: D:\workspace\openmrs\dist\openmrs-api-1.6.2.? (error in post-1.4 revision regexp)-.jar

BUILD FAILED


Could tell me where I have the error, and how to fix it. Is this a maven issue?

Thanks!!


Darius Jazayeri

unread,
May 29, 2012, 3:19:35 PM5/29/12
to d...@openmrs.org
I don't know if this is the specific cause of the error, but you definitely need java 1.6 to build OpenMRS 1.6+.

(For some reason the error message makes me think of svn versions also. But try jdk 1.6 first.)

-Darius

-- OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org

Rafal Korytkowski

unread,
May 30, 2012, 5:46:52 AM5/30/12
to d...@openmrs.org
Indeed it may be that you're using svn 1.7 and it is not supported by
our script. You can try checking out again the project with svn 1.6 or
replacing lines 91-119 (the whole "if") in build.xml with "<property
name="openmrs.version.revision" value="0" />".

-Rafał

Roberto Ramos

unread,
May 30, 2012, 11:29:43 AM5/30/12
to d...@openmrs.org
thanks to both of you!

I resolved the problem uninstalling svn and replacing with version 1.4.8





2012/5/30 Rafal Korytkowski <ra...@openmrs.org>
Reply all
Reply to author
Forward
0 new messages