Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4604

Gradle Eclipse plugin creates projects for non project subfolders

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build
    • Labels:
    • Environment:
      Tried with Gradle 3.2.1 and Eclipse Neon

      Description

      Running the command ./gradlew eclipse generates .project and .classpath files for all projects. But it also generates these files for the root project folder and the connect subfolder that holds the 4 connector projects even though these folders are not actual project folders.

      The unnecessary connect project is benign, but the unnecessary kafka project created for the root folder has a side effect. The root folder has a bin directory that holds some scripts. When a Clean all projects is done in Eclipse, it cleans up the scripts in the bin directory. These have to be restored by running git checkout -- <files>. This same could become a problem for the connect project as well if tomorrow we place some files under connect/bin.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dhwanikatagade Dhwani Katagade
                Reporter:
                dhwanikatagade Dhwani Katagade
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: