google-code-export / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Duplicate entries in .gwt.xml and web.xml files after creating, deleting and re-creating a RemoteService #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new RemoteService using Cypal. Notice that the .gwt.xml and
web.xml files are updated appropriately.
2. Delete the Remote Service. Notice that the entries in .gwt.xml and
web.xml files still exist.
3. Re-create the RemoteService using Cypal. Notice that the .gwt.xml and
web.xml now have duplicate entries.

What is the expected output? What do you see instead?
If I create a new Remote Service, delete it, and create it again, duplicate
entries will exist in the module XML and web.xml file. Also, when the
module xml file is written, the <module> and </module> tags are on the same
line as the <?xml..> and <servlet> elements... they should have their own
line. 

What version of the product are you using? On what operating system?
Cypal Studio for GWT (RC2), Windows XP, Eclipse 3.3

Original issue reported on code.google.com by sumitcha...@google.com on 10 Oct 2007 at 8:22

GoogleCodeExporter commented 9 years ago
Whenever we delete a RemoteService, we should also delete the associated 
entries in
web.xml & gwt.xml and delete the related files Async & Impl. Probably we have to
drive this thru a configuration. 

Will pick it up for 2.0

Original comment by grprakash on 21 Oct 2007 at 8:50

GoogleCodeExporter commented 9 years ago
I thought will push it for this release itself. Fixed with revision #83. Should
appear in next RC

Sumit,
    AFAIK, neither GWT4NB or GWT Studio has this feature. Cypal Studio is the first
tooling to support this feature :-)

Original comment by grprakash on 7 Jun 2008 at 1:57

GoogleCodeExporter commented 9 years ago
Deletion of files and entries can be controlled thru a preference.
Fixed with revision #84

Original comment by grprakash on 7 Jun 2008 at 2:09