Skip to main content

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.

Jump to: navigation, search

FAQ When does PDE change a plug-in's Java build path?

Revision as of 14:57, 14 March 2006 by Claffra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Whenever you add dependent plug-ins in the Manifest Editor, the underlying classpath has to be updated to give you access to the classes defined by the plug-in in question. When you save the plugin.xml file, the editor will also update the Java build path: the .classpath file.


In Eclipse 3.0, the PDE uses a special classpath entry called a classpath container to avoid having to directly modify the .classpath file every time your plug-in’s dependencies change. During builds, this classpath container resolves to the set of dependencies specified in the plugin.xml file.


Regardless of whether classpath containers are used, it makes little sense to edit the .classpath file by hand or to make changes directly to the Java Build Path property page for plug-in projects. Any changes you make there will be silently overwritten the next time you save the Manifest Editor.



See Also:

[[FAQ_Why_doesn%26%23146%3Bt_my_plug-in_build_correctly%3F]]


FAQ_What_is_the_classpath_of_a_plug-in?

Back to the top