BTTBuildTask class provides the behavior to build a UDTT project or a set of UDTT files.
In case of a project build, it retrieves the project generator corresponding to the channel and it invokes the API method generateProject(…) to perform the generation. Then, it retrieves the results (GenerationResults[] object) and it creates a summary report. Notice that this report includes all the information that appears when building a project from the Build BTT Project menu option.
In case of a fileset build, BTTBuildTaskcreates a files list structure (not duplicates elements allowed) containing all the files to be built. Then, it goes through this structure in order to get the corresponding generator and to invoke the generateFile(…) API method. The result (GenerationResults object) is retrieved and it is included in the summary report.