KristianKarl-zz/GraphWalker

ModelInterfaceGenerator does not work on Windows

Closed this issue · 0 comments

When compiling the GraphWalker-Examples project on a Windows box, following problem occurs:

mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GraphWalker-Examples 0.0.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> exec-maven-plugin:1.2.1:java (generateInterfaces) > validate @ GraphWalker-Examples >>>
[INFO] 
[INFO] <<< exec-maven-plugin:1.2.1:java (generateInterfaces) < validate @ GraphWalker-Examples <<<
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (generateInterfaces) @ GraphWalker-Examples ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ GraphWalker-Examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ GraphWalker-Examples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to C:\Users\qa\dev\mbt\GraphWalker-Examples\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/qa/dev/mbt/GraphWalker-Examples/src/main/java/org/graphwalker/examples/modelAPI/intf/hWalker-Examples/src/main/resources/model/Model_C.java:[1,11] illegal character: \92
[ERROR] /C:/Users/qa/dev/mbt/GraphWalker-Examples/src/main/java/org/graphwalker/examples/modelAPI/intf/hWalker-Examples/src/main/resources/model/Model_C.java:[1,15] illegal character: \92

This only occurs on Windows. See the strange looking folder/path that's being created: /C:/Users/qa/dev/mbt/GraphWalker-Examples/src/main/java/org/graphwalker/examples/modelAPI/intf/hWalker-Examples/src/main/resources/model/Model_C.java