wsgen
generates your web service artifacts, compiles them and keeps only the .class
files. By using the -keep
option you are telling wsgen
to also keep the generated .java
files.
-s
instructs wsgen
to keep the .java
files and place them at the specified location at which point I think the -keep
option is ignored since you used the -s
option (you did so in both your examples).
Try playing with a simple command with just -keep
and see when it keeps .java
files and when it does not.