AnsweredAssumed Answered

Creating AMP - ERROR: missing 'module.properties' file

Question asked by fabrizio90 on Sep 23, 2013
Latest reply on Sep 24, 2013 by fabrizio90
Hi all,

i'm trying to create an AMP for this addon: https://github.com/share-extras/reset-password-dialog

Following the instruction and using properly the ANT command, i've created the JAR.

In order to get the addon working on Alfresco 4.2.d, the developers says: "you must deploy the Login page Reset Password Dialog module in Share's Module Deployment console in order to enable the capabilities."

So, i need the AMP file.

According to this post (https://forums.alfresco.com/comment/136827#comment-136827), i've created a folder with a "bin" folder which contains the JAR file, and the "module.properties" in the root of the main folder. After that, i've zipped the folder, changed the extension in amp, followed the instruction to install an AMP file (this: http://wiki.alfresco.com/wiki/Module_Management_Tool).

But the console give me this error:

Exception in thread "main" java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.simontuffs.onejar.Boot.run(Boot.java:247)
   at com.simontuffs.onejar.Boot.main(Boot.java:105)
Caused by: org.alfresco.repo.module.tool.ModuleManagementToolException: No module.properties file has been found in the installing .amp file '/Users/Fabrizio/Desktop/Recovery.amp'



How can i solve this? Please help me!

Cheers from Italy! Ciao!

Outcomes