Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2905

Migrate build system to Gradle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.18.0
    • 1.22.0
    • None

    Description

      Current build system has quirks, and it has well-known limitations.

       

      For instance:

      1) If you change code in "core" and or "linq4j" modules and you want to check "cassandra", you need to "mvn install" those modules first otherwise "cassandra" would use "core" from the local Maven repository

      2) If you want to see how Calcite plays together with Drill, it has to be multi-step as well. You can't just change some bits in Calcite and just build/test Drill

      3) Maven builds seem to be single-threaded by default. For instance, checkstyle/forbiddenapis always goes before compile, and it does take time. I happen to disable checkstyle for local checks.

      4) Maven plugins are hard to write. You can't just have a pair of classes to be used during the build.

      Attachments

        1. image-2019-12-24-16-16-42-006.png
          179 kB
          Shuo Cheng
        2. image-2019-12-24-16-18-51-071.png
          246 kB
          Shuo Cheng
        3. image-2019-12-25-17-50-45-431.png
          255 kB
          Shuo Cheng

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimirsitnikov Vladimir Sitnikov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m