[Nix-dev] Jar files

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Aug 28 17:17:50 CEST 2015


Hi,

On 28/08/15 15:02, Daniel Peebles wrote:

> So is the solution to make our java packaging never produce any jars, and
> explicitly unpack any we encounter?

The simple solution is to generate uncompressed JARs ("jar -0"). But that should
be rarely needed since Java packages typically don't store paths to runtime
dependencies (though putting the paths to JAR dependencies in JAR manifests
would be a nice way to get RPATH-like behaviour!).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list