Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1168

Fix Hive build on Hudson

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.6.0
    • Build Infrastructure
    • None

    Description

      We need to delete the .ant directory containing the old ivy version in order to fix it
      (and if we're using the same environment for both trunk and branches, either
      segregate them or script an rm to clean in between).

      It's worth noting that ant may have picked up the old version of Ivy from
      somewhere else. In order Ant's classpath contains:

      1. Ant's startup JAR file, ant-launcher.jar
      2. Everything in the directory containing the version of ant-launcher.jar that's
        running, i.e. everything in ANT_HOME/lib
      3. All JAR files in ${user.home}/.ant/lib
      4. Directories and JAR files supplied via the -lib command line option.
      5. Everything in the CLASSPATH variable unless the -noclasspath option is used.

      (2) implies that users on shared machines may have to install their own
      version of ant in order to get around these problems, assuming that the
      administrator has install the ivy.jar in $ANT_HOME/lib

      Attachments

        Issue Links

          Activity

            People

              jvs John Sichi
              cwsteinbach Carl Steinbach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: