Adding an existing package to an existing Java project in eclipse?

I am trying to add a package from another java project to my current java project in Eclipse. I tried just dragging and dropping the package files into the java project folder. When I searched for the package in eclipse it didn't show up even after updating the interface.

Is there something I am missing? Should it be easy?

+3


source to share


1 answer


In eclipse, if you drag and drop a project / package, there are basically three options available. I think you chose "link to files and folders". You might want to select "Copy files and folders" rather than other options to get these files and folders.



enter image description here

+1


source







All Articles