Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TfpmPlugin.BeforeResolvePackagePath

Called before resolving package path

Declaration

Source position: fpmkunit.pp line 1619

public procedure TfpmPlugin.BeforeResolvePackagePath(

  ABuildEngine: TBuildEngine;

  APackage: TPackage;

  out AContinue: Boolean

); virtual;

Arguments

ABuildEngine

  

Build engine performing the resolution

APackage

  

Package whose path is being resolved

AContinue

  

Whether to continue path resolution

Description

BeforeResolvePackagePath is called by the build engine before resolving package paths during build operations. This method enables plugins to intercept and modify package path resolution logic.

Plugins can use this callback to implement custom package location strategies, add search paths, or modify the package discovery process according to specific requirements.


Documentation generated on: Dec 15 2025