builder.buildCanonicalUrl(getPublication(), Publication.AUTHORING_AREA, documentId);
Document authoringDocument = builder.buildDocument(getPublication(), authoringUrl);
ResourcesManager authoringManager = new ResourcesManager(authoringDocument);
String liveUrl =
builder.buildCanonicalUrl(getPublication(), Publication.LIVE_AREA, documentId);
Document liveDocument = builder.buildDocument(getPublication(), liveUrl);
ResourcesManager liveManager = new ResourcesManager(liveDocument);
// find all resource files and their associated meta files
List resourcesList =