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 49640

Summary: Subproject relationship for freeform projects should be inferred from classpath changes
Product: projects Reporter: Jesse Glick <jglick>
Component: AntAssignee: David Konecny <dkonecny>
Status: CLOSED FIXED    
Severity: blocker CC: lebedkov
Priority: P4    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42682    

Description Jesse Glick 2004-09-28 16:48:56 UTC
If you use the GUI to add a classpath element to a
freeform project which acc. to AntArtifactQuery
matches a known project build output, then the
<subprojects> element should be created in
<general-data> if necessary and a <project> entry
added. This would make it work somewhat similarly
to j2seproject's, without any special user action.
Comment 1 Jesse Glick 2004-09-28 16:49:31 UTC
Workaround is to add such a section manually in project.xml.
Comment 2 David Konecny 2004-09-29 14:33:58 UTC
Fixed in:
src/org/netbeans/modules/ant/freeform/FreeformProjectGenerator.java;
new revision: 1.28; previous revision: 1.27
src/org/netbeans/modules/ant/freeform/ui/ProjectModel.java;
new revision: 1.6; previous revision: 1.5
test/unit/src/org/netbeans/modules/ant/freeform/FreeformProjectGeneratorTest.java;
new revision: 1.14; previous revision: 1.13
Comment 3 Marian Mirilovic 2005-12-20 15:45:57 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.