Previous: Parent-Version attribute, Up: Descriptors



Project-Keywords attribute

— Attribute: Project-Keywords (keyword value) ...

The Project-Keywords attributes allows the user to define new keywords and their values, which will behave exactly like the builtin keywords (see Keywords). Each keyword must be unique and must not match one of the builtin keywords. All files contained in the project version described by a descriptor containing a Project-Keywords list will be keyed with each keyword. Each value is either a label or a string and may not contain a newline character. For example, you could include such project meta-data as state labels, release labels, and version numbers:

          (Project-Keywords (ReleaseMajorVersion 1)
                            (ReleaseMinorVersion 1)
                            (ReleaseMicroVersion 0)
                            (ReleaseVersion "$ReleaseMajorVersion$.$ReleaseMinorVersion$.$ReleaseMicroVersion$"))
                            (ProjectState "Release")
                            (RealAuthor "Josh")) ; in case the login doesn't
                                                 ; provide enough information.