Uberjar through eclipse?
I've been researching this for a while but I have to ask: isn't it accomplishable through Eclipse by now? I've found answers regarding Maven and Ant, but I've never used either. Should my output .jar file be a runnable jar it could be done through eclipse, but it's a library that uses external jars.
So, is there something I missed or it is the Maven/Ant path for me?
Edit: regarding Jarrod answer, I'm on a tight schedule here and can't afford spare much time on thi开发者_运维技巧s task (thanks for the tip, 'tho!)
Take the time to learn Maven ( maven-shade-plugin ), it will pay dividends in spades!
That said, I have done this using Ant as well., and it is a much more manually intensive solution.
I use Maven 3 exclusively now and would never go back to vanilla do it all manually with Ant again.
The time it takes to Mavenize a project pays off over and over and over during the lifecycle of the project and its maintanence by other people.
The tighter the schedules the more valuable build and release automation becomes, and the less mistakes you make means less time re-doing multi-step processes that are tedious and error prone.
精彩评论