throw new DeploymentUnitProcessingException( "Failed to load " + file.getAbsolutePath(), e );
}
TorqueBoxMetaData metaData = new TorqueBoxMetaData( metaDataHash );
TorqueBoxMetaData existingMetaData = unit.getAttachment( TorqueBoxMetaData.ATTACHMENT_KEY );
if ( existingMetaData != null ) {
metaData = existingMetaData.overlayOnto( metaData );
}
unit.putAttachment( TorqueBoxMetaData.ATTACHMENT_KEY, metaData );
}
}