The Build/Run With This Only option is intended to build and run the Startup Object, ignoring any changes in objects other than the one selected. Say, for example, that the Startup Object is set to a Main Object named MyMain and changes have been done to programs PgmA, PgmB and PgmC, all belonging to MyMain call tree. Executing Build With This Only on PgmB causes MyMain to be rebuilt with changes to PgmB but ignoring changes to PgmA and PgmC.
Since GeneXus does not check for dependencies, these options are a fast method for testing single object changes. However, they should be used carefully as they may lead you to get confused looking for changes that were not built in the running application.
These options include the following steps:
Steps |
Comments |
Save any unsaved objects |
The step stops on errors. |
Reorganize the database if necessary |
The step stops on errors. |
Specify the selected object only |
Note that if other objects in the Startup Object called tree have changed, they are not specified or generated. The step stops on errors. |
Generate the selected object only |
The step does not stop on errors. |
Compile the Startup Object |
The step stops on errors. |
Deploy |
The step stops on errors. |
Execute the Startup Object (Run) |
|
Note: if a 'Build/Run With This Only' task is performed on SD objects, such as: Work With pattern and Work With object or Panel object, and a SD object is set as Startup Object, then it will be compiled and executed. Otherwise, If there is not any SD object set as Startup Object, the SD developer menu will be compiled/executed (KBN).
Build All/Rebuild All
Build/Rebuild/Run
Run Without Building