-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demos fail due to SNAPSHOT error #2
Comments
Hi! I did copy the solution from Slack to the forum in the linked post. In that case it was simply that the environment Does your openrndr-template run the https://github.com/openrndr/openrndr-template/blob/master/src/main/kotlin/TemplateProgram.kt ? |
Thanks for the response - setting the ❯ export | grep JAVA_HOME
JAVA_HOME=/Users/xxx/Library/Java/JavaVirtualMachines/openjdk-17.0.2/Contents/Home The openrndr template works as long as I do not activate any orml features. |
In the examples I've seen the Is there a |
Looks finde to me ❯ ls /Users/xxx/Library/Java/JavaVirtualMachines/openjdk-17.0.2/Contents/Home/bin
jar jcmd jhsdb jpackage jstatd
jarsigner jconsole jimage jps keytool
java jdb jinfo jrunscript rmiregistry
javac jdeprscan jlink jshell serialver
javadoc jdeps jmap jstack
javap jfr jmod jstat |
I tried on my system by cloning the orml repo and running I'll try to find help :) |
I'll try to compile the matching versions to my local maven repository How did you manage to compile the proper versions for each? And why is gradle not doing this for me or is there a way to compile those for me automatically? |
Hi. I think Edwin was working in recent days to release orml in maven central. It will be there when he has a minute. There's this: https://github.com/openrndr/openrndr/wiki/Version-matrix (don't know if it's up to date). When making a local snapshot I just type something like this:
As far as I understand, I can set any snapshot name I want there. The name should match the name another component tries to use. I forgot to mention that in my last test I was using everything from git, no remote packages. I do that because I often make changes and send them back as pull requests. |
Thanks for the hint, it turns out reading What worked for me was
Now one can create a project from https://github.com/openrndr/openrndr-template and uncomment something from https://github.com/openrndr/openrndr-template/blob/71bb6c61c7ffdd5feca47b8168289a25d1b8c341/build.gradle.kts#L65-L75 and can start the coding :) Still don't get why gradle can't build this for me automatically b/c with this global installations it is doomed to fail. Shall we close this issue? |
Nice! Happy that you made it work :) I would wait for Edwin to close it, maybe there's something that can be done to make this easier (either documentation or the maven-central package he was preparing). Cheers! |
Cloning this repo (on commit 6675872) and trying to run any example fails
Also switching
orml/buildSrc/src/main/kotlin/Versions.kt
Lines 2 to 3 in 0c731f7
to false so it does not rely on snapshot releases fails now with
When using the the OPENRNDR template and uncomment e.g.
dbface
inhttps://github.com/openrndr/openrndr-template/blob/71bb6c61c7ffdd5feca47b8168289a25d1b8c341/build.gradle.kts#L65-L67
yields the following error when trying to run any code in intellij idea
I am somehow always confused by the dependency management systems of programming languages [even python/pip confuses me enough although I code with it professionally] - this holds true for gradle. Isn't a dependency/building system there so it builds stuff for me if its not available?
I found https://openrndr.discourse.group/t/cant-get-orml-to-work/306/4 on the forum but in the end it links to a slack link which one can only visit with a slack account which I do not have.
Maybe it is a naive error of mine, but even if it is it would be good to have it at least documented.
I am using macOS 11.6.2 with openjdk 17.
The text was updated successfully, but these errors were encountered: