|
David Newton wrote:I forget the target at the moment, but you can also have it jar up the entire application including dependencies.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
David Newton wrote:I forget the target at the moment, but you can also have it jar up the entire application including dependencies.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:The only way you can build a single executable jar and still retain the identities of the included jars is if the application being executed provides itself with a custom classloader. The standard Java class loading mechanism doesn't look inside jars embedded within jars.
Such classloaders aren't that uncommon. For example, Tomcat does exactly that in order to resolve references to jars in the WEB-INF/lib directories of WARs. Likewise, container frameworks such as the old Avalon Phoenix system did that. It's just that you don't get that feature free with the language, nor is there a standard classloader bundled with the stock JVM that provides that capability. Although it's not that difficult (speaking from experience) to write one.
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|