cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Manifest - Specification needed

Former Member
0 Kudos

Hello,

i know how to build a SAP Manifest File, but i did not find a specification that explains the meaning of the properties to set inside the manifest.

f.e:

changelistnumber:

perforceserver:

keyname:

keyvendor:

keylocation:

keycounter:

can anybody help?

Greetings ULf

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you ever find your answer to this? I am looking for the same information.

Former Member
0 Kudos

Hello,

i also posted this problem to the support portal on the service marketplace but got no satisfying answer. According to them, it has not been released to customers (as well as the jarSAP ant task). So there is no specification publically available. The SAP manifest will be generated when building java projects with the NWDI - so SAP enforces the use of their tools.

So the only thing you can do is take a look at SAP generated Manifests and try to generate them e.g. with the jarSAP task. An example for using this task copied from an SAP example for building XI Adapters can be found below.

Greetings Ulf

<?xml version="1.0" encoding="UTF-8"?>

<project default="build">

<!-- BUILD -->

<target name="build" depends="init,compile,asb"></target>

<!-- INITIALIZATION -->

<target name="init">

<property name="sub.src.dir" value="src" />

<property name="base.dir" value="src" />

<property name="sub.gen.dir" value="gen" />

<property name="archive.dir" value="gen" />

<property name="classes.dir" value="classes"/>

<property name="java.dir" value="."/>

<property name="LOCAL_SERVER0" value="/D:/usr/sap/J2E/JC00/j2ee/cluster/server0" />

<property name="SAP_SYSTEM_ADD_LIBS" value="D:/Programme/SAP/JDT/eclipse/plugins/com.sap.tc.ap"/>

<property name="java.dir" value="${sub.src.dir}"/>

<property name="classes.dir" value="${sub.gen.dir}/classes"/>

<property name="doc.dir" value="${sub.gen.dir}/doc"/>

<property name="schema.dir" value="${sub.src.dir}/_cpa/schema"/>

<property name="src_jar.dir" value="${sub.src.dir}/descriptors/jar"/>

<property name="gen_jar.dir" value="${sub.gen.dir}/descriptors/jar"/>

<property name="src_rar.dir" value="${sub.src.dir}/descriptors/rar"/>

<property name="gen_rar.dir" value="${sub.gen.dir}/descriptors/rar"/>

<property name="src_sda.dir" value="${sub.src.dir}/descriptors/sda"/>

<property name="gen_sda.dir" value="${sub.gen.dir}/descriptors/sda"/>

<property name="sub.jars.dir" value="${sub.gen.dir}"/>

<!-- added mf -->

<property name="implementation.version" value="3.0.1020050105175009.0000" />

<property name="jarsap.spec.version" value="3.0"/>

<property name="af.svc.name" value= "SAP XI AF Service"/>

<property name="af.svc.version" value="3.0"/>

<property name="jarsap.spec.vendor" value="sap.com"/>

<property name="af.svc.implTitle" value="com.sap.aii.af.svc"/>

<property name="af.lib.name" value="SAP XI AFLibrary"/>

<property name="af.lib.version" value="3.0"/>

<property name="af.lib.implTitle" value="com.sap.aii.af.lib"/>

<property name="cpa.svc.name" value="SAP XI AF CPA Cache"/>

<property name="cpa.svc.implTitle" value="com.sap.aii.af.cpa.svc"/>

<mkdir dir="${classes.dir}"/>

</target>

<!-- COMPILE -->

<target name="compile" depends="init">

<!-- copy files -->

<copy todir="${classes.dir}">

<fileset dir="${java.dir}">

<include name="**/*.gif" />

<exclude name="${rb.pattern}" />

<exclude name="classes/**" />

</fileset>

</copy>

<!-- copy properties files & add build info -->

<filter token="make.rel" value="${make.rel}"/>

<filter token="make.server" value="${make.server}"/>

<filter token="jdk.version" value="${jdk.version}"/>

<filter token="latest.change" value="${latest.change}"/>

<filter token="sync.time" value="${sync.time}"/>

<filter token="build.date" value="${build.date}"/>

<copy todir="${classes.dir}" filtering="on" overwrite="yes">

