diff --git a/openchrom/cbi/net.openchrom.thirdparty.cbi/pom.xml b/openchrom/cbi/net.openchrom.thirdparty.cbi/pom.xml index 6ba5408..73f37b4 100644 --- a/openchrom/cbi/net.openchrom.thirdparty.cbi/pom.xml +++ b/openchrom/cbi/net.openchrom.thirdparty.cbi/pom.xml @@ -79,6 +79,9 @@ ../thirdparty.targetplatform ../../plugins ../../features + + ../../plugins/net.openchrom.thirdparty.calcite + ../../plugins/net.openchrom.thirdparty.jena ../../plugins/net.openchrom.thirdparty.cdk ../../features/net.openchrom.thirdparty.cdk.feature diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/.classpath b/openchrom/plugins/net.openchrom.thirdparty.jena/.classpath new file mode 100644 index 0000000..98355e8 --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/.project b/openchrom/plugins/net.openchrom.thirdparty.jena/.project new file mode 100644 index 0000000..b42d6a9 --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/.project @@ -0,0 +1,28 @@ + + + net.openchrom.thirdparty.jena + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/.settings/org.eclipse.core.resources.prefs b/openchrom/plugins/net.openchrom.thirdparty.jena/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..801fab7 --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=utf8 diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/.settings/org.eclipse.jdt.core.prefs b/openchrom/plugins/net.openchrom.thirdparty.jena/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..9154bef --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=17 diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/META-INF/MANIFEST.MF b/openchrom/plugins/net.openchrom.thirdparty.jena/META-INF/MANIFEST.MF new file mode 100644 index 0000000..4429a63 --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/META-INF/MANIFEST.MF @@ -0,0 +1,150 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: net.openchrom.thirdparty.jena +Eclipse-BuddyPolicy: registered +Export-Package: arq, + arq.cmd, + arq.cmdline, + com.hp.hpl.jena, + com.hp.hpl.jena.assembler, + com.hp.hpl.jena.assembler.assemblers, + com.hp.hpl.jena.assembler.exceptions, + com.hp.hpl.jena.datatypes, + com.hp.hpl.jena.datatypes.xsd, + com.hp.hpl.jena.datatypes.xsd.impl, + com.hp.hpl.jena.enhanced, + com.hp.hpl.jena.graph, + com.hp.hpl.jena.graph.compose, + com.hp.hpl.jena.graph.impl, + com.hp.hpl.jena.mem, + com.hp.hpl.jena.n3, + com.hp.hpl.jena.n3.turtle, + com.hp.hpl.jena.n3.turtle.parser, + com.hp.hpl.jena.ontology, + com.hp.hpl.jena.ontology.impl, + com.hp.hpl.jena.query, + com.hp.hpl.jena.rdf.listeners, + com.hp.hpl.jena.rdf.model, + com.hp.hpl.jena.rdf.model.impl, + com.hp.hpl.jena.rdfxml.xmlinput, + com.hp.hpl.jena.rdfxml.xmlinput.impl, + com.hp.hpl.jena.rdfxml.xmlinput.states, + com.hp.hpl.jena.rdfxml.xmloutput, + com.hp.hpl.jena.rdfxml.xmloutput.impl, + com.hp.hpl.jena.reasoner, + com.hp.hpl.jena.reasoner.rulesys, + com.hp.hpl.jena.reasoner.rulesys.builtins, + com.hp.hpl.jena.reasoner.rulesys.impl, + com.hp.hpl.jena.reasoner.transitiveReasoner, + com.hp.hpl.jena.shared, + com.hp.hpl.jena.shared.impl, + com.hp.hpl.jena.shared.uuid, + com.hp.hpl.jena.shared.wg, + com.hp.hpl.jena.sparql, + com.hp.hpl.jena.sparql.algebra, + com.hp.hpl.jena.sparql.algebra.op, + com.hp.hpl.jena.sparql.algebra.optimize, + com.hp.hpl.jena.sparql.algebra.table, + com.hp.hpl.jena.sparql.core, + com.hp.hpl.jena.sparql.core.assembler, + com.hp.hpl.jena.sparql.core.describe, + com.hp.hpl.jena.sparql.engine, + com.hp.hpl.jena.sparql.engine.binding, + com.hp.hpl.jena.sparql.engine.http, + com.hp.hpl.jena.sparql.engine.index, + com.hp.hpl.jena.sparql.engine.iterator, + com.hp.hpl.jena.sparql.engine.main, + com.hp.hpl.jena.sparql.engine.main.iterator, + com.hp.hpl.jena.sparql.engine.optimizer, + com.hp.hpl.jena.sparql.engine.optimizer.reorder, + com.hp.hpl.jena.sparql.engine.ref, + com.hp.hpl.jena.sparql.expr, + com.hp.hpl.jena.sparql.expr.aggregate, + com.hp.hpl.jena.sparql.expr.nodevalue, + com.hp.hpl.jena.sparql.function, + com.hp.hpl.jena.sparql.function.library, + com.hp.hpl.jena.sparql.function.library.leviathan, + com.hp.hpl.jena.sparql.function.user, + com.hp.hpl.jena.sparql.graph, + com.hp.hpl.jena.sparql.lang, + com.hp.hpl.jena.sparql.lang.arq, + com.hp.hpl.jena.sparql.lang.sparql_10, + com.hp.hpl.jena.sparql.lang.sparql_11, + com.hp.hpl.jena.sparql.lib, + com.hp.hpl.jena.sparql.mgt, + com.hp.hpl.jena.sparql.modify, + com.hp.hpl.jena.sparql.modify.request, + com.hp.hpl.jena.sparql.path, + com.hp.hpl.jena.sparql.path.eval, + com.hp.hpl.jena.sparql.pfunction, + com.hp.hpl.jena.sparql.pfunction.library, + com.hp.hpl.jena.sparql.procedure, + com.hp.hpl.jena.sparql.procedure.library, + com.hp.hpl.jena.sparql.resultset, + com.hp.hpl.jena.sparql.serializer, + com.hp.hpl.jena.sparql.sse, + com.hp.hpl.jena.sparql.sse.builders, + com.hp.hpl.jena.sparql.sse.lang, + com.hp.hpl.jena.sparql.sse.lang.parser, + com.hp.hpl.jena.sparql.sse.writers, + com.hp.hpl.jena.sparql.syntax, + com.hp.hpl.jena.sparql.util, + com.hp.hpl.jena.sparql.util.graph, + com.hp.hpl.jena.sparql.vocabulary, + com.hp.hpl.jena.update, + com.hp.hpl.jena.util, + com.hp.hpl.jena.util.cache, + com.hp.hpl.jena.util.iterator, + com.hp.hpl.jena.vocabulary, + jena, + jena.cmdline, + net.openchrom.thirdparty.jena, + org.apache.jena.atlas, + org.apache.jena.atlas.csv, + org.apache.jena.atlas.data, + org.apache.jena.atlas.event, + org.apache.jena.atlas.io, + org.apache.jena.atlas.iterator, + org.apache.jena.atlas.json, + org.apache.jena.atlas.json.io, + org.apache.jena.atlas.json.io.parser, + org.apache.jena.atlas.json.io.parserjavacc, + org.apache.jena.atlas.json.io.parserjavacc.javacc, + org.apache.jena.atlas.lib, + org.apache.jena.atlas.lib.cache, + org.apache.jena.atlas.logging, + org.apache.jena.atlas.logging.java, + org.apache.jena.atlas.test, + org.apache.jena.atlas.web, + org.apache.jena.atlas.web.auth, + org.apache.jena.iri, + org.apache.jena.iri.impl, + org.apache.jena.riot, + org.apache.jena.riot.adapters, + org.apache.jena.riot.checker, + org.apache.jena.riot.lang, + org.apache.jena.riot.other, + org.apache.jena.riot.out, + org.apache.jena.riot.process.inf, + org.apache.jena.riot.process.normalize, + org.apache.jena.riot.resultset, + org.apache.jena.riot.system, + org.apache.jena.riot.system.stream, + org.apache.jena.riot.thrift, + org.apache.jena.riot.thrift.wire, + org.apache.jena.riot.tokens, + org.apache.jena.riot.web, + org.apache.jena.riot.writer, + org.apache.jena.web, + riotcmd +Bundle-ManifestVersion: 2 +Bundle-Name: Apache Jena 2 +Bundle-SymbolicName: net.openchrom.thirdparty.jena +Bundle-Version: 2.13.0.qualifier +Bundle-Activator: net.openchrom.thirdparty.jena.Activator +Bundle-Vendor: OpenChrom +Require-Bundle: org.eclipse.core.runtime +Bundle-RequiredExecutionEnvironment: JavaSE-17 +Bundle-ClassPath: libraries/jena-arq-2.13.0.jar, + libraries/jena-core-2.13.0.jar, + libraries/jena-iri-1.1.2.jar, + . diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/build.properties b/openchrom/plugins/net.openchrom.thirdparty.jena/build.properties new file mode 100644 index 0000000..a8bd8ae --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + libraries/jena-arq-2.13.0.jar,\ + libraries/jena-core-2.13.0.jar,\ + libraries/jena-iri-1.1.2.jar diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-arq-2.13.0.jar b/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-arq-2.13.0.jar new file mode 100644 index 0000000..3b17e6e Binary files /dev/null and b/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-arq-2.13.0.jar differ diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-core-2.13.0.jar b/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-core-2.13.0.jar new file mode 100644 index 0000000..ba93796 Binary files /dev/null and b/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-core-2.13.0.jar differ diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-iri-1.1.2.jar b/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-iri-1.1.2.jar new file mode 100644 index 0000000..d520498 Binary files /dev/null and b/openchrom/plugins/net.openchrom.thirdparty.jena/libraries/jena-iri-1.1.2.jar differ diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/pom.xml b/openchrom/plugins/net.openchrom.thirdparty.jena/pom.xml new file mode 100644 index 0000000..5376640 --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/pom.xml @@ -0,0 +1,15 @@ + + + 4.0.0 + + + net.openchrom + net.openchrom.plugins.parent + BUILD-VERSION + + + net.openchrom.thirdparty.jena + 2.13.0-SNAPSHOT + eclipse-plugin + + diff --git a/openchrom/plugins/net.openchrom.thirdparty.jena/src/net/openchrom/thirdparty/jena/Activator.java b/openchrom/plugins/net.openchrom.thirdparty.jena/src/net/openchrom/thirdparty/jena/Activator.java new file mode 100644 index 0000000..efcd95f --- /dev/null +++ b/openchrom/plugins/net.openchrom.thirdparty.jena/src/net/openchrom/thirdparty/jena/Activator.java @@ -0,0 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2024 Lablicate GmbH. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Philip Wenig - initial API and implementation + *******************************************************************************/ +package net.openchrom.thirdparty.jena; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator { + + private static BundleContext context; + + static BundleContext getContext() { + + return context; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext bundleContext) throws Exception { + + Activator.context = bundleContext; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext bundleContext) throws Exception { + + Activator.context = null; + } +}