-
Notifications
You must be signed in to change notification settings - Fork 2
Home
dmillett edited this page Sep 29, 2011
·
6 revisions
Welcome to the jConfigMap wiki (lots to do)!
- install java (1.6+)
- install groovy (1.8+)
- install gradle (1.0 m2+)
- clone http://github.com/dmillett/jConfigMap
- execute "gradle test jar" within jConfigMap directory
- fast, thread safe retrievals for property or structured configurations
- See https://github.com/dmillett/jConfigMap/wiki/Client-Performance
- For debugging purposes run "gradle idea" or "gradle eclipse" and create a project
- Place an XML or JSON config file of your choice in the test resources directory (src/test/resources)
- Remove any xsd references in your XML file and wrap your xml content with your content
- Create a new test class (look at existing tests or README)
- add a pattern with ConfigLookup
- build a Map<String, String> from that pattern with ConfigLookup
- use debugger to analyze the Map
See https://github.com/dmillett/jConfigMap/wiki/XML-Configurations
See https://github.com/dmillett/jConfigMap/wiki/JSON-Configuration-File(s)