Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import one Eclipse project as a library into another?

I would like to use one of my eclipse projects in another one. Is there a 'smooth' way to do that, without having to export one as a jar file and importing it into another? Especially since I work on both project simultaneously, I would like the latest changes from the imported project to be automatically built and imported into the other one. Is that possible?

like image 922
Andreas Hartmann Avatar asked Dec 08 '22 04:12

Andreas Hartmann


1 Answers

It is possible. Right click on your project -> Build Path -> Configure Build Path. Switch to the Projects tab and add one. It will work as a library.

P.S. You might also want to check this: Creating a java library with Eclipse

like image 74
Kostya Buts Avatar answered Dec 11 '22 08:12

Kostya Buts