Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can prepare "start IDE" (and possibly "build") scripts for your projects and maintain them as project evolves in repository.</p> <p>Regardless of your decision about keeping components in separate repositories and using externals, or including them in a single repository with possible branching, you should also include compiled bpl files for every component build and for every branch prepared for a specific Delphi version.</p> <p>You should definitely try to keep most (if not all) of paths relative, in a worst case use environment variables to point to your root project dir.</p> <p>Start IDE script allows you to keep each project and Delphi version environment spearately configured on a single Windows installation.</p> <p>It should include necessary registry keys for your project and Delphi:</p> <pre><code>Windows Registry Editor Version 5.00 [-${DelphiRegKey}\Disabled Packages] [-${DelphiRegKey}\Known Packages] [-${DelphiRegKey}\Library] [${DelphiRegKey}\Known Packages] "$(BDS)\\Bin\\dclstd${CompilerVersion}.bpl"="Borland Standard Components" "$(BDS)\\Bin\\dclie${CompilerVersion}.bpl"="Internet Explorer Components" "$(BDS)\\Bin\\dcldb${CompilerVersion}.bpl"="Borland Database Components" (...) "${CustomComponentPack}"="Custom Components" [${DelphiRegKey}\Library] "Search Path"="${YourLibrarySourceFolder1};${YourLibrarySourceFolder2}" (...) </code></pre> <p>You can then prepare batch file:</p> <pre><code>regedit /s project.reg %DelphiPath%\bin\bds -rProjectRegKey Project.dpr </code></pre> <p>Where <code>${DelphiRegKey}</code> is <code>HKEY_CURRENT_USER\Software\Borland(or CodeGear in newer versions)\ProjectRegKey</code>.</p> <p>Basically it is easier when you will dump your current working configuration from registry, strip it from unnecessary keys, change paths to relative and then adapt to make it work with your project.</p> <p>In such configuration, switching between projects and their branches which have different sets of components (and/or possibly using different Delphi version) is a matter of checking out a repository only and running the script.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload