I have 4 different Java Projects created in Eclipse.
One of them contains all my Utilities and Helper methods, that the other 3 projects use.
I don't want to copy that same package 3 times into each project, since I want to be able to just edit it in one place if I should have to. So, I have referenced the myUtilities project from all other 3 projects.
I'll be exporting the 3 main projects and they will be going to different servers to run independently as "java -jar myproject.jar"
Everytime I do an export, the myUtilities.jar is not getting compiled in the JAR. If I open the JAR, I can see it is not there. And this is going to be a problem when I move them to the other servers.
Is there a way to add the package into the source for the JAR? Or am I going to have to copy the myUtilities.jar into the JAVA_HOME of each server?
This is my current Manifest file:
Manifest-Version: 1.0
Main-Class: com.elcool.process.alpha.RetrieverMain