Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-3415

Fix gradle test+build when clean applied as the first command + warning issue fixes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • None
    • None

    Description

      If the user wants to build like the following command:

      gradlew clean unittest

      the gradle process ends up in an exception and the whole process left there hanging forever. The root cause of this is the following:

      tasks.withType runs in the configuration part of the build, where we ensure the neccessary directories exist.

      after that clean is executed and all of the dirs got deleted.

      Proposed fix:
      Apply directory creation as the first step of test tasks.

      on the top:
      there are some missing options b/c of Junit annotation processors, and also Xlint information are swallowed currently. We aim to fix these things as well

      Attachments

        Issue Links

          Activity

            People

              maugli Attila Szabo
              maugli Attila Szabo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: