Browse code

Build: move metrics banner entry to ui/ as the pext is defined there

Thomas Cataldo authored on 04/07/2018 15:39:55
Showing 20 changed files
1 1
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<classpath>
3
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
4
-	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5
-	<classpathentry kind="src" path="src"/>
6
-	<classpathentry kind="output" path="bin"/>
7
-</classpath>
8 1
deleted file mode 100644
... ...
@@ -1,28 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<projectDescription>
3
-	<name>net.bluemind.ui.metrics.application</name>
4
-	<comment></comment>
5
-	<projects>
6
-	</projects>
7
-	<buildSpec>
8
-		<buildCommand>
9
-			<name>org.eclipse.jdt.core.javabuilder</name>
10
-			<arguments>
11
-			</arguments>
12
-		</buildCommand>
13
-		<buildCommand>
14
-			<name>org.eclipse.pde.ManifestBuilder</name>
15
-			<arguments>
16
-			</arguments>
17
-		</buildCommand>
18
-		<buildCommand>
19
-			<name>org.eclipse.pde.SchemaBuilder</name>
20
-			<arguments>
21
-			</arguments>
22
-		</buildCommand>
23
-	</buildSpec>
24
-	<natures>
25
-		<nature>org.eclipse.pde.PluginNature</nature>
26
-		<nature>org.eclipse.jdt.core.javanature</nature>
27
-	</natures>
28
-</projectDescription>
29 1
deleted file mode 100644
... ...
@@ -1,13 +0,0 @@
1
-Manifest-Version: 1.0
2
-Bundle-ManifestVersion: 2
3
-Bundle-Name: net.bluemind.ui.metrics.application
4
-Bundle-SymbolicName: net.bluemind.ui.metrics.application;singleton:=true
5
-Bundle-Version: 3.1.0.qualifier
6
-Bundle-Activator: net.bluemind.ui.metrics.application.Activator
7
-Bundle-Vendor: bluemind.net
8
-Require-Bundle: org.eclipse.core.runtime,
9
- net.bluemind.ui.banner
10
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
11
-Automatic-Module-Name: net.bluemind.ui.metrics.application
12
-Bundle-ActivationPolicy: lazy
13
-Bundle-Localization: OSGI/l10n/bundle
14 1
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-tick.label=Dashboards
2
-tick.description=Monitoring Dashboards
3 1
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-tick.label=Supervision
2
-tick.description=Graphes de supervision
3 1
deleted file mode 100644
... ...
@@ -1,6 +0,0 @@
1
-source.. = src/
2
-output.. = bin/
3
-bin.includes = META-INF/,\
4
-               .,\
5
-               plugin.xml,\
6
-               OSGI/
7 1
deleted file mode 100644
... ...
@@ -1,17 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<?eclipse version="3.4"?>
3
-<plugin>
4
-   <extension
5
-         point="net.bluemind.ui.commons.banner">
6
-      <banner-entry
7
-            cssIcon="fa fa-lg fa-bar-chart"
8
-            description="%tick.description"
9
-            name="%tick.label"
10
-            offline="false"
11
-            priority="256"
12
-            role="bmMonitoring"
13
-            root="/tick/">
14
-      </banner-entry>
15
-   </extension>
16
-
17
-</plugin>
18 1
deleted file mode 100644
... ...
@@ -1,11 +0,0 @@
1
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
-  <modelVersion>4.0.0</modelVersion>
3
-  <parent>
4
-    <groupId>net.bluemind</groupId>
5
-    <version>3.1.0-SNAPSHOT</version>
6
-    <artifactId>net.bluemind.metrics.plugins</artifactId>
7
-  </parent>
8
-  <artifactId>net.bluemind.ui.metrics.application</artifactId>
9
-  <packaging>eclipse-plugin</packaging>
10
-  
11
-</project>
12 1
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-package net.bluemind.ui.metrics.application;
2
-
3
-import org.osgi.framework.BundleActivator;
4
-import org.osgi.framework.BundleContext;
5
-
6
-public class Activator implements BundleActivator {
7
-
8
-	private static BundleContext context;
9
-
10
-	static BundleContext getContext() {
11
-		return context;
12
-	}
13
-
14
-	/*
15
-	 * (non-Javadoc)
16
-	 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
17
-	 */
18
-	public void start(BundleContext bundleContext) throws Exception {
19
-		Activator.context = bundleContext;
20
-	}
21
-
22
-	/*
23
-	 * (non-Javadoc)
24
-	 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
25
-	 */
26
-	public void stop(BundleContext bundleContext) throws Exception {
27
-		Activator.context = null;
28
-	}
29
-
30
-}
... ...
@@ -18,7 +18,6 @@
18 18
 	  <module>net.bluemind.metrics.testhelper</module>
19 19
 	  <module>net.bluemind.metrics.registry.tests</module>
20 20
 	  <module>net.bluemind.hps.metrics.forward</module>
21
-	  <module>net.bluemind.ui.metrics.application</module>
22 21
 	</modules>
23 22
 
24 23
 </project>
25 24
new file mode 100644
... ...
@@ -0,0 +1,7 @@
0
+<?xml version="1.0" encoding="UTF-8"?>
1
+<classpath>
2
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
3
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
4
+	<classpathentry kind="src" path="src"/>
5
+	<classpathentry kind="output" path="bin"/>
6
+</classpath>
0 7
new file mode 100644
... ...
@@ -0,0 +1,28 @@
0
+<?xml version="1.0" encoding="UTF-8"?>
1
+<projectDescription>
2
+	<name>net.bluemind.ui.metrics.application</name>
3
+	<comment></comment>
4
+	<projects>
5
+	</projects>
6
+	<buildSpec>
7
+		<buildCommand>
8
+			<name>org.eclipse.jdt.core.javabuilder</name>
9
+			<arguments>
10
+			</arguments>
11
+		</buildCommand>
12
+		<buildCommand>
13
+			<name>org.eclipse.pde.ManifestBuilder</name>
14
+			<arguments>
15
+			</arguments>
16
+		</buildCommand>
17
+		<buildCommand>
18
+			<name>org.eclipse.pde.SchemaBuilder</name>
19
+			<arguments>
20
+			</arguments>
21
+		</buildCommand>
22
+	</buildSpec>
23
+	<natures>
24
+		<nature>org.eclipse.pde.PluginNature</nature>
25
+		<nature>org.eclipse.jdt.core.javanature</nature>
26
+	</natures>
27
+</projectDescription>
0 28
new file mode 100644
... ...
@@ -0,0 +1,13 @@
0
+Manifest-Version: 1.0
1
+Bundle-ManifestVersion: 2
2
+Bundle-Name: net.bluemind.ui.metrics.application
3
+Bundle-SymbolicName: net.bluemind.ui.metrics.application;singleton:=true
4
+Bundle-Version: 3.1.0.qualifier
5
+Bundle-Activator: net.bluemind.ui.metrics.application.Activator
6
+Bundle-Vendor: bluemind.net
7
+Require-Bundle: org.eclipse.core.runtime,
8
+ net.bluemind.ui.banner
9
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
10
+Automatic-Module-Name: net.bluemind.ui.metrics.application
11
+Bundle-ActivationPolicy: lazy
12
+Bundle-Localization: OSGI/l10n/bundle
0 13
new file mode 100644
... ...
@@ -0,0 +1,2 @@
0
+tick.label=Dashboards
1
+tick.description=Monitoring Dashboards
0 2
new file mode 100644
... ...
@@ -0,0 +1,2 @@
0
+tick.label=Supervision
1
+tick.description=Graphes de supervision
0 2
new file mode 100644
... ...
@@ -0,0 +1,6 @@
0
+source.. = src/
1
+output.. = bin/
2
+bin.includes = META-INF/,\
3
+               .,\
4
+               plugin.xml,\
5
+               OSGI/
0 6
new file mode 100644
... ...
@@ -0,0 +1,17 @@
0
+<?xml version="1.0" encoding="UTF-8"?>
1
+<?eclipse version="3.4"?>
2
+<plugin>
3
+   <extension
4
+         point="net.bluemind.ui.commons.banner">
5
+      <banner-entry
6
+            cssIcon="fa fa-lg fa-bar-chart"
7
+            description="%tick.description"
8
+            name="%tick.label"
9
+            offline="false"
10
+            priority="256"
11
+            role="bmMonitoring"
12
+            root="/tick/">
13
+      </banner-entry>
14
+   </extension>
15
+
16
+</plugin>
0 17
new file mode 100644
... ...
@@ -0,0 +1,11 @@
0
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1
+  <modelVersion>4.0.0</modelVersion>
2
+  <parent>
3
+    <groupId>net.bluemind</groupId>
4
+    <version>3.1.0-SNAPSHOT</version>
5
+    <artifactId>net.bluemind.ui.webmodules</artifactId>
6
+  </parent>
7
+  <artifactId>net.bluemind.ui.metrics.application</artifactId>
8
+  <packaging>eclipse-plugin</packaging>
9
+  
10
+</project>
0 11
new file mode 100644
... ...
@@ -0,0 +1,30 @@
0
+package net.bluemind.ui.metrics.application;
1
+
2
+import org.osgi.framework.BundleActivator;
3
+import org.osgi.framework.BundleContext;
4
+
5
+public class Activator implements BundleActivator {
6
+
7
+	private static BundleContext context;
8
+
9
+	static BundleContext getContext() {
10
+		return context;
11
+	}
12
+
13
+	/*
14
+	 * (non-Javadoc)
15
+	 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
16
+	 */
17
+	public void start(BundleContext bundleContext) throws Exception {
18
+		Activator.context = bundleContext;
19
+	}
20
+
21
+	/*
22
+	 * (non-Javadoc)
23
+	 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
24
+	 */
25
+	public void stop(BundleContext bundleContext) throws Exception {
26
+		Activator.context = null;
27
+	}
28
+
29
+}
... ...
@@ -18,5 +18,6 @@
18 18
 		<module>net.bluemind.webmodules.todolist</module>
19 19
 		<module>net.bluemind.webmodules.webmail</module>
20 20
 		<module>net.bluemind.webmodules.loginapp</module>
21
+		<module>net.bluemind.ui.metrics.application</module>
21 22
 	</modules>
22 23
 </project>