{scrollbar:icons=false} |
The URI Resolver Service comes with a set of default configurations that can allow for easy setup. Customization for various database configurations and file systems is possible.
Clone the URI Resolver project using:
git clone https://github.com/NCIP/URI_Resolver.git |
Change to the URI_Resolver directory:
cd URI_Resolver |
Change to the 6.1 branch:
git checkout tags/qa_v0.0.1.rc8.05.2013 |
Build the application with Maven:
mvn clean install |
This application can be built and run in Java 1.6 by changing the Java source and target values from 1.7 to 1.6 in the pom.xml file. |
If the build is successful, the resulting war file will be in the target directory.
Default installations of the war file can be handled as detailed at Installing the URI Resolver
Custom data base configurations are handled in the preceding link.
Paths to property files are hard coded in the Beans.xml file located in the src/main/resource folder.
Users can replace all instances of the variable
#{ systemProperties['user.home']} |
value with any custom file path desired, then build the Resolver as detailed at Installing the URI Resolver.
Otherwise, users can add a property to the Tomcat start up script such as
-Duser.home=/my/custom/path |
and do so at deployment time.
This can be done by adding this value to the setenv.sh script in the Tomcat root/bin directory. If no such file exists, one can be created.
{scrollbar:icons=false} |