Skip to content
dmillett edited this page Sep 29, 2011 · 6 revisions

Welcome to the jConfigMap wiki (lots to do)!

Installation

  1. install java (1.6+)
  2. install groovy (1.8+)
  3. install gradle (1.0 m2+)
  4. clone http://github.com/dmillett/jConfigMap
  5. execute "gradle test jar" within jConfigMap directory

Client performance

Try it out

  1. For debugging purposes run "gradle idea" or "gradle eclipse" and create a project
  2. Place an XML or JSON config file of your choice in the test resources directory (src/test/resources)
  3. Remove any xsd references in your XML file and wrap your xml content with your content
  4. 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

XML configuration files

See https://github.com/dmillett/jConfigMap/wiki/XML-Configurations

JSON configuration files

See https://github.com/dmillett/jConfigMap/wiki/JSON-Configuration-File(s)