cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Module Management Tool

ruizja
Champ in-the-making
Champ in-the-making
I'm trying to install the SDK Basic Amp example with the mmt tool, but I have a small problem  :roll: :

a) I generate the AMP file with: ant -f build.xml
b) I execute: java -jar alfresco-mmt.jar install alfresco-sdk-custom-service.amp alfresco.war -verbose

Then, this is the result:

Installing AMP 'alfresco-sdk-custom-service.amp' into WAR 'alfresco.war'
WAR has been backed up to 'alfresco.war-1203616621417.bak'
No module.properties file has been found in the installing .amp file 'alfresco-s
dk-custom-service.amp'


I have to modify the build.xml?

Thanks anyway,
Javier
5 REPLIES 5

ruizja
Champ in-the-making
Champ in-the-making
I'm trying to install the SDK Basic Amp example with the mmt tool, but I have a small problem  :roll: :

a) I generate the AMP file with: ant -f build.xml
b) I execute: java -jar alfresco-mmt.jar install alfresco-sdk-custom-service.amp alfresco.war -verbose

Then, this is the result:

Installing AMP 'alfresco-sdk-custom-service.amp' into WAR 'alfresco.war'
WAR has been backed up to 'alfresco.war-1203616621417.bak'
No module.properties file has been found in the installing .amp file 'alfresco-s
dk-custom-service.amp'


I have to modify the build.xml?

Thanks anyway,
Javier

I replace alfresco-mmt.jar by alfresco-mmt-2.1.0R1.jar (I have 2.1R1 alfresco version installed) and the output of execute the install seems ok:

C:\Alfresco\tomcat\webapps>java -jar alfresco-mmt-2.1.0R1.jar list alfresco.war
Module 'sdkDemoAmp' installed in 'alfresco.war'
   -    Title:        SDK Demo AMP Project
   -    Version:      1.0
   -    Install Date: Thu Feb 21 21:37:14 CET 2008
   -    Desription:   Skeleton demo project to build an amp file


But when I start Alfresco the log message is:

21:49:05,828 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).

Any idea?

Thanks,
Javier

ruizja
Champ in-the-making
Champ in-the-making
I'm trying to install the SDK Basic Amp example with the mmt tool, but I have a small problem  :roll: :

a) I generate the AMP file with: ant -f build.xml
b) I execute: java -jar alfresco-mmt.jar install alfresco-sdk-custom-service.amp alfresco.war -verbose

Then, this is the result:

Installing AMP 'alfresco-sdk-custom-service.amp' into WAR 'alfresco.war'
WAR has been backed up to 'alfresco.war-1203616621417.bak'
No module.properties file has been found in the installing .amp file 'alfresco-s
dk-custom-service.amp'


I have to modify the build.xml?

Thanks anyway,
Javier

Finally, I solved the error related with "no module.properties" found using JDK version inside Alfresco package installer. The AMP file had module.properties file but the Java version was not correct.

jamesc5
Champ in-the-making
Champ in-the-making
Hi Javier,

I'm having a similar problem. Can you be more explicit in describing the Java version issue? I don't understand what you mean.

Thank you,
James

jamesc5
Champ in-the-making
Champ in-the-making
We figured out that this error was being caused by incorrect paths passed as arguments to the jar in the command line

jharrop
Champ in-the-making
Champ in-the-making
I got the message "No module.properties file has been found in the installing .amp file .." when i'd given my amp a ".zip" extension.  Renaming it so that it was .amp instead of .zip solved the problem.