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

Can't build Ant NetBeans module with layer.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 11.2
    • None
    • None

    Description

      Can't build an Ant NetBeans module if there is a layer.xml.

      Steps to reproduce

      1. New Project > Java with Ant
      2. Select NetBeans Modules > Module
      3. Input Project Name and Code Name Base
      4. The module project is created
      5. Create a layer.xml file (New File > Module Development > XML Layer)
      6. Run > Build Project
      7. Get the following message

      /home/junichi11/NetBeansProjects/sample-module/src/com/example/layer.xml:3:14: 要素タイプ"filesystem"を宣言する必要があります。
      /home/junichi11/netbeans-11.2/netbeans/harness/common.xml:335: /home/junichi11/NetBeansProjects/sample-module/src/com/example/layer.xml is not a valid XML document.
      BUILD FAILED (total time: 0 seconds)

      There is no problem with NetBens 11.0 and 11.1.

      Example project: sample-module.zip

      Attachments

        1. sample-module.zip
          11 kB
          Junichi Yamamoto

        Issue Links

          Activity

            People

              Unassigned Unassigned
              junichi11 Junichi Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: