In order to build the components of the dcm4chee archive application you will need to download and install:
In addition, you'll need the dcm4chee source code. In order to create the dcm4chee source directories, check out dcm4jboss-all from SVN:
svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4che14/trunk dcm4che14 svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4chee-arr/trunk dcm4chee-arr svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4chee-audit/trunk dcm4chee-audit svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4chee-docstore/trunk dcm4chee-docstore svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4chee-xds-infoset/trunk dcm4chee-xds-infoset svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4chee-arc/trunk dcm4jboss-all |
cd to the dcm4che14 checkout directory
ant
cd to the dcm4chee-arr checkout directory
mvn install
cd to the dcm4chee-audit checkout directory
mvn install
cd to the dcm4chee-docstore checkout directory
mvn install
cd to the dcm4chee-xds-infoset checkout directory
mvn install
Create an environment variable pointing to the Ant home directory (ANT_HOME
) and add the $ANT_HOME/bin directory
to your PATH
.
The build scripts dcm4jboss-all/dcm4jboss-xxx/build.xml
assumes following locations of XDoclet, JBoss, Apache FOP, Jakarta Cactus and dcm4che14:
xdoclet.home=${user.home}/xdoclet-1.2.3
jboss.home=${user.home}/jboss-4.2.3.GA
fop.home=${user.home}/fop-0.20.5
cactus.home=${user.home}/cactus-1.8.0-bin
m2.repos=${user.home}/.m2/repository
dcm4che14.home=${user.home}\/dcm4che14/build/dcm4che-1.4.22
Each of the dcm4chee projects contains a file called Alternatively, you may combine all of the |
Change to the working build directory:
cd dcm4jboss-all/dcm4jboss-build |
and invoke:
ant dist |
to build all components and pack them in binary distribution packages:
target/dcm4chee-db2-%version%.zip
target/dcm4chee-firebird-%version%.zip
target/dcm4chee-hsql-%version%.zip
target/dcm4chee-mssql-%version%.zip
target/dcm4chee-mysql-%version%.zip
target/dcm4chee-oracle-%version%.zip
target/dcm4chee-psql-%version%.zip