Rational Developer for System z

Creating and configuring generation properties files

This topic describes how to create generation properties files to use with the batch processor.
Using generation properties files and the batch processor has the following advantages over using the graphical user interface:

Creating generation properties files with a single-service wizard

To create generation properties with a single-service wizard:

  1. Start the Wizard Launchpad from a type of project other than a single-service project.

  2. On the launchpad select Save generation properties (see The Save generation properties check box).

  3. Start the wizard for the development scenario for which you want to create generation properties files.

  4. Work through the pages of the wizard, selecting for each option the value that you want to be specified in the properties file for the batch processor.

  5. On the File, data set, or member selection page, on the Properties tab, specify the path and names that you want to use for the three generation properties output files (see Properties tab).

  6. Click Finish when you are ready to close the wizard.

The wizard does its usual processing and in addition creates the three generation properties files required by the batch processor, using the values that you specified.

You can now run the batch processor using the three new generation properties files.

Creating generation properties files manually from the sample files

To create generation properties manually from the sample files:

  1. Create a input directory to contain the new generation properties files.

  2. Copy the following three sample files from the sample directory into the input directory (see Location of the sample generation properties files):
    • PlatformProperties.xml
    • ServiceSpecification.xml
    • Container.xml
    Note: You can rename these files if you like. Be sure to specify the new names when you refer to these files.
  3. Open each sample file with an editor and set the appropriate values for the configurable properties:

    • PlatformProperties.xml:
      • Set the properties for the target runtime environment.
    • ServiceSpecification.xml:
      • Set the properties for generating the conversion programs and the service definitions.
      • You can override certain properties that were specified in PlatformProperties.xml.
      Tip: To generate output files for more than one Web service, create and configure a separate and uniquely named ServiceSpecification.xml file for each Web service.
    • Container.xml

      • In the GenerationSpecArray element set the platformProperties attribute to the name of the current PlatformProperties.xml file.
      • Add a GenerationSpec element for each set of output files that you want to create and specify the name of the appropriate ServiceSpecification file.

You can now run the batch processor with the newly configured generation properties files.

Location of the sample generation properties files

The sample files are located in the following directories:


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)