Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Using IDL / Working with the manifest_rt.txt File

IDL

Working with the manifest_rt.txt File

Working with the manifest_rt.txt File

In many cases you can use the IDL_DIR/bin/make_rt/manifest_rt.txt file (where IDL_DIR is the IDL installation directory) without modification. If, however, your application uses files that are not part of the IDL distribution, or if you want to include features described in manifest_rt.txt but commented out of the default runtime distribution, you can create a custom manifest file. To create a custom manifest file, begin by copying the manifest_rt.txt file and giving your file a new name, such as manifest_custom.txt.

Note: Use a text editor such as vi, emacs, TextEdit, or the Windows Notepad to edit manifest files. Blank lines and any text following a comment character (semicolon) will be ignored by the MAKE_RT procedure.

Format of the Manifest File


The manifest files used by the MAKE_RT procedure are plain text files that contain one line for each file in the IDL installation directory that can potentially be copied to the runtime distribution.

Each entry in the manifest file corresponds to a file that exists in the IDL distribution for a particular platform. (Note that although files for all supported platforms are included in the manifest file, the MAKE_RT procedure only attempts to copy files for platforms specified when the procedure is run.)

In addition to editing the contents of the manifest file based on the keywords specified at runtime, the MAKE_RT procedure applies the following rules when creating its list of files to copy to the runtime distribution:

  • blank lines are ignored
  • lines that begin with a semicolon are ignored
  • text following a semicolon that is not at the beginning of a line is ignored

Removing IDL Features


Some sections of the manifest_rt.txt file are noted as optional. If your application does not use the features contained in one or more of these sections, you may be able to remove them from your custom manifest file, creating a smaller runtime distribution.

If you choose to remove one or more optional features, be sure to test your application thoroughly using the runtime distribution. Removing an optional feature may reveal dependencies in your code of which you were unaware.

Including Optional IDL Features


The manifest_rt.txt file includes sections that are commented out (that is, each line begins with a semicolon). These sections correspond to features that are rarely used or that require a special license. To include these features in your runtime distribution, you will need to edit the manifest file to remove the comment characters.

Even if you uncomment all of the entries for a particular feature, only the files that are required for the platforms you specify will be copied by MAKE_RT.

Including Non-IDL Files


To include features that are not described in the manifest_rt.txt file, add new lines describing the location of the files. Note that paths specified in the manifest file are relative to IDL_DIR, and that files will have the same relative location with the IDL runtime distribution as they have in the source distribution.

When adding non-IDL files to a manifest file, use the forward slash (“/”) as the directory separator, even on Windows platforms.

If you are unable to place your extra files into the source IDL distribution, you may want to manually copy the files after the runtime distribution has been built.



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us