Show TOC

Enabling Javadoc GenerationLocate this document in the navigation structure

Procedure

Enabling Javadoc Generation for a Single DC

To enable the Javadoc generation, the value of the build option com.sap.javadoc.enable must be set to true .

To enable the option locally for a DC, in your SAP NetWeaver Developer Studio you have to:

  1. Create a project for the DC and switch to the Resource perspective

  2. Create a folder named cfg in the root directory of the DC (where the .dcdef file resides).

  3. Create a text file named build.properties in the cfg folder

  4. Enter the build options in the form name=value , for example com.sap.javadoc.enable=true .

  5. Save and check in build.properties .

Note

Creating and editing cfg/build.properties can be done with Notepad or any other file system browser/editor. You just have to check in the file afterwards.

Enabling Javadoc Generation for a Development Configuration

To enable the Javadoc generation for all DCs contained in the development configuration:

  1. In the Development Infrastructure perspective, select the development configuration.

  2. In the Component Properties view open the Overview tab page, and open the Technology Specific settings.

  3. Under the Specify DC Build Parameters (Advanced Options) , enter a new key com.sap.javadoc.enable .

  4. Enter true as the value of the com.sap.javadoc.enable key.

    The Javadoc generation is now enabled.

Enabling Javadoc Generation for a Track Created with CM Services

For tracks created using the CM Services, to enable Javadoc generation for your development configuration, you have to set the build options on the SC level. For more information about setting these options, see Assigning Software Components .

Enabling Javadoc Generation for a CMS Track

You can enable Javadoc generation globally, for a whole track using its build options.

  1. Open the track for editing in the Landscape Configurator.

  2. In the track's build variants, specify the value of the property com.sap.javadoc.enable to true .

    For more information about editing build options in CMS, see Managing Build Options .

  3. Save the track.