Detecting Main Files

Oxygen XML Author Eclipse plugin allows you to detect the main files using the Detect Main Files option. This action applies to the folders you select in the project.

To detect main files over the entire project, do one of the following: Both of these options display the Detect Main Files wizard. The detected main files are presented in a tree-like fashion. The resources are grouped into three categories:

To set them as main files, simply select their checkboxes. Oxygen XML Author Eclipse plugin marks all the children of a main file as modules. Modules are rendered in gray and their tool-tip presents a list of their main files. A module can be accessed from multiple main files.

The next panel displays a list with the selected main files. Click the Finish button to add the main files in the Main Files folder.

You can use the Select Main Files option to automatically mark all main files. This action sets all the resources from the Possible Main Files category and the first resource of each Cycle as main files. The Deselect All button simply removes all of your selections.
Tip: It is recommended that you only add top-level files (files that are at the root of the include/import graph) in the Main Files directory.