Creating an AMP file
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2013 12:59 PM
Hello People,
I'm really new to creating amp files and I have read the following two links on how to create one. I think I read it like 5 times. It still has gone past my head as far as understanding it. Can anyone help dumb it down for me?
http://wiki.alfresco.com/wiki/AMP_Files
http://wiki.alfresco.com/wiki/Developing_an_Alfresco_Module
Basically my goal is. I'm wanting to add jetty-ajp-6.1.14.jar to my alfresco.war file. In order to do that I think the best way is to just create an amp file and install it into that file. My only problem is I can't seem to find an example amp file to go off of to understand how the file is made.
I'm not a developer so please excuse my ignorance on this. Any help would be greatly appreciated.
I'm really new to creating amp files and I have read the following two links on how to create one. I think I read it like 5 times. It still has gone past my head as far as understanding it. Can anyone help dumb it down for me?
http://wiki.alfresco.com/wiki/AMP_Files
http://wiki.alfresco.com/wiki/Developing_an_Alfresco_Module
Basically my goal is. I'm wanting to add jetty-ajp-6.1.14.jar to my alfresco.war file. In order to do that I think the best way is to just create an amp file and install it into that file. My only problem is I can't seem to find an example amp file to go off of to understand how the file is made.
I'm not a developer so please excuse my ignorance on this. Any help would be greatly appreciated.
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2013 03:04 PM
An amp is just a zip that has been renamed to .amp. That means once you find an amp to use as an example you can unzip it using unzip (or look at its contents using unzip -l). The zip follows a convention for a directory structure and includes a file called module.properties that describes the amp. So if you want to create an amp, follow the resources you found to understand what goes in the module.properties file, then create a zip. In your case, the zip would contain a single directory called "lib" and in that you would place the JAR file.
You might be interested in the Google Docs integration amp that can be downloaded from the <a href="https://wiki.alfresco.com/wiki/Community_file_list_4.2.c">4.2.c file list</a> page.
Jeff
You might be interested in the Google Docs integration amp that can be downloaded from the <a href="https://wiki.alfresco.com/wiki/Community_file_list_4.2.c">4.2.c file list</a> page.
Jeff
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2013 12:11 PM
Hi jpotts,
following your instruction, i've created my amp. but everytime i try to install it, the console says "no module.propertis file has been found". but the file is in the amp module
following your instruction, i've created my amp. but everytime i try to install it, the console says "no module.propertis file has been found". but the file is in the amp module
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2013 02:40 PM
Show me what the output of unzip -l yourAmp.amp is.
Jeff
Jeff
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2013 10:16 AM
the output:
Archive: /Users/Fabrizio/Desktop/Recovery.amp
Length Date Time Name
——– —- —- —-
0 09-24-13 16:14 Recovery/
0 09-24-13 16:13 Recovery/bin/
15845 09-23-13 11:02 Recovery/bin/reset-password-dialog-2.1.0.jar
176 09-24-13 16:14 Recovery/module.properties
——– ——-
16021 4 files
Archive: /Users/Fabrizio/Desktop/Recovery.amp
Length Date Time Name
——– —- —- —-
0 09-24-13 16:14 Recovery/
0 09-24-13 16:13 Recovery/bin/
15845 09-23-13 11:02 Recovery/bin/reset-password-dialog-2.1.0.jar
176 09-24-13 16:14 Recovery/module.properties
——– ——-
16021 4 files
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2013 05:17 PM
Try moving Recovery/bin/reset-password-dialog-2.1.0.jar to /lib/reset-password-dialog-2.1.0.jar.
Also move Recovery/module.properties to module.properties.
Remove Recovery and Recovery/bin/.
Jeff
Also move Recovery/module.properties to module.properties.
Remove Recovery and Recovery/bin/.
Jeff