Results 1 to 3 of 3
  1. #1
    skaspersen is offline Member
    Join Date
    Jul 2008
    Rep Power

    Default 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.

    Please help

  2. #2
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Rep Power


    There is a 3rd party tool called "BeyondCompare" with which u can compare the files with older version and change it accordingly...
    To finish sooner, take your own time....

  3. #3
    skaspersen is offline Member
    Join Date
    Jul 2008
    Rep Power

Similar Threads

  1. JXL Package
    By gaya3 in forum Java Servlet
    Replies: 1
    Last Post: 05-23-2008, 10:03 AM
  2. Call a Method Automatically
    By rhm54 in forum New To Java
    Replies: 4
    Last Post: 02-07-2008, 09:51 AM
  3. Replies: 1
    Last Post: 12-18-2007, 11:41 AM
  4. Replies: 1
    Last Post: 04-26-2007, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts