Metadata expandedMetdata = addMetadata(p, m);
// version the product
if (!clientTransfer || (clientTransfer
&& Boolean.getBoolean("org.apache.oodt.cas.filemgr.serverside.versioning"))) {
Versioner versioner = null;
try {
versioner = GenericFileManagerObjectFactory
.getVersionerFromClassName(p.getProductType().getVersioner());
versioner.createDataStoreReferences(p, expandedMetdata);
} catch (Exception e) {
LOG.log(Level.SEVERE,
"ingestProduct: VersioningException when versioning Product: "
+ p.getProductName() + " with Versioner "
+ p.getProductType().getVersioner() + ": Message: "