Closed driemekasten closed 9 years ago
The java sources are generated with the build/source_template/*.templates. https://github.com/jpountz/lz4-java/blob/master/src/build/source_templates/compressor.template
One issue I have with this is it means someone can not quickly test lz4 in a pure java environment as they first have to understand its build and configuration system. Could the default java configuration not be one that is a work 100% java configuration.
Thanks
P.S. any notes on how to use the build system would help as it seems to be an extensive system and so not quick to pick up. For now I'm just going to use an older version that does not have all this complexity.
@ecki is correct.
@rit001 It is true that the build system became more and more complex, mostly in order to avoid duplicating content between the 3 different lz4 and xxhash implementations that we have. This is why I introduced templates that help generate both the safe and unsafe Java impls. I just pushed more information about the build system to the README file (have a look at the end). Please let me know if there is information that you need that is not in this file.
Thanks, with those notes I found it very easy to build the jars.
Lib builds well (except the unsafe-warnings), but the example doesn't run:
Exception in thread "main" java.lang.AssertionError: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeCompressor
Similar to issue #19.
I'm also interested in building LZ4 with the pure java implementation only.