I have a java project and I want to develop it without replacing the source code from its place. I want to link my code to my workspace without replace physically?
Project
you want to reference from on Package Explorer
Properties
( or hit Ctrl-Enter ).Projects
in Java 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
.
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With