Skip to content

Qa

Where do I execute the code generation?

Please open the view ‘Project overview’. There you’ll find all you need for the code generation.

Why is the ‘Run’ button not enabled in the project overview?

Please make sure you have selected one or more model files for your generator and have mapped at least one virtual project to an Eclipse workspace project.

How do I find modified developer areas?

Open the file search dialog. Add this regular expresion to the ‘Containing text’ field:

DA-START.*\R(?!.*DA-ELSE.*)

You have to have the check box ‘Regular expression’ checked. Enter the file name pattern for the files you wish to search. Press the search button and you will see all occurrences of modified developer areas in the search result.

By applying file name patterns, you can limit the number of files found by the search. And you can also explicitly search for certain types of developer areas by adapting the search expression.

The following expression searches for all methods with the name ‘init’ that do not take a parameter and that have modified developer areas:

DA-START.*init:.*\R(?!.*DA-ELSE.*)

The following expression searches for all methods with the name ‘setLayoutPreferencesBean’ that take a parameter of type ‘LayoutPreferencesBean’ and that have modified developer areas:

DA-START.*setLayoutPreferencesBean[.]LayoutPreferencesBean:.*\R(?!.*DA-ELSE.*)