// load the properties file using the path specified with
// -j (if available)
try {
final Properties props = new Properties();
props.load(classes.getInputStreamForResource(jdoPropsFile));
jdoMeta = new EnhancerMetaDataPropertyImpl(out,
verbose,
props);
} catch (IOException ex) {
throw new EnhancerMetaDataFatalError(ex);
}
} else {
// no -j option => take the properties file name as it is
jdoMeta = new EnhancerMetaDataPropertyImpl(out,
verbose,
jdoPropsFile);
}
} else {
//^olsen: simplify interface; just append archives to jdo-path