IntershopCommunicationsAG / wsdl-gradle-plugin

Apache License 2.0
9 stars 14 forks source link

Modified plugin parameter wsdlFile to accept folders #1

Open yon-cuadrado opened 7 years ago

yon-cuadrado commented 7 years ago

Hello

I have added some modifications to your plugin in order to be able to use it with a folder that contains several wsdl files. This folder is passed to the plugin through the wsdlFile parameter. The files processed by the plugin make use of the gpars plugin to process the wsdl files in parallel I have added two tests to test this new functionality that use copies of the existing resources.

Please let me know what do you think about this modification and include it if you think it's helpfull. Regards

m-raab commented 7 years ago

You change the annotation of the task from InputFile to Input. This disables incremental build for content changes: "When used on a File object that refers to a file or directory, the up-to-date check is only dependent on the path and not the contents of the file or directory. To make it depend on the contents, use InputFile or InputDirectory respectively." So it must be changed to InputDirectory, but in this case the API was changed.

yon-cuadrado commented 7 years ago

Hello

Thanks for your answer. If I change the parameter to InputDirectory all the testcases that thread it as a file fail. What modification should be made to make the parameter compatible with both types of data, file and folder ?

Regards