mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Better fix for ALF-12541 - AMP files need to be able to be pinned to specific "edition(s)" of Alfresco
Share doesn't have a version.properties file so I need to cater for that scenario. I didn't want to create the LogOutput interface but its a stop-gap until the MMT gets re-worked. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -52,7 +52,7 @@ import de.schlichtherle.io.ZipWarningException;
|
||||
* @author Roy Wetherall
|
||||
* @author Derek Hulley
|
||||
*/
|
||||
public class ModuleManagementTool
|
||||
public class ModuleManagementTool implements LogOutput
|
||||
{
|
||||
/** Location of the default mapping properties file */
|
||||
private static final String DEFAULT_FILE_MAPPING_PROPERTIES = "org/alfresco/repo/module/tool/default-file-mapping.properties";
|
||||
@@ -90,7 +90,7 @@ public class ModuleManagementTool
|
||||
/** Indicates the current verbose setting */
|
||||
private boolean verbose = false;
|
||||
|
||||
WarHelper warHelper = new WarHelperImpl();
|
||||
WarHelper warHelper = new WarHelperImpl(this);
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@@ -885,5 +885,11 @@ public class ModuleManagementTool
|
||||
System.out.println("uninstall: Uninstalls a module from the Alfresco WAR file.");
|
||||
System.out.println("usage: uninstall <ModuleId> <WARFileLocation>\n");
|
||||
System.out.println("-----------------------------------------------------------\n");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void info(Object message)
|
||||
{
|
||||
outputMessage(String.valueOf(message));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user