What exactly does the keep
flag in the wsgen
tool do? I am using the default command-line implementation that ships with Oracle Java 7 (at: /usr/lib/jvm/java-7-oracle/bin/wsgen
).
The documentation says: "Keep generated files" however I 've tried both:
wsgen -cp dist/foo.jar -r ../client/ -s ../client/src-auto/ -keep foo.Hello
and
wsgen -cp dist/foo.jar -r ../client/ -s ../client/src-auto/ foo.Hello
and the generated files are always overwritten (both the Java client stub files and the wsdl files). The same behavior is shown by the wsgen
Ant task - the keep
attribute doesn't seem to
produce any effects whether true
or false
.