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

"Improved" Gradle SubProjectDetection breaks maven projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Next
    • 12.2
    • projects - Gradle
    • None

    Description

      I build netbeans from master (9f2b595df801547c53292952199609ff3ab9ec99) - this causes maven projects to be recognized as gradle projects (see test-proj.zip for a sample). NetBeans is started with clean userdir and cachedir:

      bin/netbeans-dev/bin/netbeans --userdir test-user --cachedir test-cache

      The project is opened (I run on JDK 11 and did not install nbjavac):

      I reverted c43ee9b5091e16ccd0adfeeb50ebaa0e45be0799 ("NETBEANS-4867 Fix inconsistent Gradle SubProject Detection (#2411)") locally and this restores behavior to normal:

      Something in the referenced commits is to eager to recognize gradle projects.

       

      Attachments

        1. test-proj.zip
          0.4 kB
          Matthias Bläsing
        2. Bildschirmfoto_2020-10-08_22-01-17.png
          20 kB
          Matthias Bläsing
        3. Bildschirmfoto_2020-10-08_21-45-32.png
          23 kB
          Matthias Bläsing

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              matthiasblaesing Matthias Bläsing
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: