OpenCloseProject

From RAD Studio
Jump to: navigation, search

Go Up to Local GetIt Packages Actions Data Index

Open or close a project, depending on the value of one of the parameters.

Note: Since 10.4, this action also opens ".groupproj" and ".bdsgroup" group projects.

Parameters

  • Parameter 1: String. Project path to modify. Macros are allowed.
    • "$(DclUsrDpk)" - dcluser common package path (Delphi version).
    • "$(DclUsrBpk)" - dcluser common package path (CBuilder version).
  • Parameter 2: Boolean. Optional. If the value is True, GetIt will open a project. If the value is False, GetIt will close the project.
    • The default value is True.
  • Parameter 3: Boolean. Optional. If the value is True, GetIt will stop the installation if there is a failure when opening or closing a project. If the value is False, GetIt will avoid the failure.
    • The default value is "False".

Examples

  • Example 1:
OpenCloseProject("Package\Test.dproj");
  • Example 2:
OpenCloseProject("Package\Test.dproj", False);
  • Example 3:
OpenCloseProject("Package\Test.dproj", True, True);

See Also