You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
Automatically add method to all classes in package
I am using jax-ws import.
After generating the code i currently open each xml type and add a custom equals() and hashcode() method.
I have created code templates for this.
However this becomes quite tiresome when I change the WSDL file and regenerate the source files having some 30 odd classes that need updating.
Does anyone know how i can either run a command on the files to automatically add the templates in or to compare the new files with the old and insert only the methods that have changed.