Here's the situation: I got 10 projects that need 2 libs to run: Jsoup (A html parser API), and Utils (Framework developed by me).
I want to update that Utils project from time to time, and not have to re-compile 10 projects everytime that happens..
So I started using
Ant, and after a great amount of time figured this much out:
Problem is... When I try to run it, I get the following error:
RoboBean is a class inside the referenced package, and when I open the jar, I can see that it's in its right place.
I tried exporting the Runnable Jar with Eclipse specifying "Copy required libraries into a sub-folder next to the generated JAR",
thought it'll build 10 folders for 10 projects, which is not what I'm aiming for here...
After doing it, I compared both MANIFEST.MF's... To my surprise, here's what differs:
This is the one generated by Eclipse
And this is the one generated by my build.xml
I already searched all over JavaRanch and StackOverflow and found nothing that could explain / clarify anything...