PropertyMap openPropMap2 = new PropertyMap("ReadOnlyOpenMapOfSimples");
openPropMap2.put(new PropertySimple("ANT_HOME", "C:\\opt\\ant-1.6.5"));
openPropMap2.put(new PropertySimple("ANT_OPTS", "-Xms128M -Xmx256M"));
configuration.put(openPropMap2);
configuration.put(new PropertyList("ListOfSimples", new PropertySimple("integer", "18"), new PropertySimple(
"integer", "127"), new PropertySimple("integer", "311"), new PropertySimple("integer", "2"), new PropertySimple(
"integer", "301"), new PropertySimple("integer", "79"), new PropertySimple("integer", "62")));
PropertyMap propMap2 = new PropertyMap("MapOfSimplesInList");
propMap2.put(new PropertySimple("String1", "Uno"));
propMap2.put(new PropertySimple("String2", "Dos"));
propMap2.put(new PropertySimple("Boolean", true));
propMap2.put(new PropertySimple("Integer", Integer.MIN_VALUE));
PropertyMap propMap3 = new PropertyMap("MapOfSimplesInList");
propMap3.put(new PropertySimple("String1", "Un"));
propMap3.put(new PropertySimple("String2", "Deux"));
propMap3.put(new PropertySimple("Boolean", false));
propMap3.put(new PropertySimple("Integer", Integer.MAX_VALUE));
configuration.put(new PropertyList("ListOfMaps", propMap2, propMap3));
PropertyMap propMap4 = new PropertyMap("MapOfSimplesInReadOnlyList");
propMap4.put(new PropertySimple("String1", "A"));
propMap4.put(new PropertySimple("String2", "B"));
propMap4.put(new PropertySimple("Boolean", false));
propMap4.put(new PropertySimple("Integer", 999));
PropertyMap propMap5 = new PropertyMap("MapOfSimplesInReadOnlyList");
propMap5.put(new PropertySimple("String1", "a"));
propMap5.put(new PropertySimple("String2", "b"));
propMap5.put(new PropertySimple("Boolean", true));
propMap5.put(new PropertySimple("Integer", 0));
configuration.put(new PropertyList("ReadOnlyListOfMaps", propMap4, propMap5));
configuration.put(new PropertySimple("myString1", "grouped String 1"));
PropertySimple myString2Prop = new PropertySimple("myString2", "grouped String 2");
//myString2Prop.setErrorMessage("bogus value!");
configuration.put(myString2Prop);