Companion code to go along with the blog post at http://www.samaxes.com/2012/10/comparing-device-description-repositories/.
DDR Compare uses the Apache Maven build system. Building DDR Compare requires you to have it installed.
Install OpenDDR Maven dependencies into your local repository by executing the following script from inside the lib
folder:
install-libs.sh
for Linuxinstall-libs.bat
for Windows
Build the project:
mvn clean package
DDR Compare needs a Java EE application server to run. Follow these steps to deploy it to JBoss AS:
- Deploy the exploded WAR file to your application server.
- Open the file
WAR/WEB-INF/classes/openddr/oddr.properties
and replace<BASEDIR>
with the complete system path to theopenddr
directory. - Start your application server and point your browser to http://localhost:8080/ddr.