Re-package the repository AMP - Re-package the repository AMP - Alfresco - Alfresco Content Connector for SAP Applications - Alfresco/Alfresco-Content-Connector-for-SAP-Applications/5.2/Alfresco-Content-Connector-for-SAP-Applications/Alfresco-Content-Connector-for-SAP-Applications/Install-SAP-Connector/Re-package-the-repository-AMP - 5.2

Alfresco Content Connector for SAP Applications

Platform
Alfresco
Product
Alfresco Content Connector for SAP Applications
Release
5.2
ft:lastPublication
2026-05-06T14:52:32.132000
ft:locale
en-US
ArchiveStatus
Archived

Use the SAP JCo Packer tool provided in the distribution zip to merge the native SAP Java Connector libraries into the SAP Connector repository AMP.

Before continuing, make sure you've downloaded all the required files.

The re-packaging is done by using the SAP JCo Packer tool (sap-content-connector-jco-packer-1.x.jar), which helps to create a merged AMP file that's used as the foundation for the installation.

Note

You must have at least Java Version 8 installed in order to run the distributed SAP JCo Packer tool.

  1. Prepare the files for merge:

    1. Create a new temporary directory and copy the following files into it:

      • sap-content-connector-jco-packer-1.x.jar
      • sap-content-connector-repo-5.2.x.amp
      • sapjco31P_3-20009381.zip (example file name for native Java Connector libraries, downloaded from the SAP Support Portal)

        Note

        The ZIP name could be different, depending on your chosen system architecture.

    2. Verify the sap-content-connector-repo-5.2.x.amp file size. It should be less than 1 MB.

  2. Run the merge tool:

    Starting from your temporary folder, run the SAP JCo Packer tool:

    java -jar .\sap-content-connector-jco-packer-1.x.jar
    

    You'll see a few log statements to show what's happening, and the tool should finally return: Processing finished...

  3. Verify the merge:

    Verify that the merge is successful and double-check the file size of the sap-content-connector-repo-5.2.x.amp again. This should now be much larger than before.

    Note

    Depending on the chosen system architecture of the SAP Java Connector, the repository AMP file may be up to 7 MB. This indicates that the required native SAP libraries are now available inside the AMP file.

  4. Copy and save the re-packaged AMP file:

    The re-packaged sap-content-connector-repo-5.2.x.amp file should now be saved for the future. This is the final file that's needed to install the SAP Connector.

    Note

    You only need to merge the native SAP Java Connector libraries once for a specific release of the SAP Connector.

  5. Cleanup:

    Once the re-packaged AMP file is saved and stored outside the current temporary folder, you can safely delete the temporary folder.