Mercurial > hg > release > thermostat-1.4
changeset 1738:bafe5e5ab55b
Fix possibly-incorrect hardcoded path to profiler jar
In order to account for a missing trailing slash when someone sets a
custom value for the 'themrostat.home' property at build time, add a
slash explicitly. Otherwise the directories may be joined together
resulting in an invalid path and the profiler will fail to find its
jars at runtime.
PR 2596
Reviewed-by: neugens
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-August/015499.html
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Mon, 24 Aug 2015 13:07:06 -0400 |
parents | 92fa2e05b10e |
children | d4e7ccafce3f |
files | vm-profiler/pom.xml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vm-profiler/pom.xml Wed Aug 19 10:47:55 2015 -0400 +++ b/vm-profiler/pom.xml Mon Aug 24 13:07:06 2015 -0400 @@ -51,8 +51,8 @@ <name>Thermostat VM CPU plugin</name> <properties> - <thermostat.vm.profiler.dir>${thermostat.home}plugins/vm-profiler/</thermostat.vm.profiler.dir> - <thermostat.vm.profiler.agent.asm.path>${thermostat.home}plugins/vm-profiler/asm-all-${asm.version}.jar</thermostat.vm.profiler.agent.asm.path> + <thermostat.vm.profiler.dir>${thermostat.home}/plugins/vm-profiler/</thermostat.vm.profiler.dir> + <thermostat.vm.profiler.agent.asm.path>${thermostat.home}/plugins/vm-profiler/asm-all-${asm.version}.jar</thermostat.vm.profiler.agent.asm.path> </properties> <modules>