Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3290

Cannot compile NB module with layer.xml

    XMLWordPrintableJSON

Details

    Description

      I created a simple NetBeans module (see attachment) then I added layer.xml and I got this error when compiling:

      ant -f C:\\Users\\matteo\\Documents\\NetBeansProjects\\module1 -Dcontinue.after.failing.tests=true -Ddo.not.clean.module.config.xml=true clean build
      ...
      verify-class-linkage:
      C:\Users\matteo\Documents\NetBeansProjects\module1\src\module1\layer.xml:3:14: Element type "filesystem" must be declared.
      C:\Program Files\NetBeans 11.2-beta3\harness\common.xml:335: C:\Users\matteo\Documents\NetBeansProjects\module1\src\module1\layer.xml is not a valid XML document.
      BUILD FAILED (total time: 0 seconds)

      Attachments

        1. module1.zip
          8 kB
          matteodg

        Issue Links

          Activity

            People

              skygo Eric Barboni
              matteodg@infinito.it matteodg
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m