Start of Content Area

Procedure documentation Editing CBS Build Compartment XML  Locate the document in its SAP Library structure

Use

When you save a track, by default the Change Management Service (CMS) generates the correct XML content for performing the build in the Component Build Service (CBS). This XML content is part of the development configuration and defines the CBS build compartment in which the software component is built. In special cases, you may need to edit the content of the XML file.

The following cases are possible:

·        You want to enter build options in the CBS build compartment.

·        You need to enter a dependency relationship for a required SC.

Prerequisites

You have already created a track. The XML content needs to be different from the standard settings.

Procedure

To edit the content of the build compartment XML, proceed as follows:

...

       1.      In the Software Component for Development table, select the SC that you want to edit.

       2.      Choose View/Edit XML Content. The Check and Edit XML of CBS Compartment window appears.

       3.      Make your changes in the text field and choose Back.

       4.      Repeat the steps above for all SCs that you want to edit.

       5.      Save the track.

Note

When you change the CBS build compartment you also change the development configuration. This means that the developers need to download a new development configuration in SAP NetWeaver Developer Studio, so that the changes can take effect.

Result

You have edited the CBS build compartment.

Example

The following is an example of build compartment XML with dependencies and a build option.  The lines in bold are the places where you need to make changes to include build options or additional dependencies.

<dependencies>

<used-compartment>sap.com_SAP_JTECHS_1</used-compartment>

<used-compartment>sap.com_SAP-JEE_1</used-compartment>

<used-compartment>sap.com_SAP_BUILDT_1</used-compartment>

<used-compartment>vendor_SC-NAME_1</used-compartment>

</dependencies>

 

<build-variants>

<build-variant name="default" required-for-activation="yes">

<build-options>

<build-option name="javac_source14">

<option-value>off</option-value>

</build-option>

</build-options>

<variant-mappings>

<variant-mapping used-compartment="sap.com_SAP_JTECHS_1" used-variant-name="default"/>

<variant-mapping used-compartment="sap.com_SAP-JEE_1" used-variant-name="default"/>

<variant-mapping used-compartment="sap.com_SAP_BUILDT_1" used-variant-name="default"/>

<variant-mapping used-compartment=" vendor_SC-NAME_1" used-variant-name="default"/>

</variant-mappings>

</build-variant>

</build-variants>

 

 

End of Content Area