changeset 830:e4698d239792

Add web storage bundles to rest of commands. This patch adds required bundles to *.properties. It will allow one to use http(s) protocols for one-off-command-runs in addition to running in shell + connect. Reviewed-by: neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-December/004489.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Mon, 10 Dec 2012 14:08:24 +0100
parents 4a2c3aa5742e
children 941737272b79
files distribution/config/commands/connect.properties distribution/config/commands/dump-heap.properties distribution/config/commands/find-objects.properties distribution/config/commands/find-root.properties distribution/config/commands/list-heap-dumps.properties distribution/config/commands/list-vms.properties distribution/config/commands/object-info.properties distribution/config/commands/ping.properties distribution/config/commands/save-heap-dump-to-file.properties distribution/config/commands/show-heap-histogram.properties distribution/config/commands/vm-info.properties distribution/config/commands/vm-stat.properties
diffstat 12 files changed, 57 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/distribution/config/commands/connect.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/connect.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -1,7 +1,7 @@
 # ConnectCommand is provided by the tools bundle, which is a bootstrap bundle.
 # In order to support web storage connections we add web bundles here
-bundles = thermostat-web-common-0.5.0-SNAPSHOT.jar, \
-          thermostat-web-client-0.5.0-SNAPSHOT.jar, \
+bundles = thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
           thermostat-storage-mongodb-${project.version}.jar, \
           mongo.jar, \
           commons-beanutils.jar, \
--- a/distribution/config/commands/dump-heap.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/dump-heap.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -9,6 +9,11 @@
           commons-beanutils.jar, \
           commons-collections.jar, \
           commons-logging.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = trigger a heap dump on the VM
--- a/distribution/config/commands/find-objects.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/find-objects.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -8,6 +8,11 @@
           commons-beanutils.jar, \
           commons-collections.jar, \
           commons-logging.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = Finds objects in a heapdump
--- a/distribution/config/commands/find-root.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/find-root.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -8,6 +8,11 @@
           commons-beanutils.jar, \
           commons-collections.jar, \
           commons-logging.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = finds the shortest path from an object to a GC root
--- a/distribution/config/commands/list-heap-dumps.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/list-heap-dumps.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -8,6 +8,11 @@
           thermostat-client-command-@project.version@.jar, \
           thermostat-client-heapdumper-core-@project.version@.jar, \
           thermostat-laf-@project.version@.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = list all heap dumps
--- a/distribution/config/commands/list-vms.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/list-vms.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -1,5 +1,10 @@
 # ListVmsCommand is provided by tools bundle (a bootstrap bundle), but needs storage impls
 bundles = thermostat-storage-mongodb-${project.version}.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           mongo.jar, \
           commons-beanutils.jar, \
           commons-collections.jar, \
--- a/distribution/config/commands/object-info.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/object-info.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -8,6 +8,11 @@
           thermostat-client-command-@project.version@.jar, \
           thermostat-client-heapdumper-core-@project.version@.jar, \
           thermostat-laf-@project.version@.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = prints information about an object in a heap dump
--- a/distribution/config/commands/ping.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/ping.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -1,6 +1,11 @@
 bundles = thermostat-common-command-@project.version@.jar, \
           thermostat-client-command-@project.version@.jar, \
           thermostat-storage-mongodb-${project.version}.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           mongo.jar, \
           commons-beanutils.jar, \
           commons-collections.jar, \
--- a/distribution/config/commands/save-heap-dump-to-file.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/save-heap-dump-to-file.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -8,6 +8,11 @@
           thermostat-client-command-@project.version@.jar, \
           thermostat-client-heapdumper-core-@project.version@.jar, \
           thermostat-laf-@project.version@.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = saves a heap dump to a local file
--- a/distribution/config/commands/show-heap-histogram.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/show-heap-histogram.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -8,6 +8,11 @@
           thermostat-client-command-@project.version@.jar, \
           thermostat-client-heapdumper-core-@project.version@.jar, \
           thermostat-laf-@project.version@.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           netty.jar
 
 description = show the heap histogram
--- a/distribution/config/commands/vm-info.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/vm-info.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -1,6 +1,11 @@
 # VMInfoCommand is provided by the tools bundle, a bootstrap bundle.
 # Requires storage impls only.
 bundles = thermostat-storage-mongodb-${project.version}.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           mongo.jar, \
           commons-beanutils.jar, \
           commons-collections.jar, \
--- a/distribution/config/commands/vm-stat.properties	Mon Dec 10 13:35:07 2012 +0100
+++ b/distribution/config/commands/vm-stat.properties	Mon Dec 10 14:08:24 2012 +0100
@@ -1,6 +1,11 @@
 # VMStatCommand is provided by tools bundle, a bootstrap bundle.
 # Requires storage impl bundles only.
 bundles = thermostat-storage-mongodb-${project.version}.jar, \
+          thermostat-web-common-${project.version}.jar, \
+          thermostat-web-client-${project.version}.jar, \
+          httpcomponents-core.jar, \
+          httpcomponents-client.jar, \
+          gson.jar, \
           mongo.jar, \
           commons-beanutils.jar, \
           commons-collections.jar, \