Generated sources are under the target directory, per Maven's standard
directory layout, because they are to be constantly erased whenever you "mvn
clean".  Only files you create yourself should be in the "src" folder.

As for the autogenerated *Impl file, all you need to do is just modify the
service-war pom's wsdl2java call with the setting that you have below so it
will create it for you.  Once done, I would copy it from the
target/generated to the src folder so it won't keep getting erased w/mvn
clean.  I don't care much for the autogenerated *Impl file, because Eclipse
can add the skeleton methods in for you once you create your service
implementation bean and explicitly extend the SEI (just like it would for
any interface) anyway.  That, and the *Impl file would normally keep getting
erased everytime you mvn clean because of its location in the
target/generated folder.

Glen


bedge wrote:
> 
> One complication with Glen's
> example<http://www.jroller.com/gmazza/date/20080417>is that it looks
> for the generated sources in
>     ./service-war/target/generated/...
> and expects hand written sources in
>     ./service-war/src/main/java
> 
> There's no mechanism to use the java2wsdl -ipml arg to generate the
> *Impl.java. It requires that it be manually dropped in
> /service-war/src/main/java.
> 
> Does this require a second invocation of wsdl2java using a different
> target
> dir when the -ipml arg is used?
> 
> -Bruce
> 

-- 
View this message in context: 
http://www.nabble.com/packaging-question-tp23158012p23223660.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to