Example: META_INF Files

Use

In this example, we consider the patch of a test application and create the required META-INF files for this patch. All the xml files must be available in the META-INF folder.

Application.xml

            <?xml version="1.0" encoding="UTF-8"?>
<application>
<display-name>tc/mobile/test/upgrade/patch</display-name>
<description/>
</application>

         

Application-j2ee-engine.xml

            <?xml version="1.0" encoding="UTF-8"?>
<application-j2ee-engine>
<provider-name>test.sap.com</provider-name>
<modules-additional>
<module>
<entry-name>mobile-descriptions.zip</entry-name>
<container-type>MOBILE</container-type>
</module>
<module>
<entry-name>test.sap.com~tc~mobile~test~upgrade~patch.zip</entry-name>
<container-type>MOBILE</container-type>
</module>
</modules-additional>
</application-j2ee-engine>

         

MANIFEST.MF

            Manifest-Version: 1.0

Implementation-Title: tc/mobile/test/upgrade/patch

Specification-Vendor: SAP AG

Implementation-Vendor-Id: test.sap.com

Implementation-Version: 20060508105846


         

SAP_MANIFEST.MF

            Manifest-Version: 1.0
Ext-SDM-SDA-Comp-Version: 1
softwaretype: J2EE
JarSAP-Version: 20051104.1100
JarSAPProcessing-Version: 20060105.1800
deployfile: SDM-dd.xml
keyname: tc/mobile/test/upgrade/patch
keyvendor: test.sap.com
keylocation: local
keycounter: 20060508105846
componentelement: <componentelement  name="tc/mobile/test/upgrade/patch" vendor="test.sa
 p.com" componenttype="DC" subsystem="NO_SUBSYS" location="local" count
 er="20060508105846" scvendor="sap.com" scname="NWMCLIENT" deltaversion
 ="F" updateversion="LB-20060508105846" componentprovider="local"/> 
JarSL-Version: 20060109.1800
compress: true

         

SDM-dd.xml

            <?xml version="1.0" encoding="UTF-8"?>
<SDA>
<SoftwareType>J2EE</SoftwareType>
<engine-deployment-descriptor version="2.0">
<substitution-variable>
<variable-name>com.sap.sld.GatewayHost</variable-name>
</substitution-variable>
<substitution-variable>
<variable-name>com.sap.sld.GatewayService</variable-name>
</substitution-variable>
</engine-deployment-descriptor>
</SDA>