dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
e 2016-11-15T08:43:12.002850Z

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?

2016-11-15T08:45:50.002851Z

@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

e 2016-11-15T08:48:44.002853Z

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

2016-11-15T08:51:18.002854Z

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

e 2016-11-15T08:53:59.002856Z

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

2016-11-15T08:56:13.002857Z

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

2016-11-15T09:08:49.002858Z

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

2016-11-15T09:16:41.002861Z

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

2016-11-15T09:16:53.002863Z

what is your OS?

e 2016-11-15T09:37:24.002864Z

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

e 2016-11-15T09:38:01.002865Z

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

e 2016-11-15T09:39:54.002866Z

here's my full script output: https://gist.github.com/erno/e282a523bd053b90169f1e92d21b906d

e 2016-11-15T09:41:46.002867Z

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

e 2016-11-15T09:58:16.002868Z

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

e 2016-11-15T09:59:19.002869Z

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

2016-11-15T10:03:02.002870Z

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