Chapter 15 Working with IDL


Generating for IDL

IDL generation produces files with the .idl extension. One IDL file is generated per package.

A generation log file is also created after generation.

You can select the Check model option in the Options page of the Generation dialog box before starting generation.

For more information on how to design objects for IDL generation, see section Designing for IDL.

Steps To generate IDL files:

  1. Select Language→Generate IDL-CORBA Code to display the Generation dialog box.
  2. Type a destination directory for the generated file in the Directory box.

    or

    Click the Select a Path button to the right of the Directory box and browse to select a directory path.
  3. Select the items to include in the generation from the Selection page.
  4. Click the Options tab to display the Options page.
  5. <optional> Select the Check Model check box if you want to verify the validity of your model before generation.
  6. Select a value for each required option.
  7. Click the Tasks tab to display the Tasks page.
  8. Select the required task(s).
  9. Click OK to generate.

    A Progress box appears. The Result list displays the files that you can edit. The result is also displayed in the Generation page of the Output window, located in the bottom part of the main window.

    All IDL files are generated in the destination directory.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.