-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should remove temDir after we done copy. Unnecessary duplicate #65
Comments
Hi, Having the same problem - regardless of generatedWsdlDir option value, plugin ALWAYS generates (in build directory) additional (redundant) folder with name= "wsdl2java", that contains another folder with strange name (md5?) = "31c309a3eeb5ad487dc5633ddfe1ebc4" and deeper by hierarchy, where java files live. Nothing can do with that... |
Why is it a problem? The build folder contains transient data. It is just trash. |
Maybe its not a problem indeed. Just a bit weird to see duplicated data. By investigating plugin code, I thought that plugin developer just forgot to delete this folder (as described in initial issue comment). |
Gradle uses the content of the output folder to determine if a task need to be executed. So if the build output folder is removed (or its contents changed), the task will run again. One could generate the output directly to the desired target folder. |
wsdl2java/plugin/src/main/groovy/no/nils/wsdl2java/Wsdl2JavaTask.groovy
Line 89 in 6d5563d
Post this line we should have tmpDir.deleteDir()
Else in buildDir we see duplicate folder of generated-src and wsdl2Java.
Opened PR #66 for the same
The text was updated successfully, but these errors were encountered: