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 OpenOffice.org, StarOffice and StarOfficeMulti can be defined by describing only the differences compared to OpenOffice.org. 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:
OpenOffice.org -> StarOffice -> StarOfficeMulti
Adabas -> AdabasMulti
This means, that OpenOffice.org and Adabas are base products. A StarOffice uses the same scp files as OpenOffice.org 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:
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.