clara

http://www.clara-rules.org/
defndaines 2019-04-04T15:02:32.015Z

I was able to smoke-test with the SNAPSHOT version and didn’t see any issues.

defndaines 2019-04-04T15:03:23.016100Z

As a follow up to the questions yesterday (had to drop off, but thanks for all the suggestions): I could not build the project with either JDK 11 or 12. I was able to build the project with JDK 8.

2019-04-04T15:16:23.016600Z

@defndaines did you try my suggestion on running lein?

2019-04-04T15:16:46.016900Z

Have to use a profile etc

defndaines 2019-04-04T15:26:48.018300Z

Yeah, I tried all the suggestions above and none of them worked. Maybe it’s a set-up issue, but neither of the profiles work for me. I suspect that it’s because that XML fix for Java 9 only works in 9 and 10, and then was fully deprecated and removed in 11 so that it doesn’t cut it anymore.

2019-04-04T15:32:39.018600Z

@defndaines I didn’t think 11 went full on breaking for people

2019-04-04T15:32:41.018800Z

but perhaps

2019-04-04T15:32:55.019200Z

we need to update dependencies in Clara, I may try to do this soon

2019-04-04T15:33:54.019500Z

It probably somewhat relates to https://github.com/cerner/clara-rules/issues/388 so I’ll probably use that one

2019-04-04T15:34:07.019900Z

The offending deps are probably on the cljs side

2019-04-04T15:34:11.020100Z

but will have to check

2019-04-04T15:39:10.020300Z

They removed it in jdk11 indeed: https://stackoverflow.com/a/52502208/924604

2019-04-04T15:39:33.020800Z

you have to add the jar now to the :dependencies is you need it - but we probably don’t need it, just using too old deps.

defndaines 2019-04-04T16:32:46.021900Z

Yeah, the error messages I was looking at yesterday when I ran things were all around the CLJS compilation. I tried some quick version updates myself, but it involved a lot more than changing the project.clj.

2019-04-04T16:57:11.022300Z

@defndaines yeah, I’m working on the #388 issue a bit, hopefully not long before I can PR it

2019-04-04T16:57:28.022800Z

I want to fix the cljs build in a few ways, but I do have it building now with jdk11 just using some newer clj+cljs deps

2019-04-04T16:57:40.023200Z

I have all the details on that #388 issue if anyone is curious

2019-04-04T16:58:13.023700Z

It’s still a weird world to me to see the jdk not being backwards compatible. I think that’s basically unheard of until about jdk9 came along hah

1
2019-04-04T16:58:48.024100Z

it’s a new world, new release cadence, new “ownership of distros”