Next: , Previous: Packages, Up: Project File Reference


13.14 Package Renamings

A package can be defined by a renaming declaration. The new package renames a package declared in a different project file, and has the same attributes as the package it renames. Syntax:

     package_renaming ::==
       package package_identifier renames
            <project_>simple_name.package_identifier ;

The package_identifier of the renamed package must be the same as the package_identifier. The project whose name is the prefix of the renamed package must contain a package declaration with this name. This project must appear in the context_clause of the enclosing project declaration, or be the parent project of the enclosing child project.