Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

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.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2008, 12:37 PM
Member
 
Join Date: Jul 2008
Posts: 31
skaspersen is on a distinguished road
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
Stephen
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-04-2008, 12:53 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 276
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hi,
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....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-04-2008, 01:33 PM
Member
 
Join Date: Jul 2008
Posts: 31
skaspersen is on a distinguished road
Thanks i will take a look at it
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JXL Package gaya3 Java Servlet 1 05-23-2008 10:03 AM
Package Explorer - Class Method JavaForums Java Blogs 0 03-02-2008 10:38 PM
Call a Method Automatically rhm54 New To Java 4 02-07-2008 09:51 AM
can't use classes in own package ... cannot be resolved into a type doood123 New To Java 1 12-18-2007 11:41 AM
Generating Code Automatically Using Custom code Template In Eclipse JavaForums Eclipse 1 04-26-2007 04:52 PM


All times are GMT +3. The time now is 01:20 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org