Closed dwrensha closed 4 years ago
@yamass I'm having trouble reproducing this problem. Are you using the latest capnproto-java? What version of the capnp
tool do you have? (capnp --version
)
You are right, I was using a quite old version (0.5.3) since I was using https://github.com/expretio/capnp-maven-plugin which is totally out of date. Or more precisely, the native binaries are out of date: https://github.com/expretio/capnp-natives. You might want to mention it in the documentation.
My solution was to compile new binaries and release capnp-natives into our company's private repository.
I will write a ticket for capnp-natives. However, I will not provide a pull request, since I did not manage to compile a windows binary. Well, and also because it is quite strange to provide pull requests with binary executables...
Regarding binary distributions: Are there any? (Interested in windows binaries, especially...)
I think you were hitting the capnpc-java bug that was fixed in #56.
It would be good to eventually rewrite the schema compiler plugin (capnpc-java) in java, so that the only C++ code needed is the capnp
tool.
Originally posted by @yamass in https://github.com/capnproto/capnproto-java/issues/12#issuecomment-626721459
Model:
Unit Test: