From 75957bb4d6dca2e7290f21d43d578f3fefb3db2c Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Tue, 30 Oct 2018 12:02:32 +0200 Subject: [PATCH] Added missing Automatic-module-name headers and fixed split package org.simantics.jdbc and org.simantics.jdbc.ontology had a split package problem with package org.simantics.jdbc. JDBCResource was moved to org.simantics.jdbc.ontology as it should have been. gitlab #125 gitlab #165 Change-Id: I308d53c968ba0812f86554e38b8bbd0b487434b6 --- bundles/hdf.hdf5lib/META-INF/MANIFEST.MF | 1 + .../META-INF/MANIFEST.MF | 5 ++-- .../graph/JDBC.pgraph | 2 +- .../simantics/jdbc/ontology/Activator.java | 30 ------------------- .../org.simantics.jdbc/META-INF/MANIFEST.MF | 1 + .../src/org/simantics/jdbc/SimanticsJDBC.java | 1 + 6 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 bundles/org.simantics.jdbc.ontology/src/org/simantics/jdbc/ontology/Activator.java diff --git a/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF b/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF index 566d3bad2..66804effb 100644 --- a/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF +++ b/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF @@ -15,3 +15,4 @@ Export-Package: hdf.hdf5lib, Bundle-NativeCode: hdf5_java.dll; processor=x86_64; osname=win32, libhdf5.so.101; libhdf5_java.so; processor=x86_64; osname=linux Require-Bundle: org.slf4j.api;bundle-version="1.7.2" +Automatic-Module-Name: hdf.hdf5lib diff --git a/bundles/org.simantics.jdbc.ontology/META-INF/MANIFEST.MF b/bundles/org.simantics.jdbc.ontology/META-INF/MANIFEST.MF index 69dae10ab..200d69f6c 100644 --- a/bundles/org.simantics.jdbc.ontology/META-INF/MANIFEST.MF +++ b/bundles/org.simantics.jdbc.ontology/META-INF/MANIFEST.MF @@ -3,10 +3,9 @@ Bundle-ManifestVersion: 2 Bundle-Name: http://www.simantics.org/JDBC-1.0 Bundle-SymbolicName: org.simantics.jdbc.ontology Bundle-Version: 1.0.0.qualifier -Bundle-Activator: org.simantics.jdbc.ontology.Activator Require-Bundle: org.eclipse.core.runtime, org.simantics.layer0, org.simantics.selectionview.ontology;bundle-version="1.2.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Export-Package: org.simantics.jdbc +Export-Package: org.simantics.jdbc.ontology +Automatic-Module-Name: org.simantics.jdbc.ontology diff --git a/bundles/org.simantics.jdbc.ontology/graph/JDBC.pgraph b/bundles/org.simantics.jdbc.ontology/graph/JDBC.pgraph index 432e10c88..d092795d9 100644 --- a/bundles/org.simantics.jdbc.ontology/graph/JDBC.pgraph +++ b/bundles/org.simantics.jdbc.ontology/graph/JDBC.pgraph @@ -3,7 +3,7 @@ SEL = JDBC = : L0.Ontology @L0.new - L0.HasResourceClass "org.simantics.jdbc.JDBCResource" + L0.HasResourceClass "org.simantics.jdbc.ontology.JDBCResource" JDBC.Session -- JDBC.Session.hasValue --> L0.Value