diff --git a/README.md b/README.md index 6ea9b74..d69ae8a 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Apply the plugin ID "com.github.bjornvester.wsdl2java" as specific in the [Gradl ```kotlin plugins { - id("com.github.bjornvester.wsdl2java") + id("com.github.bjornvester.wsdl2java") version "0.3" } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 77b1444..6f56cfa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "com.github.bjornvester" -version = "0.2" +version = "0.3" repositories { jcenter() @@ -37,7 +37,8 @@ pluginBundle { (plugins) { "wsdl2JavaPlugin" { displayName = "Gradle Wsdl2Java plugin" - description = "Changes: Support relocated project directories" + description = "Changes: \n" + + "- Fix path separator in the WsdlLocation for the generated client when building on Windows" tags = listOf("wsdl2java", "cxf", "wsimport") } } diff --git a/integration-test/src/main/resources/nested/HelloWorldAbstractService.wsdl b/integration-test/src/main/resources/nested/HelloWorldAbstractService.wsdl new file mode 100644 index 0000000..09d0475 --- /dev/null +++ b/integration-test/src/main/resources/nested/HelloWorldAbstractService.wsdl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/integration-test/src/main/resources/nested/HelloWorldNestedService.wsdl b/integration-test/src/main/resources/nested/HelloWorldNestedService.wsdl new file mode 100644 index 0000000..bbcb0ab --- /dev/null +++ b/integration-test/src/main/resources/nested/HelloWorldNestedService.wsdl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/kotlin/com/github/bjornvester/wsdl2java/Wsdl2JavaTask.kt b/src/main/kotlin/com/github/bjornvester/wsdl2java/Wsdl2JavaTask.kt index 0a9340f..1bc824a 100644 --- a/src/main/kotlin/com/github/bjornvester/wsdl2java/Wsdl2JavaTask.kt +++ b/src/main/kotlin/com/github/bjornvester/wsdl2java/Wsdl2JavaTask.kt @@ -57,7 +57,7 @@ open class Wsdl2JavaTask : DefaultTask() { val args = arrayOf( "-verbose", "-wsdlLocation", - wsdlFile.relativeTo(wsdlInputDir.asFile.get()).path, + wsdlFile.relativeTo(wsdlInputDir.asFile.get()).invariantSeparatorsPath, "-suppress-generated-date", "-autoNameResolution", "-d",