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 33608

Summary: adding resources and sources needs to follow same semantic
Product: java Reporter: Chris Ledantec <cledantec>
Component: UnsupportedAssignee: Chris Ledantec <cledantec>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description Chris Ledantec 2003-05-14 13:26:25 UTC
Issue: A participant added ".../anagram-
lib/src" directory as a resource. But it added 
also the "src" dir under the resources node. 
This is different from adding packages roots 
under the sources node. Analysis: The level at 
which resources are added is not the same as 
the level at which sources are added.

Recommendation(s): The two need to be the 
same.
Comment 1 Svata Dedic 2003-08-18 14:51:52 UTC
I must admin that I am not clear on what the problem is and can only barely 
guess what the cryptic description and recommendation mean. Maybe less 
sophisticated, but rather verbose or natural language explanation would 
help.  
  
Should "adding a resource" NOT create a node under "Resources" (note: do  
we still have the Resources in the Explorer at all) ?  
  
Assuming the recommendation talks about level of the "lib/src" node in the  
Explorer and the suggested resolution is to add resource's node to the  
same parent as the project sources are, how the user will:  
- distinguish between sources that are compiled and only included for  
reference (but not managed by the project)   
- filter out the reference classes from the (merged) package view  
?  
  
Comment 2 Chris Ledantec 2003-08-18 15:11:08 UTC
the problem is an off by one bug:

take the directory:

/stuff/myWork/specialWork/code

if you want to add ~/code as a source root then you select specialWork
and add.

if you select specialWork as a directory to add as a resource then you
get ~/specialWork as the root.

so the problem is that in one case you need to select the parent of
the content you want (source) and in the other case you just want to
select the actual thing (resource). 
Comment 3 Chris Ledantec 2003-10-20 11:57:02 UTC
this is a minor point that needs to be addressed or kept in mind...
Comment 4 Vitezslav Stejskal 2003-10-20 15:06:26 UTC
No, no, no. People tend to forget about things, because they are just
people. Please, describe it in uispec and close this as fixed. Leaving
it open with 'should be kept in mind' resolution will definitely not work.
Comment 5 Chris Ledantec 2003-10-20 16:54:56 UTC
well, it is in the spec (somewhere, i know i wrote it there). so i
guess i reckon it's fixed and thought i'd pass it off to Tomas.
closing as fixed.
Comment 6 Jan Becicka 2003-11-25 14:04:24 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 7 Jan Becicka 2003-11-25 14:13:32 UTC
---> CLOSED
Comment 8 Quality Engineering 2007-09-20 10:51:44 UTC
Reorganization of java component