Fork me on GitHub
#dirac
<
2016-11-15
>
e08:11:12

hello, i followed the installation instructions and made as far as running the agent-launcher script. it gets as far as running the command "mvn help:evaluate -Dartifact=binaryage:dirac -Dexpression=project.version", and exits because that returns an error code, and error message "Unable to get the POM for the artifact 'binaryage:dirac'. Verify the artifact parameter.". i don't really know maven. it does have the dirac-0.8.4.jar and .pom files downloaded in ~/.m2/repository/binaryage/dirac/0.8.4/. any ideas?

darwin08:11:50

@e the script is probably outdated/broken, nobody uses it probably, please install agent into your nREPL server as described in https://github.com/binaryage/dirac/blob/master/docs/installation.md

e08:11:44

Ah, I didn't see the "But I have a better idea" after it mentions the script 🙂

darwin08:11:18

btw. do you have mvn on path? maybe that was the reason why it failed?

e08:11:59

yes, the POM related error message came from the installed mvn

darwin08:11:13

let’s check the nvm versions, I’m going to test it on my main machine

darwin09:11:49

finally restarted, it looks like I don’t have mvn on path anymore (since updating to macOS 12)

darwin09:11:41

@e the agent launcher script still seems to work for me: https://gist.github.com/darwin/8c0296c5237ab9b6b41af772d5697a11

darwin09:11:53

what is your OS?

e09:11:24

sorry, was out for lunch. this is a freshly installed ubuntu 16.04 in a lxd container

e09:11:01

i have Apache Maven 3.3.9, it's what came from apt install maven

e09:11:46

(there's a warning about JAVA_HOME but setting it didn't make a difference)

e09:11:16

ok, now i got the agent started using the repl-options init option 🙂

e09:11:19

(was first trying to put it under [:profiles :dev :repl-options], worked better at top level)

darwin10:11:02

@e ok, not sure what went wrong, I’m a java/maven noob