changeset 1:5ed86f4d1723

update to work with new plugin format
author Omair Majid <omajid@redhat.com>
date Fri, 15 Feb 2013 17:11:14 -0500
parents c504d87d9471
children afd6bcb26436
files install.sh plugin.conf plugin.xml
diffstat 3 files changed, 23 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/install.sh	Thu Feb 14 17:44:34 2013 -0500
+++ b/install.sh	Fri Feb 15 17:11:14 2013 -0500
@@ -21,4 +21,4 @@
 
 mkdir -p "${PLUGIN_HOME}"
 cp target/"${PLUGIN_NAME}"-"${PLUGIN_VERSION}".jar "${PLUGIN_HOME}/"
-cp plugin.conf "${PLUGIN_HOME}"/
+cp plugin.xml "${PLUGIN_HOME}"/
--- a/plugin.conf	Thu Feb 14 17:44:34 2013 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" ?>
-<plugin>
-  <commands>
-    <existing>
-      <name>gui</name>
-      <bundles>
-        hello-world-plugin-0.1-SNAPSHOT.jar,
-      </bundles>
-    </existing>
-    <new>
-      <name>hello</name>
-      <description>print hello</description>
-      <usage>hello</usage>
-      <bundles>
-        hello-world-plugin-0.1-SNAPSHOT.jar,
-      </bundles>
-      <dependencies>
-        thermostat-client-core-0.6.0-SNAPSHOT.jar,
-      </dependencies>
-    </new>
-  </commands>
-</plugin>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugin.xml	Fri Feb 15 17:11:14 2013 -0500
@@ -0,0 +1,22 @@
+<?xml version="1.0" ?>
+<plugin>
+  <commands>
+    <command type="extends">
+      <name>gui</name>
+      <bundles>
+        <bundle>hello-world-plugin-0.1-SNAPSHOT.jar</bundle>
+      </bundles>
+    </command>
+    <command type="provides">
+      <name>hello</name>
+      <description>print hello</description>
+      <usage>hello</usage>
+      <bundles>
+        <bundle>hello-world-plugin-0.1-SNAPSHOT.jar</bundle>
+      </bundles>
+      <dependencies>
+        <dependency>thermostat-client-core-0.6.0-SNAPSHOT.jar</dependency>
+      </dependencies>
+    </command>
+  </commands>
+</plugin>