imprving unarchiver logging

This commit is contained in:
mindthegab 2015-06-01 12:54:13 +01:00
parent 2a3eb3919e
commit 41dd5ff1ea

View File

@ -43,11 +43,12 @@ public class AmpUnArchiver extends AbstractZipUnArchiver {
*/
ModuleManagementTool mmt = new ModuleManagementTool();
mmt.setVerbose(false);
if(getDestFile() != null)
getLogger().info("getDestFile ():" + getDestFile());
getLogger().info("Installing into destination file: " + getDestFile());
if(getDestDirectory()!= null)
getLogger().info("getDestDirectory ():" + getDestDirectory());
getLogger().info("Installing into destination folder: " + getDestDirectory());
File destLocation = (getDestFile() == null || !getDestFile().exists() ) ? getDestDirectory() : getDestFile();