How to automatically check / verify that all external libraries are included in the lib folder in eclipse?

I have to send my homework as shaded folders to the eclipse project. I just lost a few points in a solid program, because in my view some external libraries were missing. I looked into the project folder and I can’t understand what kind of libraries it is. Is there an option in eclipse that automatically copies all external banks to the lib folder? Thanks!

+6
source share
1 answer

Absolutely the best you can do is check it out. Open a new Eclipse workspace and import the project as if you were receiving it from a student.

Also make sure that you do not configure your project to use any truly external libraries that are outside the project folder, otherwise, if you are still on the same computer, you may not notice that there is a problem. Store them in the "lib" folder under the project. (Do this from the beginning, instead of worrying about copying them later. Do you need to use external libraries in the first place?)

Alternatively, if your instructor is open to him, see if you can use a dependency management mechanism like Apache Maven.

+4
source

Source: https://habr.com/ru/post/903424/


All Articles