How to link project in eclipse
Linking Source
Project properties -> Java build path (tree-item) -> Source (tab) -> Link source (button)
Linking Projects
Project properties -> Java build path (tree-item) -> Projects (tab) -> Add... (button)
Suggestion
See Eclipse help topic: Workbench User Guide > Tasks > Working with projects, folders and files > Creating linked resources
.
- Select the
Project
you want to reference from onPackage Explorer
- Right-click and go to
Properties
( or hit Ctrl-Enter ). - Under
Projects
inJava Build Path
you can add another project which is currently open.
If you want to override a class you can make a copy of it in your current project and move it further up in the classpath in Order and Export
.