Fork me on GitHub
#hoplon
<
2020-03-15
>
jamieorc19:03:48

Looking for a current template or gist that will let me get going with current libs with Hoplon and Castra. I’ve got a sample I built in the Fall of 2016, but trying to get going with the old hoplon-castra boot template has lead to several hours of dead ends. It’s been a few years since I’ve done anything for real in CLJ/CLJS, and I pulled this stuff out last night and got excited to convert an old personal rails project over, but not finding success so far.

jamieorc20:03:26

Now I’m doubly confused. I killed my old app that was running and when I restarted it (`boot dev`), I got errors. I am sure I didn’t change anything in that project. clojure.lang.ExceptionInfo: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(org/httpkit/server.clj:1:1) I did update boot (but not the version in boot.properties) this morning via brew. I’m at a loss. I’ll come back Monday and see if anyone is around.

flyboarder20:03:12

@jamieorc there was a bug with the brew script, I think someone has a PR open with a working fix at the homebrew project

flyboarder20:03:36

I would install using the install script

jamieorc20:03:57

@flyboarder you mean for brew upgrade boot-clj?

jamieorc20:03:47

oh man. I’m so at a loss. I was like, well I’ll go back and play with the 2016 project and then it won’t start

jamieorc20:03:01

I’ll try that

jamieorc20:03:57

@flyboarder I used sudo bash -c “cd /usr/local/bin && curl -fsSLo boot && chmod 755 boot” and it gave me 2.6.0

jamieorc20:03:26

should I use/not use 2.8.3?

flyboarder20:03:30

then it will update when your project is set to a higher version in boot properties

jamieorc20:03:38

@flyboarder Thanks. My old project is running again

jamieorc20:03:54

@flyboarder is there a template for the current release of hoplon (and castra)? I’ve been pretty stuck on that. Maybe the problem was the boot issue.

flyboarder20:03:19

probably not, castra hasnt been updated in a while, while it should be stable

flyboarder20:03:27

hoplon has had many internal improvements

jamieorc20:03:24

Recipe? Gist?

flyboarder20:03:15

I know one of my jr devs was working on updating the demos a while back

flyboarder20:03:30

maybe give that a try, if you have problems i’ll get him to fix the demo

jamieorc20:03:33

Thanks, I’ll have look

jamieorc20:03:14

looks like a whole bunch of the examples got updated 6 months ago. That’s good.

flyboarder20:03:33

that might not mean that they run tho, just that dependencies were updated

flyboarder20:03:04

@nolanbjelley @jamieorc might need some help with the demos you updated

flyboarder21:03:31

Can you follow up and make sure that demo is working

jamieorc21:03:23

Sure. I’ll let you know. Dunno if it’ll be this evening or not

jamieorc21:03:56

oh, you were probably writing to nsauce

👍 4