Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Windows generation failed: an operand is missing #6

Open
kawas44 opened this issue Jun 6, 2017 · 1 comment
Open

Windows generation failed: an operand is missing #6

kawas44 opened this issue Jun 6, 2017 · 1 comment

Comments

@kawas44
Copy link

kawas44 commented Jun 6, 2017

Hello,

I have used the plugin to generate wsdl code, everything works fine on Linux but my coworkers on Windows get an error message "an operand is missing" from the wsimport generated command line.

It appears that the problem come from a parameter set for the generation with an empty value:
B-classpath in WsimportTask.java

The empty value is not well defined on Windows, if I launch the command generated by the plugin with empty single quote '' it works.

  • Would it possible to fix empty path for Windows or just skip parameter definition with empty path ?

  • As a work around, how do I set a valid "xjc" path in build.gradle ?

Cheers

@kawas44
Copy link
Author

kawas44 commented Jun 6, 2017

Just found the answer of my 2nd question about work around.

I defined this in my build.gradle

dependencies {
xjc files('WORK_AROUND')
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant