Can someone explain me the difference of Alfresco SDK release type? I don't understand how to use amp file to deploy custom content inside alfresco platform and/or how to use jar files to accomplish the same result.
Is there any guide/tutorial available to read?
Thank you
Davide
Did you check the documentation about package formats? In short, AMPs are the "traditional" packaging format, typically containing static (configuration) files in exploded form and the Java classes bundled in a JAR, which can be installed using the alfresco-mmt tool. An AMP is basically a ZIP that will get exploded and mapped into one of the Alfresco WARs (mapping is customisable). They can override/replace an original file in the WAR which will be backed up in a specific location, so it can be restored when the AMP is "uninstalled" (this feature was not always reliable and has since been deactivated/removed from alfresco-mmt).
JARs are the currently recommended packaging format, although not everyone in the community (myself included) aggrees. They are typically easier to work with within build automation and deployment tools.
One significant difference between AMP and JAR is how 3rd-party dependencies are handled. An AMP can bundle all the 3rd-party dependencies it needs, while a JAR cannot and relies on either the deployment automation or the person doing a deployment to handle all the dependencies in addition to itself.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.