This tutorial has been created with the version Alfresco 2.9B.
We have been create an AMP file with all necessary files :
- BIRT Runtime : 2.2.1.1
- IReport : 2.0.4
- iText : 2.0.8
- Enterprise Report Services : 1.0 RC2
You can download this file : here !
External Integration
You can directly integrate the AMP package in your alfresco installation, outside alfresco.war. It may be a bad solution but in a few cases, it can save you some time. So, here we go :
- just unzip the reporting.amp
- copy web/* in tomcat/webapps/alfresco
- copy lib/* in tomcat/webapps/WEB-INF/lib
- copy config/* in tomcat/webapps/WEB-INF/classes
AMP Integration
You can use the MMT (Module Management Tool) provided by Alfresco.
The module management tool (MMT) helps manage AMP (Alfresco Module Package) modules installed in a standard Alfresco WAR file. The module management tool supports the following: installation of AMP modules including upgrades to later versions, enabling and disabling of installed modules, de-install of installed modules and listing of currently installed modules. AMP Modules are packaged and installed as AMP files. An AMP File relates to a specific module and version. During the installation of an AMP the module and version are taken into consideration.Source: Alfresco Wiki
java -jar alfresco-mmt-2.1.jar install <AMPFileLocation> <WARFileLocation>
Note : The file alfresco-mmt-2.1.jar is located in the folder bin !
iReport Integration
After, you must copy the file jasperreports-2.0.4.jar in the folder C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib.
