OpenDDR-org/OpenDDR-Java — pull request #4 by robrohan (2012-03-02 22:00:56+00:00)
Title: Hi OpenDDR-org

I am an engineer working for VirtualTourist.com, and we've been looking at using OpenDDR in one of our applications. We are currently using Grails and Maven.

We're still evaluating if we're going to use OpenDDR, but we thought we'd kick back upstream some of the changes we made while playing around with it. We added:

* A maven layout and build script (the pom.xml - I would guess apache would like this :D)
* Added code to put the oddr.properties file and the xml files in the created jar
* ... and then updated the code to load the XML files from the jar (instead of the full file system path). The full path way still works if the path starts with a "/" - see FileLocator and the changes in ODDRService and ODDRVocabularyService
* Added DeviceService so that you can load the code with spring dependency injection - this is a big thing in Grails because it makes it a "normal" service.

Thanks for working on this - I hope we wind up using it. If you do accept the changes, please credit VirtualTourist.com (I made the modifications if you have any questions, but I did it on their dime and it would be cool if they got the credit)

Cheers,
rob