scubacabra / gradle-wsdl-plugin

Gradle plugin that helps with using WSDL files and generating their WARs
GNU General Public License v2.0
12 stars 7 forks source link

Unable to pass extension flag? #8

Open leo-guinan opened 9 years ago

leo-guinan commented 9 years ago

I am trying to convert a legacy system into a new gradle build, and part of it uses WSDL. From what I can tell, the only way to get it to work correctly is to pass the extension flag to wsimport as true, but the plugin does not seem to support it, at least explicitly. Is there a way to pass extra arguments through to wsimport?

I do plan on attempting this modification locally, to explicitly allow extension to be passed, at least to verify that this will work the way I need. If you would like me to, once I get that working I can submit a pull request.

And one quick other note, the documentation could be updated to be a little more specific. Had to glance at the code to realize that the package name needed passed as "targetPackage" within the wsimport closure.

And thanks, this plugin is saving me a ton of work over what I would have had to do otherwise!

lex-em commented 8 years ago

Hi, I request this functionality too.