How to export a jar with only dependencies set to export in eclipse?

So I have some code as well as some dependencies / libraries.

I have some of the libraries set up for export (stuff like JSON and another jar that I created) and some not (mostly JUnit).

When I go to the Rclick> export> java> Jar File project, it doesn't add any of the libraries.

When I go to Rclick> export> java> Runnable Jar File project, it adds EVERY library.

How do I create a jar file with only the dependencies I choose?

+3


source to share





All Articles