This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 71007 - NB5.0beta2 can't delete web service correctly
Summary: NB5.0beta2 can't delete web service correctly
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 16:27 UTC by javese
Modified: 2007-05-11 18:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javese 2006-01-04 16:27:48 UTC
In NB5.0beta2, if one creates 2 web services and deletes one of them, the
project would not build because something about the deleted web service would
still in the build script.
Comment 1 Lukas Jungmann 2006-01-04 17:09:59 UTC
Works fine for me in latest build, so I need more info such as which project
type, OS? Was build-impl.xml opened in editor? Can you reproduce it in some
newer build? Can you attach sources of your corrupted project to this issue?
Comment 2 javese 2006-01-06 15:12:02 UTC
OS: Debian GNU/Linux 3.1(Sarge)
Kernel: 2.6.12-1-681-smp
NetBeans: 5.0Beta2
Project Type: Web Application

After investigation, I found that the wrong result comes from some defficiencies
in NB 5.0beta2:

1. When the user created a new web service and secified an existing folder with
some files in it, NB would not warn the user but accept it. This may cause
future failures because NB assumes each web service is in its own seperate
folder and does all relative operations under such an assumption.

2. When some operation caused NB to delete the folder of a web service, NB would
delete the folder and files but leave web service node undeleted in the project
tree.

Those defficiencies may cause many weird bugs in web service development under
NB5.0beta2.
Comment 3 Milan Kuchtiak 2006-01-06 16:36:16 UTC
There is a plan to evoid these troubles by making IDE to create WS/WS Client
artifacts to a special source directory which shouldn't be randomly deleted or
modified by the user.
Unfortunately, we are not able to did this to 5.0 release.
Comment 4 Lukas Jungmann 2006-05-17 00:08:11 UTC
I'd say that this is fixed in 5.5 for JAX-WS...
Comment 5 javese 2007-05-11 18:37:49 UTC
Tested for CVS stable trunk on 11th May, 2007.