changeset 1512:3303d3b817f6

Made all Kill-VM bits plugins. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2014-October/011111.html
author Jie Kang <jkang@redhat.com>
date Wed, 08 Oct 2014 09:54:34 -0400
parents 57d32b9b7897
children b201e8db8a63
files distribution/assembly/core-assembly.xml distribution/config/commands/agent.properties distribution/config/commands/gui.properties killvm/distribution/pom.xml killvm/distribution/thermostat-plugin.xml
diffstat 5 files changed, 24 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/distribution/assembly/core-assembly.xml	Tue Oct 07 14:55:30 2014 -0400
+++ b/distribution/assembly/core-assembly.xml	Wed Oct 08 09:54:34 2014 -0400
@@ -61,8 +61,6 @@
         <include>com.redhat.thermostat:thermostat-agent-command</include>
         <include>com.redhat.thermostat:thermostat-agent-proxy-common</include>
         <include>com.redhat.thermostat:thermostat-agent-proxy-server</include>
-        <include>com.redhat.thermostat:thermostat-killvm-agent</include>
-        <include>com.redhat.thermostat:thermostat-killvm-client-swing</include>
         <include>com.redhat.thermostat:thermostat-common-core</include>
         <include>com.redhat.thermostat:thermostat-common-command</include>
         <include>com.redhat.thermostat:thermostat-osgi-process-handler</include>
--- a/distribution/config/commands/agent.properties	Tue Oct 07 14:55:30 2014 -0400
+++ b/distribution/config/commands/agent.properties	Wed Oct 08 09:54:34 2014 -0400
@@ -11,7 +11,6 @@
           com.redhat.thermostat.agent.proxy.common=${project.version}, \
           com.redhat.thermostat.common.command=${project.version}, \
           com.redhat.thermostat.agent.command=${project.version}, \
-          com.redhat.thermostat.killvm.agent=${project.version}, \
           com.redhat.thermostat.backend.system=${project.version}, \
           com.redhat.thermostat.storage.mongodb=${project.version}, \
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
--- a/distribution/config/commands/gui.properties	Tue Oct 07 14:55:30 2014 -0400
+++ b/distribution/config/commands/gui.properties	Wed Oct 08 09:54:34 2014 -0400
@@ -14,7 +14,6 @@
           com.redhat.thermostat.client.swing.components=${project.version}, \
           com.redhat.thermostat.internal.utils.laf=${project.version}, \
           com.redhat.thermostat.client.command=${project.version}, \
-          com.redhat.thermostat.killvm.client=${project.version}, \
           com.redhat.thermostat.filter.livingvm.core=${project.version}, \
           com.redhat.thermostat.filter.livingvm.swing=${project.version}, \
           com.redhat.thermostat.process=${project.version}, \
--- a/killvm/distribution/pom.xml	Tue Oct 07 14:55:30 2014 -0400
+++ b/killvm/distribution/pom.xml	Wed Oct 08 09:54:34 2014 -0400
@@ -91,6 +91,16 @@
       <artifactId>thermostat-killvm-command</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>com.redhat.thermostat</groupId>
+      <artifactId>thermostat-killvm-agent</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.redhat.thermostat</groupId>
+      <artifactId>thermostat-killvm-client-swing</artifactId>
+      <version>${project.version}</version>
+    </dependency>
   </dependencies>
 </project>
 
--- a/killvm/distribution/thermostat-plugin.xml	Tue Oct 07 14:55:30 2014 -0400
+++ b/killvm/distribution/thermostat-plugin.xml	Wed Oct 08 09:54:34 2014 -0400
@@ -85,5 +85,19 @@
       </bundles>
     </command>
   </commands>
+  <extensions>
+    <extension>
+      <name>gui</name>
+      <bundles>
+        <bundle><symbolic-name>com.redhat.thermostat.killvm.client</symbolic-name><version>${project.version}</version></bundle>
+      </bundles>
+    </extension>
+    <extension>
+      <name>agent</name>
+      <bundles>
+        <bundle><symbolic-name>com.redhat.thermostat.killvm.agent</symbolic-name><version>${project.version}</version></bundle>
+      </bundles>
+    </extension>
+  </extensions>
 </plugin>