Excluding files from annotation scanning

Using the annotation exclusion tool, you can indicate files that you want to exclude from annotation scanning.

Procedure

  1. To use the annotation exclusion tool:
    1. In an EAR project: In the Enterprise Explorer view, right-click your EAR file, and select Java™ EE Tools > Open Manifest.
    2. In an EJB or web project: In the Enterprise Explorer view, right-click your MANIFEST.MF file (in the META-INF folder under the ejbModule folder in EJB projects and under the WebContent folder of web projects), and select Open With > Manifest Editor.
  2. In the Design view of the Manifest editor, in the Annotation Scanning Filter section, type the jars and packages that you want to exclude from annotation scanning:
    Exclude from annotation scanning
  3. Press CTRL+S to save. When you open the Source view of the Manifest editor, your excluded files appear:
    Updated manifest file
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tannoscanfil.html