Exclude resources from the build
- Last Updated: April 17, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
You can exclude compilable resources when you build your project.Excluding resources
option is available only for the resources listed in the Source directory
viewer on the Source tab of the Build
properties page. For example, if the Source directory viewer displays
ROOT as the entry, the Exclude from Build option is enabled
for all the compilable resources (
.p, .cls,
.w, or .htm files, for example) under the
project’s root folder. Note: See Editor Build options for
the list of compilable file extensions defined for your project.
You can exclude resources using the Build path or the Source tab of the Build properties page. When excluding the resources, note the following:
- Excluding a folder also excludes all of its files and folders from the build.
- You can individually select a file or a folder to exclude from the build.
- When you exclude resources (files or folders) from a folder, they remain
excluded from the build even if the folder is excluded from the build, and then
included at a later point. For example, if you exclude a file called
customer.cls under the folder called
SampleAppfrom the build, then exclude the folderSampleAppfrom the build, and then include the folder SampleApp, then thecustomer.clsfile remains excluded from the build.