blob: 249361500cb352a4f6317198696b5421fecf05f7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<head>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="StarOffice 7 (Win32)">
<META NAME="AUTHOR" CONTENT="Ingo Schmidt">
<META NAME="CREATED" CONTENT="20020419;13085671">
<META NAME="CHANGED" CONTENT="20040205;16385883">
</head>
<body LANG="de-DE" DIR="LTR">
<P ALIGN=LEFT STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT SIZE=6>Undefining
global IDs</FONT></FONT></P>
<P><BR><BR>
</P>
<P><FONT FACE="Verdana, sans-serif">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.</FONT></P>
<P><FONT FACE="Verdana, sans-serif">The introduction of
difference-files leads to the introduction of product families:</FONT></P>
<P><FONT FACE="Verdana, sans-serif">OpenOffice.org -&gt; StarOffice
-&gt; StarOfficeMulti</FONT></P>
<P><FONT FACE="Verdana, sans-serif">Adabas -&gt; AdabasMulti</FONT></P>
<P><FONT FACE="Verdana, sans-serif">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.</FONT></P>
<P><FONT FACE="Verdana, sans-serif">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:</FONT></P>
<P><FONT FACE="Verdana, sans-serif"><B>UnFile gid_File_Lib_Abc</B></FONT></P>
<P><FONT FACE="Verdana, sans-serif">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!</FONT></P>
<P><FONT FACE="Verdana, sans-serif">You can also use:</FONT></P>
<P><FONT FACE="Verdana, sans-serif">UnInstallation<BR>UnHelpText<BR>UnStarRegistry<BR>UnDataCarrier<BR>....</FONT></P>
<P><FONT FACE="Verdana, sans-serif">and so on. </FONT>
</P>
<P><FONT FACE="Verdana, sans-serif">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.</FONT></P>
<P><BR><BR>
</P>
<P><BR><BR>
</P>
</body>
</HTML>