ciscoo / cxf-codegen-gradle

Gradle plugin to generate Java artifacts from WSDL
Apache License 2.0
28 stars 6 forks source link

Execute build on Windows and macOS #80

Closed ciscoo closed 1 year ago

ciscoo commented 1 year ago

Issues such as https://github.com/ciscoo/cxf-codegen-gradle/issues/74 may have been caught earlier. Prior to then, this plugin was primarily developed on KDE Neon and Linux Mint.

ciscoo commented 1 year ago

For Windows, seems to be mainly related to path which doesn't surprise me. After getting a minimal environment setup on my Windows machine, I see:

java.lang.AssertionError: 
Expecting actual:
  "
> Task :verify
C:\Users\fmate\AppData\Local\Temp\gradle-17919964218313887789\path\to\example.wsdl

BUILD SUCCESSFUL in 159ms
1 actionable task: 1 executed
"
to contain:
  "/path/to/example.wsdl" 
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/fmate/code/cxf-codegen-gradle/cxf-codegen-gradle/build/resources/functionalTest/io/mateo/cxf/codegen/configurationCacheCompatibility.gradle.kts
    at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)