FIXED : ALF-12540: AMP - file-mapping.properties: white space at end of line is significant

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gethin James
2012-02-08 16:17:49 +00:00
parent 1e8c35affa
commit 2973bda755
3 changed files with 24 additions and 0 deletions

View File

@@ -313,6 +313,9 @@ public class ModuleManagementTool
throw new AlfrescoRuntimeException("File mapping targets must start with '/' but was '" + mappingTarget + "'");
}
mappingSource = mappingSource.trim(); //trim whitespace
mappingTarget = mappingTarget.trim(); //trim whitespace
// Run throught the files one by one figuring out what we are going to do during the copy
copyToWar(ampFileLocation, warFileLocation, mappingSource, mappingTarget, installedFiles, preview);