}
customProps.load(fis);
}
// separate the properties for the customizer and code format
Options customOpts = new Options();
Options formatOpts = new Options();
Map.Entry entry;
String key;
for (Iterator itr = opts.entrySet().iterator(); itr.hasNext();) {
entry = (Map.Entry) itr.next();
key = (String) entry.getKey();
if (key.startsWith("customizer.")) {
customOpts.put(key.substring(11), entry.getValue());
itr.remove();
} else if (key.startsWith("c.")) {
customOpts.put(key.substring(2), entry.getValue());
itr.remove();
} else if (key.startsWith("codeFormat.")) {
formatOpts.put(key.substring(11), entry.getValue());
itr.remove();
} else if (key.startsWith("cf.")) {
formatOpts.put(key.substring(3), entry.getValue());
itr.remove();
}
}
// code format
if (!formatOpts.isEmpty()) {
flags.format = new CodeFormat();
formatOpts.setInto(flags.format);
}
// setup a configuration instance with cmd-line info
Configurations.populateConfiguration(conf, opts);
ClassLoader loader = conf.getClassResolverInstance().