changeset 950:f0a9458e2f8b

Add p2.inf files for plug-in bundles This commit adds p2.inf files for the plug-in bundles that register services that the Eclipse client depends on. The contents of these files ensure that these bundles are started automatically in Eclipse. As before, these files are only read by Eclipse and do not affect other Thermostat components in any way. Reviewed-by: vanaltj Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-January/005297.html
author Elliott Baron <ebaron@redhat.com>
date Thu, 31 Jan 2013 14:43:26 -0500
parents 792ab05353ae
children e3e06ba98c4a
files host-cpu/client-core/pom.xml host-cpu/client-core/src/main/resources/META-INF/p2.inf host-cpu/common/pom.xml host-cpu/common/src/main/resources/META-INF/p2.inf host-memory/client-core/pom.xml host-memory/client-core/src/main/resources/META-INF/p2.inf host-memory/common/pom.xml host-memory/common/src/main/resources/META-INF/p2.inf host-overview/client-core/pom.xml host-overview/client-core/src/main/resources/META-INF/p2.inf vm-classstat/client-core/pom.xml vm-classstat/client-core/src/main/resources/META-INF/p2.inf vm-classstat/common/pom.xml vm-classstat/common/src/main/resources/META-INF/p2.inf vm-cpu/client-core/pom.xml vm-cpu/client-core/src/main/resources/META-INF/p2.inf vm-cpu/common/pom.xml vm-cpu/common/src/main/resources/META-INF/p2.inf vm-gc/client-core/pom.xml vm-gc/client-core/src/main/resources/META-INF/p2.inf vm-gc/common/pom.xml vm-gc/common/src/main/resources/META-INF/p2.inf vm-memory/common/pom.xml vm-memory/common/src/main/resources/META-INF/p2.inf
diffstat 24 files changed, 276 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/host-cpu/client-core/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/host-cpu/client-core/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat Host CPU Core Client plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host-cpu/client-core/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/host-cpu/common/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/host-cpu/common/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat Host CPU Common plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host-cpu/common/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/host-memory/client-core/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/host-memory/client-core/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat Host Memory Core Client plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host-memory/client-core/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/host-memory/common/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/host-memory/common/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat Host Memory Common plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host-memory/common/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/host-overview/client-core/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/host-overview/client-core/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat Host Overview Core Client plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host-overview/client-core/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-classstat/client-core/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-classstat/client-core/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM ClassStat Core Client plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-classstat/client-core/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-classstat/common/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-classstat/common/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM ClassStat Common plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-classstat/common/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-cpu/client-core/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-cpu/client-core/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM CPU Core Client plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-cpu/client-core/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-cpu/common/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-cpu/common/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM CPU Common plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-cpu/common/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-gc/client-core/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-gc/client-core/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM GC Core Client plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-gc/client-core/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-gc/common/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-gc/common/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM GC Common plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-gc/common/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);
--- a/vm-memory/common/pom.xml	Thu Jan 31 14:42:17 2013 -0500
+++ b/vm-memory/common/pom.xml	Thu Jan 31 14:43:26 2013 -0500
@@ -10,6 +10,22 @@
   <packaging>bundle</packaging>
   <name>Thermostat VM Memory Common plugin</name>
   <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+        <excludes>
+          <exclude>**/*.png</exclude>
+        </excludes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.png</include>
+        </includes>
+      </resource>
+    </resources>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm-memory/common/src/main/resources/META-INF/p2.inf	Thu Jan 31 14:43:26 2013 -0500
@@ -0,0 +1,7 @@
+# Instructs Eclipse update manager to auto-start this bundle
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: 4); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: true);
+instructions.unconfigure = \
+org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel: -1); \
+org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started: false);