The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

Undefining global IDs

Beginning with src680m25 the concept of undefining global IDs is introduced. This is a very important, if a new product shall be created. Because many of our products are very similar, it is better, to define only the difference of two setup scripts. Even, StarOffice and StarOfficeMulti can be defined by describing only the differences compared to Therefore all scp files need only to be build once, which reduces the build time of the scp projects dramatically. Furthermore definitions like OSL_PRODUCT, FAT_PRODUCT or FAM_PRODUCT are no longer required, which increases the readability of scp files.

The introduction of difference-files leads to the introduction of product families: -> StarOffice -> StarOfficeMulti

Adabas -> AdabasMulti

This means, that and Adabas are base products. A StarOffice uses the same scp files as and contains some additional scp files, in which new global IDs are defined and other global IDs are undefined.

The undefining of a global ID is a very simple process. To undefine the file defined with the global ID ''gid_File_Lib_Abc'', you only have to include in one of the scp files, that are part of the product, the following line:

UnFile gid_File_Lib_Abc

That's all! You only have to list the global ID and the item type, with an ''Un'', before the keyword used for the definition. Take care, all strings are case sensitive!

You can also use:


and so on.

If you want to undefine a file that is added to a module, you also only have to write this one undefinition line. The process of removal of non defined global IDs from modules, automatically removes the global ID from the module definition.

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.