sbt-javaagent
sbt-javaagent copied to clipboard
Putting agent JARs in lib directory
Any particular reason that the agent JARs are not in the lib directory along with all the other dependencies?
Instead of:
addJava "-javaagent:${app_home}/../kanela-agent/kanela-agent-1.0.9.jar"
it could be:
addJava "-javaagent:${lib_dir}/kanela-agent-1.0.9.jar"
I think it was probably so that lib/*
can be added to the classpath without including the agent.
Good point although it seems in at least version 1.7.5 of sbt-native-packager that it adds all the classpath entries explicitly.