From 9863a8358b5a862ecbffe5177de77c0d2f1d3d57 Mon Sep 17 00:00:00 2001 From: Christoph Kroczek Date: Fri, 19 Apr 2019 12:50:01 +0200 Subject: [PATCH] initial --- .vscode/launch.json | 21 +++++++++++++++++ .vscode/settings.json | 3 +++ 001_sequential_migration/.classpath | 12 ++++++++++ 001_sequential_migration/.gitignore | 4 ++++ 001_sequential_migration/.project | 23 +++++++++++++++++++ 001_sequential_migration/README.md | 7 ++++++ 001_sequential_migration/build.gradle | 11 +++++++++ 001_sequential_migration/settings.gradle | 0 .../src/main/java/Main.java | 8 +++++++ 9 files changed, 89 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 001_sequential_migration/.classpath create mode 100644 001_sequential_migration/.gitignore create mode 100644 001_sequential_migration/.project create mode 100644 001_sequential_migration/README.md create mode 100644 001_sequential_migration/build.gradle create mode 100644 001_sequential_migration/settings.gradle create mode 100644 001_sequential_migration/src/main/java/Main.java diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..1db6b42 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Debug (Launch) - Current File", + "request": "launch", + "mainClass": "${file}" + }, + { + "type": "java", + "name": "Debug (Launch)-Main<001_sequential_migration>", + "request": "launch", + "mainClass": "Main", + "projectName": "001_sequential_migration" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c5f3f6b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "interactive" +} \ No newline at end of file diff --git a/001_sequential_migration/.classpath b/001_sequential_migration/.classpath new file mode 100644 index 0000000..4857be4 --- /dev/null +++ b/001_sequential_migration/.classpath @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/001_sequential_migration/.gitignore b/001_sequential_migration/.gitignore new file mode 100644 index 0000000..4177ff5 --- /dev/null +++ b/001_sequential_migration/.gitignore @@ -0,0 +1,4 @@ +/.gradle +/.settings +/bin +/build \ No newline at end of file diff --git a/001_sequential_migration/.project b/001_sequential_migration/.project new file mode 100644 index 0000000..8fdab3d --- /dev/null +++ b/001_sequential_migration/.project @@ -0,0 +1,23 @@ + + + 001_sequential_migration + Project 001_sequential_migration created by Buildship. + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.buildship.core.gradleprojectbuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.buildship.core.gradleprojectnature + + diff --git a/001_sequential_migration/README.md b/001_sequential_migration/README.md new file mode 100644 index 0000000..3466519 --- /dev/null +++ b/001_sequential_migration/README.md @@ -0,0 +1,7 @@ +# Task +Sequential migration upwards / downwoards depending on 2 parameters: +* actual version +* target version + +Depending on the 2 Parameters it should be identfied which migration direction is required. +For each migration step it should be possible to provide an executor and execution code. \ No newline at end of file diff --git a/001_sequential_migration/build.gradle b/001_sequential_migration/build.gradle new file mode 100644 index 0000000..3936de6 --- /dev/null +++ b/001_sequential_migration/build.gradle @@ -0,0 +1,11 @@ +plugins { + id 'java' + id 'application' +} + + +application { + mainClassName = 'Main' +} +sourceCompatibility = '1.8' +targetCompatibility = '1.8' \ No newline at end of file diff --git a/001_sequential_migration/settings.gradle b/001_sequential_migration/settings.gradle new file mode 100644 index 0000000..e69de29 diff --git a/001_sequential_migration/src/main/java/Main.java b/001_sequential_migration/src/main/java/Main.java new file mode 100644 index 0000000..098f7aa --- /dev/null +++ b/001_sequential_migration/src/main/java/Main.java @@ -0,0 +1,8 @@ + +public class Main { + + public static void main(String[] args) { + // Ausgabe Hello World! + System.out.println("Hello World!"); + } +} \ No newline at end of file