Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9012

First time build of camunda-bpm-platform fails on Win10

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Duplicate
    • Icon: L3 - Default L3 - Default
    • None
    • 7.8.6
    • engine
    • None
    • OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

      Problems at first time build of camunda-bpm-platform
      I did the following:
      1. clone of https://github.com/camunda/camunda-bpm-platform.git
      2. adjusting mavens setting.xml as described in the README.md
      3. run mvn clean install.
      Then after a while during the run of the tests, I got the following message:
      Failed tests:
      BpmnParseTest>AbstractProcessEngineTestCase.runBare:111->testXmlParsingErrors:219->PvmTestCase.assertTextPresent:35
      expected presence of
      [The end-tag for element type "bpmndi:BPMNLabel" must end with a '>' delimiter],
      but was
      [ENGINE-09003 Could not parse 'org/camunda/bpm/engine/test/bpmn/parse/BpmnParseTest.testXMLParsingErrors.bpmn'.
      Endtag für Elementtyp "bpmndi:BPMNLabel" muss mit einem ">"-Begrenzungszeichen enden.]
      And the build stops with failure.

      The reason is easily spotted:

      In the class file
      camunda-bpm-platform/engine/src/test/java/org/camunda/bpm/engine/test/bpmn/parse/BpmnParseTest.java
      the expected error messages are hardcoded (sic!) in English.
      So the test code depends on the language setting of the underlying OS.

      Some more Info:
      (Run by git bash on Win10)
      $ mvn -version
      Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
      Maven home: C:\Opt\apache-maven-3.5.3
      Java version: 1.8.0_162, vendor: Oracle Corporation
      Java home: C:\Opt\Java\jdk1.8.0_162\jre
      Default locale: de_DE, platform encoding: Cp1252
      OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              stioss Stephan Itzenplitz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: