Excluding a file from a scan
Before you begin
Note: If your application is an Eclipse workspace, you cannot
exclude files from scans.
Procedure
- In the Explorer view, select the file or files to eliminate from the scan.
- Right-click the selection and choose Exclude from Scans from the menu.
Results
When the Properties view is opened for the project that contains the file, the view's Sources tab lists files in the project, including excluded files.
Project files are listed under the Source Root icon. Files that are excluded from scanning have a red file icon (if an excluded file is right-clicked, its menu has Exclude disabled and Include enabled). To exclude an included file, right-click it and choose Exclude in the menu. To include an excluded file, right-click it and choose Include in the menu.