Show TOC

Managing Build OptionsLocate this document in the navigation structure

Use
Note

You manage build options in CM Services - DI Configuration Service or ( only if CMS was in use before ) in Change Management Service (CMS).

For more information about working with the CM Services, see Assigning Software Components .

When you save a track, an XML file with the correct build content is generated. It is used 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. You need to edit the build variants' content if you want to enter or modify build options in the CBS build compartment.

The flexibility of the Component Build Service (CBS) allows you to build software components (SCs) with various different build options. Build options in the context of build plug-ins means slightly more than the build options that are set in a development configuration using the CMS Landscape Configurator. From the viewpoint of a build plug-in a build option can be defined:

  • as global build options for the current build variant in the development configuration. This is done in the CMS Landscape Configurator or in the SAP NetWeaver Developer Studio for Local Development configurations.

  • as a host specific option, passed from the build controller to the build plug-in. This can be done in the service properties of the Component Build Service or in the Developer Studio

  • as a local option for the current DC, defined as a property within the DC metadata or in a cfg/build.properties file.

Procedure

Creating new build variants

To add a new build variant:

  1. In the Landscape Configurator , select the Track Data link.

    To open the Landscape Configurator, in your browser navigate to http://host:port/devinf and choose Change Management Service (CMS) link. Choose the Landscape Configurator link.

  2. Choose the Build Variants tab page.

  3. To edit a build variant, switch to editing mode by choosing the Change pushbutton.

  4. Select the build variant in the table and choose the Add… pushbutton.

  5. Specify the details of the build variant.

  6. Choose the Add pushbutton to add the build option to the list.

  7. Choose Cancel to exit the Build Options dialog.

  8. Save the track and switch back to display mode.

Editing build variants

To edit the content of the build variant:

  1. In the Landscape Configurator , select the Track Data link.

  2. Choose the Build Variants tab page.

  3. To edit a build variant, switch to editing mode by choosing the Change pushbutton.

  4. Apply the changes you want.

  5. Save the track and switch back to display mode.

    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 to the Developer Studio so that the changes can take effect.

More Information