I was a bit late with the answer, but this might be useful to someone:
In Eclipse:
1) right-click the destination folder β New β File
2) click " Advanced β " and set " Link to file in the file system "
3) Browse, select the source file and click Finish
There you are!
However, if you just exchange source files from a neighboring project in the workspace, you can simply import them as you import any other classes:
import other.project.class;
The latter works for me, if it is not for you - I can search for settings.
source share