Generating from the Repository View
It is also possible to generate an object, or multiple objects, via the Repository view as well as the Revision Control view. Select an object by clicking on it, or multiple objects by using the 'shift' + click or 'ctrl' + click.
To generate, either press the keys 'shift + F6', or click the green arrow button - 'Generate this object(s)' - on the top toolbar. This opens the 'Objects To Generate' dialog box. In this dialogue box can be seen the object selected for generation as well as any objects that call/use it, which are automatically selected for generation as well.
A message at the bottom of the dialogue box will show the current number of queued generate requests (if any). In a multi-user environment, there may be many simultaneous generate requests being made. This gives the developers an indication of how many requests still need to be processed before their current request. The number of queued requests can also be viewed on the 'Requests' tab sheet on the Generation screen.
The generate priority can be selected from the 'Priority' list box, which defaults to a priority of ‘Normal’.
The 'Debug' checkbox will generate debug versions of the objects.
Click the button 'OK generate' to start the generation.
The dialogue box will automatically close if the generation completes successfully. If any errors occur, the dialogue box will stay open and display the error messages.
It is possible to close the dialogue box while a generate is in progress. This does not interrupt the generation, and allows the developer to continue working while the generation is running. In this case, the developer will need to check for error messages in the 'Generation Status' tab sheet of the Generation screen. Also on this screen, the generation status can be checked on the 'Requests' tab sheet.