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.

View | Details | Raw Unified | Return to bug 57656
Collapse All | Expand All

(-)src/org/netbeans/modules/ant/freeform/FreeformSources.java (-1 / +1 lines)
Lines 69-75 Link Here
69
            for (Element folderE : Util.findSubElements(foldersE)) {
69
            for (Element folderE : Util.findSubElements(foldersE)) {
70
                Element locationE = Util.findElement(folderE, "location", FreeformProjectType.NS_GENERAL); // NOI18N
70
                Element locationE = Util.findElement(folderE, "location", FreeformProjectType.NS_GENERAL); // NOI18N
71
                String location = Util.findText(locationE);
71
                String location = Util.findText(locationE);
72
                if (folderE.getLocalName().equals("build-folder")) { // NOI18N
72
                if (folderE.getLocalName().equals("build-folder") || folderE.getLocalName().equals("build-file")) { // NOI18N
73
                    h.addNonSourceRoot(location);
73
                    h.addNonSourceRoot(location);
74
                } else {
74
                } else {
75
                    assert folderE.getLocalName().equals("source-folder") : folderE;
75
                    assert folderE.getLocalName().equals("source-folder") : folderE;
(-)src/org/netbeans/modules/ant/freeform/resources/freeform-project-general-2.xsd (+1 lines)
Lines 88-93 Link Here
88
                <xsd:element name="source-folder" type="maybe-typed-source-root"/>
88
                <xsd:element name="source-folder" type="maybe-typed-source-root"/>
89
                <!-- Other roots of build files (internal or external). -->
89
                <!-- Other roots of build files (internal or external). -->
90
                <xsd:element name="build-folder" type="root"/>
90
                <xsd:element name="build-folder" type="root"/>
91
                <xsd:element name="build-file" type="root"/>
91
            </xsd:choice>
92
            </xsd:choice>
92
        </xsd:sequence>
93
        </xsd:sequence>
93
    </xsd:complexType>
94
    </xsd:complexType>

Return to bug 57656