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 34775 - Project settings documentation clarification
Summary: Project settings documentation clarification
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-07-07 16:23 UTC by _ pkuzel
Modified: 2003-12-11 14:25 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 _ pkuzel 2003-07-07 16:23:07 UTC
I want to have project global setting. 

I quickly scanned documentation and stored it
under project.getInitialContext(). It works.

Then I was warned that I should not use this
approach and looked at ConfigurationManager. I
tried path Project -> ConfigurationManager ->
[missing link] -> Configuration
.getContext(project). There was the missing link.
(I would prefer this path because it starts from
CM - central projects settings manager.)

Finally I got a hint from Vita that proper
solution is Contexts.createContext(project, null).
It's perfectly hidden, undocumented and
unintuitive :-(.
Comment 1 Vitezslav Stejskal 2003-07-30 12:09:38 UTC
The Contexts.createContext mentioned in javadoc of Project class.
Comment 2 Jan Becicka 2003-11-25 14:04:43 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 3 Jan Becicka 2003-11-25 14:13:51 UTC
---> CLOSED