Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-18668

Generate / add Gradle project to be imported by IDE instead of generating IDE specific project files

    XMLWordPrintableJSON

Details

    • Task
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Build
    • None
    • All
    • None

    Description

      Many IDEs (including IntelliJ) support importing a project from the Gradle script. Having such a definition, we would not have to generate IDE project files after changing a branch or setting up a new work tree.

      It is handy for working on the Cassandra project in IntelliJ because it allows running tests with multiple flavors - that is, currently, when we run a test, the default configuration is used. However, in real life, we use a different configuration for regular unit tests, compression, CDC, oa, etc. I found no way to configure that directly in IntelliJ, but when you use a Gradle project, it is possible to configure multiple test tasks and select which one you want to run - see the attached screenshot.
       

      Attachments

        1. image-2023-07-14-07-19-57-787.png
          43 kB
          Jacek Lewandowski

        Activity

          People

            Unassigned Unassigned
            jlewandowski Jacek Lewandowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: