In a Progress Developer Studio for OpenEdge project, you can exclude or include
compilable resources (like p, cls, or htm) from your project build.
Exclude
from Build excludes the selected resources from the build and
Include in Build includes the resources that were excluded
from the build previously. You can access these options from the context menu of the
resource or from the
Source tab of the
Build properties page.
The excluded resources entries are saved to the Excluded node on
the Source tab, and only the entries that are present under the
Source tab are considered for building. The Progress
Developer Studio for OpenEdge compiler checks the exclusion entries before compiling a
file. Once a file is excluded, then the r-code of that file is deleted. If the earlier
excluded file is now included, then the respective file is compiled and the
corresponding r-code for it is created. The project is compiled (r-code is generated)
only when the relative path of the project being included does not match with any other
resource relative path, which is at the top of order on Source
tab.
For new projects created in the Progress Developer Studio for OpenEdge 11.0, the project
ROOT node is explicitly added to the
Source tab by default. A new node
Excluded is added to the project
ROOT
on the
Source tab. In releases prior to 11.0, the
Source tab contained no entries by default even though the
project root is included in the build implicitly. When an older version project is
opened with Progress Developer Studio for OpenEdge 11.0, note the following:
- If the project does not contain any directories under the
Source tab, the project ROOT
node is added under the Source tab by default. A warning message appears in the
Problems view as Project root is added under
the source tab. Only the entries under the source tab are
built.
- If the project contain folders under the source tab, no project
ROOT is added. A warning appears in the
Problems view as only the entries under the
Source tab are built.
Note: The warning message displays only the first time a project
created in a release prior to 11.0 is opened with 11.0. The warning message is
removed from the
Problems view, when you add or modify
entries in the
Source tab of the
Build properties page.
When you remove the ROOT node or last existing node from the
Source tab, a warning message appears as Removing all entries
from the Source tab results in no resources being built. Do you want to continue?. Only
the entries that appear under ROOT node on the
Source tab gets built automatically. However, you can
manually compile the files in your project.