nilsmagnus / wsdl2java

Gradle plugin for generating java source from wsdl files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wsdl2java always delete generatedWsdlDir

GergelyLakatos opened this issue · comments

Hi all!

I have a problem with this gradle plugin. My project's structure contains the generated java interfaces, and their implementations in the same package. So for example: hu.main.ExampleInterface.java
and hu.main.impl.ExampleInterfaceImpl.java. I dont want to add the generated interfaces to the git repo just the implementations. My goal that everytime when the project is cloned (from git server) and gradle wsdl2java is run instead of deleting the whole package (including the implementations) because of init, just the interface should be refresh.

Is it possible to set now?

I always use a separate source folder for generated code.

Nothing good comes out of mixing generated and manually maintaned source files.

Agree with @jskovjyskebankdk , mixing generated code with your source is not a good idea. Closing issue.