<fileset dir="${java.dir}" >

<include name="**/*.properties" />

<exclude name="classes/**" />

</fileset>

</copy>

<!-- compile -->

<javac destdir="${classes.dir}" debug="${sub.javac.debug}">

<src path="${java.dir}"/>

<classpath>

<!-- other used aii jars -->

<pathelement location="$/bin/services/com.sap.aii.af.ms.svc/aii_af_ms_impl.jar"/> <pathelement location="$/bin/services/com.sap.aii.adapter.xi.svc/aii_adapter_xi_svc.jar"/>

<pathelement location="$/bin/services/com.sap.aii.af.svc/aii_af_svc.jar"/> <pathelement location="$/bin/ext/com.sap.aii.messaging.runtime/aii_msg_runtime.jar"/>

<pathelement location="$/bin/ext/com.sap.aii.af.lib/aii_af_trace.jar"/> <pathelement location="$/bin/ext/com.sap.aii.af.lib/aii_af_mp.jar"/>

<pathelement location="$/bin/ext/com.sap.aii.af.lib/aii_af_ms_api.jar"/> <pathelement location="$/bin/ext/com.sap.aii.af.lib/aii_af_ms_spi.jar"/>

<pathelement location="$/bin/ext/com.sap.aii.af.lib/aii_af_cci.jar"/> <pathelement location="$/bin/services/com.sap.aii.af.cpa.svc/aii_af_cpa.jar"/>

<pathelement location="$/bin/system/jta.jar"/> <pathelement location="$/bin/ext/ejb20/ejb20.jar"/>

<pathelement location="$/bin/interfaces/appcontext/appcontext_api.jar"/> <pathelement location="$/apps/sap.com/com.sap.xi.pck/aii_utilxi_misc.jar"/>

<pathelement location="$/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java/aii_proxy_rt.jar"/> <pathelement location="$/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java/aii_util_misc.jar"/>

<pathelement location="$/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.util.xml/_comp/gen/default/public/default/lib/java/aii_util_xml.jar"/> <pathelement location="$/comp/SAP-JEE/DCs/sap.com/com.sap.guid/_comp/gen/default/public/default/lib/java/guidgenerator.jar"/>

<pathelement location="$/comp/SAP-JEE/DCs/sap.com/com.sap.tc.Logging/_comp/gen/default/public/default/lib/java/loggingStandard.jar"/> <pathelement location="$/comp/SAP-JEE/DCs/sap.com/j2eeca/_comp/gen/default/public/default/lib/java/connector.jar"/>

<pathelement location="$/comp/SAP-JEE/DCs/sap.com/sapxmltoolkit/_comp/gen/default/public/default/lib/java/sapxmltoolkit.jar"/>

</classpath>

<include name="com/**"/>

</javac>

</target>

<!-- ASSEMBLY -->

<target name="asb" depends="init,compile,asb_jar,asb_rar,asb_sda"></target>

<target name="asb_jar" depends="init">

<!-- creating JCA sample jar -->

<echo message=" ====== Building deployable JCA archive (jar) ===============" />

<copy file="${src_jar.dir}/MANIFEST.MF" todir="${gen_jar.dir}/META-INF"/>

<jar jarfile="${sub.jars.dir}/sample_ra.jar">

<fileset dir="${classes.dir}">

<include name="com/sap/aii/af/sample/adapter/ra/**"/>

</fileset>

</jar>

</target>

<target name="asb_rar" depends="init">

<!-- creating JCA sample RAR file -->

<echo message=" ====== Building deployable JCA resource archive (rar) ===============" />

<copy file="${src_rar.dir}/connector-j2ee-engine.xml" todir="${gen_rar.dir}/META-INF"/>

<copy file="${src_rar.dir}/log-configuration.xml" todir="${gen_rar.dir}/META-INF"/>

<copy file="${src_rar.dir}/MANIFEST.MF" todir="${gen_rar.dir}/META-INF"/>

<copy file="${src_rar.dir}/ra.xml" todir="${gen_rar.dir}/META-INF"/>

<!-- mf 20012005 implementationVersion added -->

<jarSAP jarfile="${archive.dir}/new/sample_ra.rar">

