// Set the custom properties on the accessor.
PrivateAccessor.setField(writeRepository, "properties", properties);
// Write out the properties, standard and custom, and save the
// repository.
writeRepository.writeProperties();
if (logger.isDebugEnabled()) {
// Print out details about the original repository archive
// and copy it to /tmp/r1.zip. This was added to help debug
// problems with committing VBM:2004110904.