Hi,

   WSConsume uses com.sun.tools.ws.wscompile.WsimportTool, internally so you 
can find the answer by analyzing this Sun WSDL compiler. I took a short look 
into it and the difference is that WsimportTool during the compiling phase 
generates both *.java and *class files. At the end of compilation phase if 
-keep option is set, the generated *.java files will be removed. (-keep option 
is automatically set by WSConsume tool if you'll specify sourcedestdir 
attribute in your ant task).
Thus if you will specify sourcedestdir, the generated *.java files will not be 
deleted after the compilation phase.
   To answer your question: sourcedestdir points to the directory, where 
WsimportTool will generated *.java files, while destdir points to directory 
where these *.java files will be compiled to *.class files.

RIchard

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083840#4083840

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083840
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to