Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
shim-0.1.0-src.zip | 2011-01-03 | 1.1 MB | |
shim-0.1.0-src.tar.gz | 2011-01-03 | 1.0 MB | |
shim-0.1.0-dist.zip | 2011-01-03 | 32.2 MB | |
shim-0.1.0-dist.tar.gz | 2011-01-03 | 32.2 MB | |
shim-0.1.0-dist.tar.bz2 | 2011-01-03 | 32.4 MB | |
freeshim-0.1.0.1-win32-setup.exe | 2011-01-03 | 37.8 MB | |
ChangeLog | 2011-01-03 | 38.2 kB | |
README | 2011-01-03 | 2.4 kB | |
Totals: 8 Items | 136.7 MB | 0 |
FreeSHIM Opensource Multiplatform Medical Device Interface (c) 2011 by the FreeMED Software Foundation ========================================================== ( $Id: README 250 2011-01-03 17:03:42Z jeff $ ) INSTALLATION ============ 1) The generated "shim.war" file needs to be dropped into the webapps folder of your Tomcat installation. If you don't have a "shim.war" file, please see the "COMPILATION" section. 2) If you need to use any of the "native libraries" for any of the device drivers, follow their respective README files for instructions on how to install their JNI libraries. 3) If you're using a serial port, you may have to run "setserial" on it, or even bake that into your /etc/rc.local file to run on boot, otherwise some dosing pumps, etc, may not work! 4) Really, that's it. It's very simple. A more "in-depth" document for shim.war is located in shim-webapp/README ! CONFIGURATION ============= 1) FreeSHIM uses a set of defaults which are included with it. These are viewable here (with documentation, of course): http://svn.freemedsoftware.org/freemed-utilities/shim/trunk/shim-webapp/src/main/webapp/WEB-INF/shim-default.properties 2) To override these, pass: -Dshim.properties=/path/to/your/shim.properties to your J2EE container. COMPILATION =========== 1) Install Maven 2 and JDK 1.6 on your system. 2) Install native dependencies for the drivers. Programmatically: find . | grep -v svn | grep install-deps | while read X; do ( cd "$(dirname "$X")"; ./install-deps.sh ); done 3) Ask Maven to package the system: mvn package 4) Voila! You should see the "shim.war" package in shim-webapps/target/ CAVEATS ======= Due to certain device manufacturers not liking to "play nice" with open source efforts, there are a certain number of JNI (Java Native Interface) libraries used. These are architecture specific, and it is somewhat likely that they may not exist for all target architectures, so there is always the outside chance that, for example, a 32-bit Linux JVM might support more drivers than a 64-bit one (same with the Windows builds). If you don't like that, bother the manufacturers who have saddled us with fewer than the appropriate number of architecture builds, or feel free to write an opensource equivalent. We're partial to the latter solution. ;)