if (file == null) {
throw new DeployException("Failed to get the file \"" + path
+ "\" from the file store. This is probably a bug.");
}
CRequiredFile requiredFile = new CRequiredFile();
requiredFile.setMD5(file.getMD5());
requiredFile.setModifiedTime(file.getPhysicalRepresentation().lastModified());
requiredFile.setPath(path);
requiredFile.setType(iType);
// This is not set here, only when we need to send it,
// just making sure it is null at this point.
requiredFile.setZippedBase64Contents(null);
m_requiredFiles.add(requiredFile);
// Check for dependencies.
List<? extends FileStoreFile> dependencies = m_fileStore.getRequiredFiles(path);