TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Compile > Maintenance > Import Text Files

For Ada, the Compile > Maintenance > Import Text Files command brings text files containing Ada source code into Apex. The parsed files are then considered Ada units. Each separate unit is renamed with the appropriate .1.ada (specification) or .2.ada (body) extension.

For C/C++, the Compile > Maintainance > Import Text Files command simply copies a text file with the .c or .C extension to the target directory. Files without these extensions are not copied.

When you choose Compile > Maintenance > Import Text Files, the Import Text Files dialog box appears.

Import Text Files Dialog Box Fields:

Create Units by Reading Text Files

Specify the text files in the Create Units by Reading Text Files list field. Use the Add input field to add file names. Use the Remove and Clear buttons to delete entries from the field.

Target Directory

The files must be imported into a view or a directory within a view. Specify this view or directory in the Target Directory field. By default, it lists the current context.

For example, an Ada file contains the following code.

When parsed, this file is copied into the target directory as two Ada units: airline_reservations.1.ada and airline_reservations.2.ada.


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS