How does one get the generator going? #151
-
We've been using the original djinni for a while and I was delighted to find that was a project that had picked up the torch. I've finally found the time to try and migrate to the this version of the project but I've run into a rather firm wall: I have no idea how to build/use this version of the generator. Our old djinni repo has a There don't actually seem to be any instructions on setting up the repo and I don't know if that's an oversight or if it's supposed to be obvious what I should do :) I'm sure once I get it to the point where it I can run the generator I'll be fine, but can someone guide in me in whatever steps I need to take to make the 1.3.2 download I've setup functional? Any help is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Andrew You can download the djinni artifact and run it. Here are additional ways of installation listed, for the various operating systems. So you do not need to clone the repo and build it. Hope that helps you. |
Beta Was this translation helpful? Give feedback.
-
I tried downloading that but since the link was 'djinni.bat' and what I got was clearly not a batch file I assumed it was some kind of glitch. I just tried dropping in to our old build pipeline and man, it works fantastic! It clearly runs faster than before and eliminates a lot of nasty warnings to boot. I should have updated ages ago! Thanks so much! We were using the djinni support library in a weird crusty way so I'll set it up properly this time with Thanks again! |
Beta Was this translation helpful? Give feedback.
Hi Andrew
You can download the djinni artifact and run it.
All it needs is a Java installation on your computer
https://github.com/cross-language-cpp/djinni-generator/releases
Here are additional ways of installation listed, for the various operating systems.
https://djinni.xlcpp.dev/djinni-generator/setup/
(You forgot to mention on which one you are)
So you do not need to clone the repo and build it.
But if you want, have a look at the pipeline file to see how it can be built
Hope that helps you.