You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Actions and Targets

FinalBuilder projects have one or more Targets, which in turn contain Actions to perform the build. Each action represents one step in the process, by performing a task such as copying files, creating directories, etc.


Default Target

By default each FinalBuilder project has a Default Target.  The project starts at the first enabled action in the Default Target. If an error occurs then it can be handled by Try Catch Actions. If not handle the build will terminate reporting the error which caused it to terminate. In a change from previous versions of FinalBuilder the developer of the build script is responsible for handling all error conditions as required. Previous versions of FinalBuilder had a global error handler Target which would be caused if an unhandled error caused the build to stop.  

User Targets

In addition to the default Action Lists, FinalBuilder also allows you to define additional Targets for each project. These can be called with the Run Target Action. Targets are ideal for grouping sets of actions which are to be performed as a group, or called multiple times with in the script. The greatest benefit of FinalBuilder is the ability to call the command line execution with the list of targets required to be performed for the current run of the script. This means Targets such as Clean, Build, Rebuild, Deploy, RunTests, and BuildHelp could all be created in the one script and each picked as required for the build required at any future point in time. 

See Also

Actions Tab | Targets


  • No labels