These instructions describe how to build weasis-pacs-connector directly from the Git repository on any platform. The weasis-pacs-connector component allows to launch Weasis from the new dcm4che-web3 interface or from any WEB context. This component can also be used with any PACS supporting WADO transfer protocol.
Prerequisites
- JDK 5 or higher (Sun or OpenJDK)
- Maven 2.2 or higher (http://maven.apache.org/guides/index.html)
If your computer is behind a proxy server, configure maven.
- Git (or directly download source from gitub), one of the following client:
- CLI on Linux or Mac OS X - Install git-core package
- Windows - Tortoise Git - (When installing msysgit be sure to choose Unix style line endings)
- Eclipse - Install egit
Getting the Source
To clone the repository, first install GIT and either clone using a graphical GIT client (such as Tortoise Git) or directly from the command line using the command:
git clone git://github.com/nroduit/weasis-pacs-connector.git
Note: Sources can also be browsed online
Building weasis-pacs-connector.war
cd weasis-pacs-connector mvn clean package
Overriding the default configuration
- Go here.
Download weasis-connector-default.properties and rename it weasis-pacs-connector.properties
Download weasis-jnlp-default.xml and rename it weasis-jnlp.xml - Copy the files into a folder in the classpath of the servlet container. In JBoss (inferior to version 7), the best location would typically be server/default/conf.
- Edit the configuration as needed.
For example, the PACS may be running on a different computer than Weasis, or the PACS AE Title may have been been changed.
If so, edit weasis-pacs-connector.properties. Change pacs.host, pacs.port, and pacs.aet.
Changes to weasis-jnlp.xml are needed less often. It Allows to change Java VM properties and some parameters of the launcher.