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.
for (Element folderE : Util.findSubElements(foldersE)) {
Element locationE = Util.findElement(folderE, "location", FreeformProjectType.NS_GENERAL); // NOI18N
String location = Util.findText(locationE);
if (folderE.getLocalName().equals("build-folder")) { // NOI18N
if (folderE.getLocalName().equals("build-folder") || folderE.getLocalName().equals("build-file")) { // NOI18N
h.addNonSourceRoot(location);
} else {
assert folderE.getLocalName().equals("source-folder") : folderE;
<xsd:element name="source-folder" type="maybe-typed-source-root"/>
<!-- Other roots of build files (internal or external). -->
<xsd:element name="build-folder" type="root"/>
<xsd:element name="build-file" type="root"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>