changeset 1668:22e60a5cb212 default tip

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 2829 Reviewed-by: jerboaa, neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-August/015499.html Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-February/017630.html
author Omair Majid <omajid@redhat.com>
date Mon, 24 Aug 2015 13:07:06 -0400
parents 09a7b09c302a
children
files vm-profiler/pom.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vm-profiler/pom.xml	Thu Jun 04 00:01:22 2015 -0500
+++ 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>