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 140640

Summary: Define schema for ant-build-extender
Product: projects Reporter: Jesse Glick <jglick>
Component: Ant ProjectAssignee: Milos Kleint <mkleint>
Severity: blocker CC: jungi
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42686    

Description Jesse Glick 2008-07-17 22:28:54 UTC
AntBuildExtender stores metadata in the namespace "" but there is no
apparent schema corresponding to this format. Please define one and register it in project.ant's ProjectXMLCatalog.
Comment 1 Milos Kleint 2008-07-18 06:48:13 UTC
is the non-existence of the schema document be critical to people who open old projects in 6.5?
Comment 2 Jesse Glick 2008-07-18 20:48:35 UTC
No, it's not critical.
Comment 3 Milos Kleint 2008-07-30 09:11:19 UTC
Comment 4 Jesse Glick 2008-07-30 13:45:53 UTC
This caused several sample modules to be considered invalid:

The reason is that you specified

<xs:element ref="extension" minOccurs="1" maxOccurs="unbounded"/>

In fact it seems that AntBuildExtender makes no attempt to call removeConfigurationFragment when the count of extensions
drops to zero. So it should probably be

<xs:element ref="extension" minOccurs="0" maxOccurs="unbounded"/>
Comment 5 Milos Kleint 2008-07-30 14:38:32 UTC
Comment 6 Jesse Glick 2008-07-30 14:40:07 UTC
*** Issue 142230 has been marked as a duplicate of this issue. ***
Comment 7 Quality Engineering 2008-07-31 04:08:03 UTC
Integrated into 'main-golden', available in build *200807310201* on
User: Milos Kleint <>
Log: #140640 schema correction
Comment 8 Milos Kleint 2008-07-31 07:53:18 UTC
*** Issue 142309 has been marked as a duplicate of this issue. ***