There's a handy wizard in Eclipse that does this automatically.

1. Right click in the class you wish to modify. Choose "Refactor >
Rename" from the context menu
2. You should check the options 'Update textual occurrences in
comments and strings' and 'Update fully-qualified named in non-java
text files' (maybe restrict to *.xml)
3. ...
4. Profit !

Of course this will not automatically change the Async nor the
interface name, but it will change the servlet declaration in web.xml

Hope that helps,

Salvador

PS: A screenshot of step 2:
http://bayimg.com/image/fapcoaabl.jpg

On 15 mai, 12:14, Alyxandor <[email protected]> wrote:
> If you change one file name, you must change all three; Service,
> ServiceAsync and ServiceImpl.  Then, go to your web.xml in war/WEB-INF
> file, and make sure the classnames there have changed as well.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to