diff --git a/.travis.yml b/.travis.yml
index 674b09ef28..382fa489ae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
dist: bionic
+os: linux
language: java
cache:
directories:
@@ -33,6 +34,24 @@ jobs:
script: ./scripts/travis-build-test.sh
if: (branch != gh-pages) AND (branch != dev_oomph_setup) AND (tag IS blank)
jdk: openjdk11
+ - name: Build & Test (openjdk11Windows)
+ language: bash
+ os: windows
+ cache:
+ directories:
+ - /c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3
+ - /c/Program Files/OpenJDK/openjdk-11.0.8_10
+ before_install:
+ - choco install openjdk11 --version 11.0.8.10 -y
+ - choco install maven --version 3.6.3 -y
+ - powershell refreshenv
+ - export PATH=${PATH}:"/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin"
+ - export PATH=${PATH}:"/c/Program Files/OpenJDK/openjdk-11.0.8_10/bin"
+ - export JAVA_HOME="/c/Program Files/OpenJDK/openjdk-11.0.8_10/"
+ install: []
+ script:
+ - ./scripts/travis-build-test.sh
+ if: (branch != gh-pages) AND (branch != dev_oomph_setup) AND (tag IS blank)
- name: Build docs as PDF
install: []
script: ./scripts/travis-build-docs.sh
@@ -53,4 +72,4 @@ jobs:
install: []
script: ./scripts/travis-sync-docs.sh
if: (branch = master) AND (type != pull_request) AND (fork = false) AND (tag IS blank)
- jdk: openjdk11
+ jdk: openjdk11
\ No newline at end of file
diff --git a/cobigen-templates/templates-devon4j/src/main/java/com/devonfw/cobigen/templates/devon4j/utils/JavaUtil.java b/cobigen-templates/templates-devon4j/src/main/java/com/devonfw/cobigen/templates/devon4j/utils/JavaUtil.java
index 2ab5b487f8..4bd3880670 100644
--- a/cobigen-templates/templates-devon4j/src/main/java/com/devonfw/cobigen/templates/devon4j/utils/JavaUtil.java
+++ b/cobigen-templates/templates-devon4j/src/main/java/com/devonfw/cobigen/templates/devon4j/utils/JavaUtil.java
@@ -30,7 +30,7 @@ public JavaUtil() {
/**
* Returns the Object version of a Java primitive or the input if the input isn't a java primitive
- *
+ *
* @param simpleType
* String
* @return the corresponding object wrapper type simple name of the input if the input is the name of a
diff --git a/cobigen/cobigen-propertyplugin/pom.xml b/cobigen/cobigen-propertyplugin/pom.xml
index ef163c65ac..611eec3b69 100644
--- a/cobigen/cobigen-propertyplugin/pom.xml
+++ b/cobigen/cobigen-propertyplugin/pom.xml
@@ -2,7 +2,7 @@
4.0.0
propertyplugin
jar
- 7.0.0
+ 7.1.0
CobiGen - Property File Plug-In
CobiGen - Property File Plug-In
diff --git a/cobigen/cobigen-propertyplugin/src/main/java/com/devonfw/cobigen/propertyplugin/PropertyMerger.java b/cobigen/cobigen-propertyplugin/src/main/java/com/devonfw/cobigen/propertyplugin/PropertyMerger.java
index a3c95e42b4..e0e962b4a1 100644
--- a/cobigen/cobigen-propertyplugin/src/main/java/com/devonfw/cobigen/propertyplugin/PropertyMerger.java
+++ b/cobigen/cobigen-propertyplugin/src/main/java/com/devonfw/cobigen/propertyplugin/PropertyMerger.java
@@ -7,8 +7,8 @@
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.HashSet;
+import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
@@ -19,6 +19,7 @@
import com.devonfw.cobigen.api.exception.MergeException;
import com.devonfw.cobigen.api.extension.Merger;
+import com.devonfw.cobigen.api.util.SystemUtil;
/**
* The {@link PropertyMerger} merges two property files. One being provided as the base file and the second
@@ -26,9 +27,6 @@
*/
public class PropertyMerger implements Merger {
- /** Line separator, e.g. for windows '\r\n' */
- public static final String LINE_SEPARATOR = java.lang.System.getProperty("line.separator");
-
/**
* Merger Type to be registered
*/
@@ -73,9 +71,11 @@ public String merge(File base, String patch, String targetCharset) throws MergeE
throw new MergeException(base, "Could not read generated patch.", e);
}
Set