web stats
building from source - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2008, 02:12 PM
fmason fmason is offline
OBX.2 Kenobi
 
Join Date: Nov 2008
Posts: 55
fmason is an unknown quantity at this point
Default building from source

I have decided to build the source, but am running into a small barrier.

I am using eclipse and am trying to sort out how to inform my idea how to replace the ${basedir} string in the build.properties file with the empty string so that it can use my project as the base directory. It seems fine with replacing the strings in the build.xml file with those from the properties file, but I don't know how to fill the build.properties file values.

Hope someone can give me a hand

Fieran
__________________
Fieran Mason-Blakley
Standards Researcher
Genologics Life Sciences
http://genologics.com
Reply With Quote
  #2  
Old 12-14-2008, 07:09 AM
albertosaez albertosaez is offline
 
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:building from source

Which version are you using ?

The last build.properties has no "basedir" parameter

For 1.7.1, basedir property is defined in the build.xml, and is the dir where the build is being execuiting.

Use the build.bat to compile and create the distro files.
Reply With Quote
  #3  
Old 12-14-2008, 12:46 PM
fmason fmason is offline
OBX.2 Kenobi
 
Join Date: Nov 2008
Posts: 55
fmason is an unknown quantity at this point
Default Re:building from source

Right now I am trying to build the client jar from trunk

platform details
osX - eclipse - freedom to change my jvm version to whatever it needs to be

Post edited by: fmason, at: 12/14/2008 12:48
__________________
Fieran Mason-Blakley
Standards Researcher
Genologics Life Sciences
http://genologics.com
Reply With Quote
  #4  
Old 12-15-2008, 03:39 PM
fmason fmason is offline
OBX.2 Kenobi
 
Join Date: Nov 2008
Posts: 55
fmason is an unknown quantity at this point
Default Re:building from source

the problem seems to be with the base directory field in the opening dialog box for "External Tools Configuration..." When I had this value set to the base directory in the eclipse way, the project didn't recognize how to fill the variables from the build.properties file, but when I left it blank it worked better. It still doesn't build error free from the get go, but I'll try and sort the rest of this out.

Fieran
__________________
Fieran Mason-Blakley
Standards Researcher
Genologics Life Sciences
http://genologics.com
Reply With Quote
  #5  
Old 12-15-2008, 03:55 PM
fmason fmason is offline
OBX.2 Kenobi
 
Join Date: Nov 2008
Posts: 55
fmason is an unknown quantity at this point
Default Re:building from source

Building from source using trunk,

I get these errors. Can anyone tell me what is wrong? I presume that this is a configuration issue maybe a java version or something?

Fieran

[javac] /Users/jensweber/Documents/workspace/mirth-source/server/src/com/webreach/mirth/connectors/jdbc/xa/ConnectionWrapper.java:37: com.webreach.mirth.connectors.jdbc.xa.ConnectionWr apper is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
[javac] public class ConnectionWrapper implements Connection
[javac] ^
[javac] /Users/jensweber/Documents/workspace/mirth-source/server/src/com/webreach/mirth/connectors/jdbc/xa/DataSourceWrapper.java:27: com.webreach.mirth.connectors.jdbc.xa.DataSourceWr apper is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
__________________
Fieran Mason-Blakley
Standards Researcher
Genologics Life Sciences
http://genologics.com
Reply With Quote
  #6  
Old 12-15-2008, 04:00 PM
dans dans is offline
Mirth Employee
 
Join Date: Apr 2007
Location: Irvine, CA
Posts: 590
dans is an unknown quantity at this point
Default Re:building from source

Yes, I think I have seen this when I try to compile using java 6. Try using java 5 instead.
__________________
Daniel Svanstedt
Software Engineer
Mirth Corporation

Want professional services, support, and enterprise or virtual appliances? It's all available from the Mirth Corporation:
Mirth Support | Mirth Training | Mirth Appliances | Online Training | Developer Q&A

Don't forget, Mirth Support gives you access to all of our online training videos, and silver support gives you access to developer Q&As!
Reply With Quote
  #7  
Old 12-15-2008, 05:02 PM
fmason fmason is offline
OBX.2 Kenobi
 
Join Date: Nov 2008
Posts: 55
fmason is an unknown quantity at this point
Default Re:building from source

same error with 1.5

spoke too soon - that is exactly the problem

Post edited by: fmason, at: 12/15/2008 17:24
__________________
Fieran Mason-Blakley
Standards Researcher
Genologics Life Sciences
http://genologics.com
Reply With Quote
  #8  
Old 12-16-2008, 09:03 AM
albertosaez albertosaez is offline
 
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:building from source

Probably you're using a 6.0 jvm. You have to use a 1.5 one.
Reply With Quote
  #9  
Old 12-17-2008, 03:49 PM
fmason fmason is offline
OBX.2 Kenobi
 
Join Date: Nov 2008
Posts: 55
fmason is an unknown quantity at this point
Default Re:building from source

You were correct, thanks again.
__________________
Fieran Mason-Blakley
Standards Researcher
Genologics Life Sciences
http://genologics.com
Reply With Quote
  #10  
Old 08-04-2010, 01:17 PM
drosales drosales is offline
What's HL7?
 
Join Date: Aug 2010
Location: Los Angeles, California
Posts: 2
drosales is on a distinguished road
Default newbie building from source

I am a newbie attempting to build Mirth Connect 1.8.2 from source using Mac OS X 10.4.11, Eclipse 3.5 Galileo and Mac OS JVM 5.0_19 (Default).

Everything appears to be fine except for one error "The method isDefaultLut() is undefined for the type ImageProcessor" from source file DICOMUtil.java. Any ideas how I can resolve this?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building from source trymirth Support 11 06-24-2008 01:44 PM
Building 1.7.1 steinrs Development 1 06-24-2008 12:11 PM
Building Mirth 1.6.1 djfmirth Development 2 01-23-2008 03:00 AM
Building 1.6.1 Branch Don Schaefer Development 5 12-06-2007 03:37 AM
An issue building Mirth Client from source ssalevan Development 1 07-18-2007 04:55 PM


All times are GMT -8. The time now is 02:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation