mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
FIXED : ALF-12531: MMT needs to properly support upgrading of AMP files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -117,6 +117,10 @@ public class InstalledFiles
|
||||
throw new ModuleManagementToolException("Error whilst reading file '" + getFileLocation(), exception);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new ModuleManagementToolException("Invalid module. The installation file does not exist for module: "+moduleId);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -240,4 +244,14 @@ public class InstalledFiles
|
||||
{
|
||||
this.mkdirs.add(location);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("InstalledFiles [warLocation=").append(this.warLocation).append(", moduleId=")
|
||||
.append(this.moduleId).append(", adds=").append(this.adds).append(", updates=")
|
||||
.append(this.updates).append(", mkdirs=").append(this.mkdirs).append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user