Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
DTP Resolving Internal Discouraged Access Warnings
Revision as of 12:08, 24 August 2007 by John.graham.sybase.com (Talk | contribs)
← Back to the DTP Ganymede Discouraged Access page
Document Status
[8/24/07]: This document is a draft and should not be taken as offical until reviewed and approved by the DTP PMC and project leads.
Purpose
This document shows how to set access rule exceptions for filtering out internal Discouraged Access warning in DTP Ganymede and future versions.
Procedure
An access rule exception needs to be set for the plug-in project's build configuration.
- For the plug-in project, open the build configuration page (either <alt-enter> or "Properties" from the context menu for the plug-in project), and select the "Libraries" tab for "Java Build Path":
- Expand the "Plug-in Dependencies" node (note: watch out, since the "JRE System Library" node has an "Access rules" child too, and setting the filter there will not work as expected):