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 - Replace Project.getName by Project.getId
Summary: Replace Project.getName by Project.getId
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: API
Depends on: 29810
Blocks: 29384
  Show dependency tree
 
Reported: 2003-01-13 15:04 UTC by Vitezslav Stejskal
Modified: 2003-12-11 14:25 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
cvs commitlog (14.66 KB, text/plain)
2003-02-18 16:48 UTC, Vitezslav Stejskal
Details

Note You need to log in before you can comment on or make changes to this bug.
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