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.shfor Linuxinstall-libs.batfor Windows
Build the project:
mvn clean packageDDR 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.propertiesand replace<BASEDIR>with the complete system path to theopenddrdirectory. - Start your application server and point your browser to http://localhost:8080/ddr.