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 91442 - Usability: WSDL file not Properly Deleted with ‘Project Delete’ – causes failure in reusing name of previously delete project
Summary: Usability: WSDL file not Properly Deleted with ‘Project Delete’ – causes fai...
Status: CLOSED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-21 22:53 UTC by rpoon
Modified: 2008-04-11 13:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Problem Detail description (101.70 KB, text/plain)
2006-12-21 22:53 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2006-12-21 22:53:01 UTC
Once the project is delete from the IDE GUI, not all project’s files are 
properly deleted.

To reproduce:
1) Create a new BPEL Project (ie. ‘rpCleanup’):
    > File → New Project → Service Oriented Architecture → BPEL Module
2) Once project is successfully created, from the project’s root node, 
    > Create a new WSDL Document.
       * Notice that the ‘Folder’ entry has no default value (ie. ‘src’).
    > Click ‘Finish’ to complete.

3)Now select the same project (ie. ‘rpCleanUp’), right click and then ‘Delete 
Project’.

4)At the confirmation popup, select the ‘Also Delete Sources Under … and then 
click ‘Yes’ to delete.

(see attached file to also includes bmp)
Comment 1 rpoon 2006-12-21 22:53:58 UTC
Created attachment 36886 [details]
Problem Detail description
Comment 2 rpoon 2006-12-21 22:59:23 UTC
This is with NetBean version:

NetBeans IDE 5.5 (Build 200612130600, Ent.Pack 20061213)
Comment 3 Michael Frisino 2007-01-11 15:59:49 UTC
seems to be duplicate of 91789, no?

*** This issue has been marked as a duplicate of 91789 ***
Comment 4 Victoria Zhukovskaya 2007-01-29 13:46:52 UTC
Wizard has no default valus ("src")
The file should be shown in project tree
File shold bedeleted when project is deleted
This issue sems as duplicate  of 91789 
Comment 5 rpoon 2007-04-14 00:54:25 UTC
The reported problem not fixed.  This problem is not similar to the problem 
reported in ticket 91789.

Currently, the delete still does not work.  Consider the following 2 scenarios:

Scenario 1) 
Create a new project with some WSDL file (ie. JDBCBC via wizard) also created 
under 'Process Files'.
    > Delete the project and do NOT select the 'Also Delete Source .. ' option.

    expected:  The project is removed from the IDE BPEL GUI but the project 
folder and all its content are NOT deleted.

    Actual:  All files under this project folder are deleted except the 'src' 
folder.

    (Question:  Why would people want to delete everything but the 'src' 
folder? the project cannot be re-opened (re-used) from IDE since everything 
elses are deleted??)

Scenario 2:
Create a new project with some WSDL file (ie. JDBCBC via wizard) also created 
under 'Process Files'.
    > Delete the project and DO select the 'Also Delete Source .. ' option.

    expected:  The project is removed from the IDE BPEL GUI and the project 
folder is also deleted.

    Actual:  All files under the projects folder are deleted except 
the 'catolog.xml' file.  Hence, the project folder itself also not removed.

User is not able to recreate a new project with the same name of the deleted 
project.

In both scenarios, the delete does not work correctly.

Please reconsider this ticket.
Comment 6 rpoon 2007-04-14 00:55:35 UTC
BTW, this ticket was re-opened with build:

Enterprise Pack - Build 8a

http://ivory.russia/entpack-6.0-m8a/take3/
nb-ide_nb-soa_glassfish_openesb_sjsam_windows.exe
Comment 7 Sergey Lunegov 2007-10-25 10:34:38 UTC
Scenario 1 is valid -- user may want to keep some artifacts as XSD, WSDL etc. Scenario 2 works for me on Beta2 build.