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.
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 SampleApp from the build, then exclude the folder SampleApp from the build, and then include the folder SampleApp, then the customer.cls file remains excluded from the build.