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 44975

Summary: Freeform project doesn't show src dir if added in customizer
Product: projects Reporter: Milan Kubec <mkubec>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker CC: dkonecny
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42682    

Description Milan Kubec 2004-06-16 13:43:37 UTC
[dev-200406151800, JDK 1.5.0 Beta3 b55]

I didn't specify any src folder when I was
creating freeform project so I added the source
root after that in customizer but it didn't add
the source root under the project node in Projects
view. Only build script is there.
Comment 1 David Konecny 2004-06-16 16:19:48 UTC
Jesse, this problem is in refreshing of SourceGroups. The project.xml
is updated correctly - after restart I always see all the roots.
Comment 2 Jesse Glick 2004-06-16 20:31:15 UTC
OK, will look at it.
Comment 3 Jesse Glick 2004-07-22 20:15:48 UTC
*** Issue 46461 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2004-07-23 19:45:01 UTC
Actually, it seems that the Sources object does fire a change. But
probably the LogicalViewProvider is not listening.
Comment 5 Jesse Glick 2004-07-23 20:39:22 UTC
Have fix & unit test.
Comment 6 Jesse Glick 2004-07-23 21:37:05 UTC
committed   * Up-To-Date  1.9        
ant/freeform/nbproject/project.properties
committed   * Up-To-Date  1.6        
ant/freeform/src/org/netbeans/modules/ant/freeform/ui/View.java
added       * Up-To-Date  1.1        
ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/ui/ViewTest.java
Comment 7 Milan Kubec 2004-09-01 16:07:22 UTC
Verified in custom 20040901.