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?
@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
Ah, I didn't see the "But I have a better idea" after it mentions the script 🙂
btw. do you have mvn
on path? maybe that was the reason why it failed?
yes, the POM related error message came from the installed mvn
let’s check the nvm
versions, I’m going to test it on my main machine
finally restarted, it looks like I don’t have mvn
on path anymore (since updating to macOS 12)
@e the agent launcher script still seems to work for me: https://gist.github.com/darwin/8c0296c5237ab9b6b41af772d5697a11
what is your OS?
sorry, was out for lunch. this is a freshly installed ubuntu 16.04 in a lxd container
i have Apache Maven 3.3.9, it's what came from apt install maven
here's my full script output: https://gist.github.com/erno/e282a523bd053b90169f1e92d21b906d
(there's a warning about JAVA_HOME but setting it didn't make a difference)
ok, now i got the agent started using the repl-options init option 🙂
(was first trying to put it under [:profiles :dev :repl-options], worked better at top level)
@e ok, not sure what went wrong, I’m a java/maven noob