Compiling an Eclipse project to a jar

I am referring to another eclipse project from the current project that I am working on.

Everything works fine except when I try to create a zipped project and use a jar instead of an eclipse project, my project doesn't work as expected.

I know this is a bit vague, but is there something I could be doing wrong in starting the Eclipse project referenced by the project that Eclipse cares about when I just add the project as a reference?

0


source to share


1 answer


I figured out what the problem is.

The project I referenced has a set of reference libraries that when I referenced the project were added as references to my project, however, when I jarred the project, those projects no longer referenced my project, so it didn't works



The solution was to add reference projects to my project references.

+2


source







All Articles