IntershopCommunicationsAG / wsdl-gradle-plugin

Apache License 2.0
9 stars 14 forks source link

Make --source-folder and --resource-folder configurable #10

Closed gorpet closed 6 years ago

gorpet commented 6 years ago

Both folders needs to be configurable to be able to use /src/main/java (or something custom) for source folder. Now they are hard-coded to 'src' and 'resources' - wsdl-gradle-plugin/src/main/groovy/com/intershop/gradle/wsdl/tasks/axis2/WSDL2Java.groovy lines 232 and 233.

m-raab commented 6 years ago

Do not use src/main/java for the result of the code generation. This destroys Gradle's incremental build feature. The source and the target of a task execution must be different. The output directory self is configurable (line 184) and the directory is marked as output directory.