This commit is contained in:
Christoph Kroczek
2019-04-19 12:50:01 +02:00
parent 216e77f45d
commit 9863a8358b
9 changed files with 89 additions and 0 deletions

21
.vscode/launch.json vendored Normal file
View File

@@ -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"
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<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.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>

4
001_sequential_migration/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/.gradle
/.settings
/bin
/build

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>001_sequential_migration</name>
<comment>Project 001_sequential_migration created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

View File

@@ -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.

View File

@@ -0,0 +1,11 @@
plugins {
id 'java'
id 'application'
}
application {
mainClassName = 'Main'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'

View File

View File

@@ -0,0 +1,8 @@
public class Main {
public static void main(String[] args) {
// Ausgabe Hello World!
System.out.println("Hello World!");
}
}