SecoBlocks first commit.
diff --git a/org.eclipse.blockchain.server.core/.classpath b/org.eclipse.blockchain.server.core/.classpath
new file mode 100644
index 0000000..b862a29
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/org.eclipse.blockchain.server.core/.project b/org.eclipse.blockchain.server.core/.project
new file mode 100644
index 0000000..39580ed
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.blockchain.server.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/org.eclipse.blockchain.server.core/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.blockchain.server.core/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..295926d
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/.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=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/org.eclipse.blockchain.server.core/META-INF/MANIFEST.MF b/org.eclipse.blockchain.server.core/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..72bc38a
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/META-INF/MANIFEST.MF
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Core
+Bundle-SymbolicName: org.eclipse.blockchain.server.core;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Automatic-Module-Name: org.eclipse.blockchain.server.core
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Require-Bundle: org.eclipse.wst.server.core,
+ org.eclipse.core.runtime,
+ org.eclipse.blockchain.core
diff --git a/org.eclipse.blockchain.server.core/bin/.gitignore b/org.eclipse.blockchain.server.core/bin/.gitignore
new file mode 100644
index 0000000..cf1db2e
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/bin/.gitignore
@@ -0,0 +1 @@
+/org/
diff --git a/org.eclipse.blockchain.server.core/build.properties b/org.eclipse.blockchain.server.core/build.properties
new file mode 100644
index 0000000..6f20375
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/build.properties
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
diff --git a/org.eclipse.blockchain.server.core/plugin.xml b/org.eclipse.blockchain.server.core/plugin.xml
new file mode 100644
index 0000000..2b72529
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/plugin.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.wst.server.core.serverTypes">
+ <serverType
+ behaviourClass="org.eclipse.blockchain.ui.server.GethServerBehaviour"
+ class="org.eclipse.blockchain.ui.server.GethServer"
+ description="Geth server instance"
+ hasConfiguration="false"
+ id="org.eclipse.blockchain.server.core.TestServer"
+ initialState="started"
+ launchModes="run"
+ name="Geth Server"
+ runtimeTypeId="org.eclipse.blockchain.server.core.TestRuntime"
+ startBeforePublish="true">
+ </serverType>
+ </extension>
+ <extension
+ point="org.eclipse.wst.server.core.runtimeTypes">
+ <runtimeType
+ class="org.eclipse.blockchain.ui.runtime.GethRuntime"
+ description="Geth runtime instance"
+ id="org.eclipse.blockchain.server.core.TestRuntime"
+ name="Geth Runtime">
+ </runtimeType>
+ </extension>
+
+</plugin>
diff --git a/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/runtime/GethRuntime.java b/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/runtime/GethRuntime.java
new file mode 100644
index 0000000..f33704b
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/runtime/GethRuntime.java
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) Robert Bosch GmbH. All rights reserved.
+ */
+package org.eclipse.blockchain.ui.runtime;
+
+import org.eclipse.wst.server.core.model.RuntimeDelegate;
+
+/**
+ * This is just a proto-type class and not constructed fully.
+ *
+ * @author ADG5COB
+ */
+public class GethRuntime extends RuntimeDelegate {
+
+}
diff --git a/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/server/GethServer.java b/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/server/GethServer.java
new file mode 100644
index 0000000..4c84dda
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/server/GethServer.java
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) Robert Bosch GmbH. All rights reserved.
+ */
+package org.eclipse.blockchain.ui.server;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.wst.server.core.IModule;
+import org.eclipse.wst.server.core.model.ServerDelegate;
+
+/**
+ * This is just a proto-type class and not constructed fully.
+ *
+ * @author ADG5COB
+ */
+public class GethServer extends ServerDelegate {
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public IStatus canModifyModules(final IModule[] add, final IModule[] remove) {
+ // TODO Auto-generated method stub
+ return new Status(IStatus.ERROR, "", "No Modifications");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public IModule[] getChildModules(final IModule[] module) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public IModule[] getRootModules(final IModule module) throws CoreException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void modifyModules(final IModule[] add, final IModule[] remove, final IProgressMonitor monitor)
+ throws CoreException {
+ // TODO Auto-generated method stub
+
+ }
+
+}
diff --git a/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/server/GethServerBehaviour.java b/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/server/GethServerBehaviour.java
new file mode 100644
index 0000000..7b785bf
--- /dev/null
+++ b/org.eclipse.blockchain.server.core/src/org/eclipse/blockchain/ui/server/GethServerBehaviour.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) Robert Bosch GmbH. All rights reserved.
+ */
+package org.eclipse.blockchain.ui.server;
+
+import org.eclipse.blockchain.core.CoreCommandExecutor;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.model.ServerBehaviourDelegate;
+
+/**
+ * This is just a proto-type class and not constructed fully.
+ *
+ * @author ADG5COB
+ */
+public class GethServerBehaviour extends ServerBehaviourDelegate {
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void stop(final boolean force) {
+ setServerState(IServer.STATE_STOPPING);
+ CoreCommandExecutor.getInstance().terminateGethServer();
+ setServerState(IServer.STATE_STOPPED);
+ }
+}