What I
do is have my ANT script set up to run WSDL2Java to put files in a different
source tree, 'build/generatedSrc', which has the same structure as my 'src'
tree.
Then I
have an ANT target which generates files into the 'generatedSrc'
tree.
If I
want to modify a file (a skeleton file, for instance), I copy the file from my
generatedSrc tree to my src tree, modify it as desired, and then modify my ANT
script to automatically delete it from the generatedSrc tree after each time
that WSDL2Java is run.
That
way, I can be sure that none of my modified files have been overridden. I think
it's unwise to generate files into a directory where non-generated files sit.
(Also, keeping them separate allows me to make sure, for instance,
that the generated files don't get checked into version
control.)
When
compiling, I just include both source tree roots in the 'javac' ANT
target.
Derek
-----Original Message-----
From: Amit Andhale [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 12:34 AM
To: [email protected]
Subject: Axis 1.3 WSDL2Java Overwrites the original filesHi All,When I run WSDL2Java command, it generates the Stub files, which also overrides my existing files.Could you please help me in this context?RegardsAmit
