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.
feel free to separate issues to different CRs, see description of 'Delete File when Deletion Source Artifact' in UML options before reproducing (but remeber there is no source artifaact in properties since buzz, artifact existts only in project tree). steps to reproduce: 1. create java project 2. create uml project by re 3. check 'Delete File when Deletion Source Artifact' option (should be 'Ask Me' by default) 4. add package with scoped class diagram 5. add and name class to the diagram 6. go to class node in project tree 7. expand the node 8. select source artifact node within class node and press delete file deletion confirmation appears 9. press no BUG: source artifact remains within class node 10. invoke Delete again 11. press Yes artifact is removed BUG: source file isn't removed Evaluation: UML_UST is added. issue affects usage of standard library intefaces (or library interfaces) in model(connected with source).
The result after step 9 is not really a bug, confirmation asks user whether or not to delete artifact node, not the source file, answer 'no' should leave the node in its place. I see nothing wrong here, though the artifact node display name refers to the location of the source file, so the confirmation message may sound confusing. 'Yes' to the question does not result in source deletion is a bug.
Question in step9 ask if I want to delete smth and show something as full path to my java source. it isn't clear it asks about artifact deletion. And according to description of 'Delete File when Deletion Source Artifact' it should ask about source file deletion or may be I miss something. May be there should be two confirmation when 'Delete File when Deletion Source Artifact' set to ask me first one if I want to delete artifact and second one if I want to delete source file also (may be combined in one dialog) I think deletion of arifact without deletion of source should delete "model artifact" from source node too (i.e. break relation source-model for the class).
this issue is no longer valid since file artifact is no longer a node in the project tree.