Import Project dialog

Use the Import Project dialog to specify preferences when importing files from a file system into a project.

Figure: Import Project dialog

This figure is a screenshot of the Import Project dialog.
Project path
The directory to be imported.
Target Directory
The directory for the output files. The default is {Source Directory}/bin. For further information, see Target directory.
Include files
A complete list of the files that are imported (for example, *.4gl indicates all files with the extension 4gl). By default, files having the Genero and Genero Studio file extensions are listed; modify this list by adding or removing entries. The entries in the lists are separated by spaces.
Exclude files
The files to be excluded from the project. Use the * symbol to indicate all files; for example, *.abc would exclude all files having the extension abc. The entries are separated by spaces.
Exclude directories
A list of excluded directories. By default the CVS directory is excluded. The entries are separated by spaces.
Compute dependencies
If selected, Project Manager tries to compute the dependencies between Application/Libraries when importing the project.


In this example, all files with a 4gl extension in the specified path are included, except for testform.4gl . The directories CVS and mydir are also excluded.

Figure: Import Project example

This figure shows the Import Project dialog with three fields: the Include files list the Genero file extensions, the Exclude files field specifies "testform.4gl", and the Exclude directories field specifies "CVS mydir".

Default organization of imported files

When files are imported into Project Manager, a new Group node is created and listed in the Projects view. For each folder, the process is:
  • A File node is created for each file.
  • The file nodes are then added to a Library; the name of the folder is used as the name of the Library node.
  • If a file contains a MAIN program block, an Application node is created and the File node is added.
  • A Group node is then created, and all Library and Application nodes, and their nodes, are added to this Group.