cancel
Showing results for 
Search instead for 
Did you mean: 

Running the MMT but no ModuleManager.bat in 2.0 Comm Preview

alexr
Champ in-the-making
Champ in-the-making
I have downloaded and installed the Alfresco Tomcat Bundle (Setup) of version 2.0 Community Preview and was looking for the ModuleManagement.bat file to test the ModuleManagementTool, but the file just isn't there. Where can I find this batch-file? Do I have to download a different 2.0 version or is the ModuleManagement.bat only available in the definitive 2.0 version and not in the preview version?
I am keen on trying to deploy my own .amp modules and having this commandline tool would certainly help.

Kind Regards   Smiley Very Happy

Alex

On the Module Management Tool Alfresco WiKi it says:

Running the MMT

The MMT can be run by executing the following java class found in the Alfresco repository.jar.

   org.alfresco.repo.module.tool.ModuleManagementTool

In the extensions directory of an installed Alfresco installation there is a ModuleManager.bat that can also be used to execute the MMT.

For example:

   > ModuleManager.bat /module/recordsManagement.amp /install/Alfresco.war -verbose -preview

Retrieved from "http://wiki.alfresco.com/wiki/Module_Management_Tool"
2 REPLIES 2

alexr
Champ in-the-making
Champ in-the-making
In order to test the Module Management Class myself I search for the following:

The MMT can be run by executing the following java class found in the Alfresco repository.jar.

   org.alfresco.repo.module.tool.ModuleManagementTool


I checked the repository.jar in the following version 2.0 Community Preview builds:

1) Tomcat bundle
2) War file
3) SDK

None of the repository.jar's inside the above builds contained a class called ModuleManagementTool.

Isn't this class available in the Community Preview version? Can somebody please clarify (and if nescessary update the corresponding Alfresco WiKi pages).

By the way. Is this ModuleManagementTool going to be "best practice" for deploying modules on a war-based deployment or is Alfresco going to work on placing modules inside a repository (cleaner solution). Similar to a docapp deployment.


Thank you,

Kind regards,

Alex

alexr
Champ in-the-making
Champ in-the-making
Ok,

Just downloaded the official 2.0 war-file and the repository.jar does contain the ModuleManagementTool.class and the war-file comes accompanied with the batch/script file example of executing the Module Management Tool.

Guess it was just missing in the Preview 2.0 version.

Regards,

Alex   Smiley Happy