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

IDE does not index generated Sources in Gradle Project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 11.3
    • None
    • None
    • None

    Description

      I have a gradle project (actually a subproject, if that matters), where sources are generated via swagger-codegen. The folder with the generated sources is configured as a source folder in the Properties under Sources (see screenshot1).

      However, the generated sources are not recognized and, I suppose, not indexed by the IDE (see screenshot 2 - folder is displayed as "Error Node").

      The effect of this error is that the IDE thinks these packages do not exist and it displays everything with the wavy red underline.

      Gradle itself has no problem with these packages at compile-time and the build works fine.

      Attachments

        1. screenshot2.png
          33 kB
          Ulrich Mayring
        2. screenshot1.png
          56 kB
          Ulrich Mayring

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ulim Ulrich Mayring
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: