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 30006

Summary: Replace Project.getName by Project.getId
Product: projects Reporter: Vitezslav Stejskal <vstejskal>
Component: Generic InfrastructureAssignee: Vitezslav Stejskal <vstejskal>
Status: CLOSED FIXED    
Severity: blocker Keywords: API
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 29810    
Bug Blocks: 29384    
Attachments: cvs commitlog

Description Vitezslav Stejskal 2003-01-13 15:04:03 UTC
The Project.getName is obsolete since it returns
the same value as Project.getDescriptor.getName.
It should be replaced by getId method which would
return unique identification of the project (the
Id generated at the project creation time). This
Id should be used by other parts of the system to
identify the project, e.g. the ProjectMember
convertor, URLMapper for ProjectFileSystem,
settings subsystem, etc.
Comment 1 Vitezslav Stejskal 2003-02-17 16:44:18 UTC
Upgrade info: if you need to get the name of project use
Project.getDescriptor().getName(), but if you need to uniquely
identify the project you should use the Project.getId()!
Comment 2 Vitezslav Stejskal 2003-02-18 16:47:34 UTC
Done
Comment 3 Vitezslav Stejskal 2003-02-18 16:48:16 UTC
Created attachment 9004 [details]
cvs commitlog
Comment 4 Jan Becicka 2003-11-25 14:03:01 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 5 Jan Becicka 2003-11-25 14:12:05 UTC
---> CLOSED