cancel
Showing results for 
Search instead for 
Did you mean: 

Error while build the AMP to share.war

andy2_0
Champ in-the-making
Champ in-the-making
Hi

I used the following command
java -jar alfresco-mmt.jar install …\demo.amp …\share.war

and got the following error message:

11070000 ERROR: The amp will overwrite an existing file in the war '/themes/default/….'. Execution halted.  By specifying -force , you can force installation of AMP regardless of the current war state.

I tried to put "-force" option in the command line "java -jar …", seems it doesn't work. Anybody please help on this?

Thanks!

Regards,
Andy.
2 REPLIES 2

sujaypillai
Confirmed Champ
Confirmed Champ
The command should be -

java -jar alfresco-mmt.jar install <AMPFileLocation> <WARFileLocation> -force

andy2_0
Champ in-the-making
Champ in-the-making
Hi Sujay Pillai, it works, thanks for your help!!!