<Component specificationName="com.sap.aii.af.sample.adapter.ra"

specificationVersion="${jarsap.spec.version}"

specificationVendor="sap.com"

implementationTitle="com.sap.aii.af.sample.adapter.ra"

implementationVersion="${implementation.version}"

implementationvendorid="sap.com" />

<fileset dir="${sub.jars.dir}" includes="sample_ra.jar"/>

<fileset dir="${gen_rar.dir}">

<include name="**/*"/>

</fileset>

</jarSAP>

</target>

<target name="asb_sda" depends="init">

<!-- creating JCA sample sda -->

<echo message=" ====== Building deployable JCA sdm archive (sda) ===============" />

<copy file="${src_sda.dir}/application.xml" todir="${gen_sda.dir}/META-INF"/>

<copy file="${src_sda.dir}/application-j2ee-engine.xml" todir="${gen_sda.dir}/META-INF"/>

<copy file="${src_sda.dir}/log-configuration.xml" todir="${gen_sda.dir}/META-INF"/>

<copy file="${src_sda.dir}/MANIFEST.MF" todir="${gen_sda.dir}/META-INF"/>

<copy file="${src_sda.dir}/SAP_MANIFEST.MF" todir="${gen_sda.dir}/META-INF"/>

<copy file="${src_sda.dir}/com.sap.aii.af.sample.adapter.ra-dd.xml" todir="${gen_sda.dir}/META-INF"/>

<!-- mf 20012005 implementationVersion added -->

<jarSAP

jarfile="${archive.dir}/new/sample_ra.sda"

deployfile="${src_sda.dir}/com.sap.aii.af.sample.adapter.ra-dd.xml">

<Component specificationName="com.sap.aii.af.sample.ra"

specificationVersion="${jarsap.spec.version}"

specificationVendor="sap.com"

implementationTitle="com.sap.aii.af.sample.ra"

implementationVersion="${implementation.version}"

implementationvendorid="sap.com" />

<Dependency dependencyType="global">

<Component specificationName="com.sap.aii.messaging.runtime"

specificationVersion="${jarsap.spec.version}"

implementationvendorid="sap.com"

implementationtitle="com.sap.aii.messaging.runtime" />

</Dependency>

<!-- DEPENDS ON AF SVC -->

<Dependency dependencyType="global">

<Component specificationName="${af.svc.name}"

specificationVersion="${af.svc.version}"

specificationVendor="${jarsap.spec.vendor}"

implementationtitle="${af.svc.implTitle}"

implementationvendorid="sap.com"/>

</Dependency>

<!-- DEPENDS ON AF LIB -->

<Dependency dependencyType="global">

<Component specificationName="${af.lib.name}"

specificationVersion="${af.lib.version}"

specificationVendor="${jarsap.spec.vendor}"

implementationtitle="${af.lib.implTitle}"

implementationvendorid="sap.com"/>

</Dependency>

<!-- DEPENDS ON AF SERVICE CPA -->

<Dependency dependencyType="global">

<Component specificationName="${cpa.svc.name}"

specificationVersion="${jarsap.spec.version}"

specificationVendor="${jarsap.spec.vendor}"

implementationtitle="${cpa.svc.implTitle}"

implementationvendorid="sap.com"/>

</Dependency>

<Dependency dependencyType="global">

<Component specificationName="sapxmltoolkit"

specificationVersion="${jarsap.spec.version}"

implementationvendorid="sap.com"

implementationtitle="sapxmltoolkit" />

</Dependency>

<Dependency dependencyType="global">

<Component specificationName="com.sap.guid"

specificationVersion="${jarsap.spec.version}"

implementationvendorid="sap.com"

implementationtitle="com.sap.guid" />

</Dependency>

<Dependency dependencyType="global">

<Component specificationName="ejb20"

specificationVersion="${jarsap.spec.version}"

implementationvendorid="sap.com"

implementationtitle="ejb20" />

</Dependency>

<fileset dir="${archive.dir}/new" includes="sample_ra.rar"/>

<fileset dir="${gen_sda.dir}" includes="*/"/>

</jarSAP>

</target>

</project>