Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-798

Exclude second Ant JAR from classpath in hdfs builds

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.22.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      I've no evidence that this is a problem, but I have known it to be in different projects:

          [junit] WARNING: multiple versions of ant detected in path for junit 
          [junit]          jar:file:/Users/slo/Java/Apache/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
          [junit]      and jar:file:/Users/slo/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
      

      Somehow Ivy needs to be set up to skip pulling in an old version of Ant in the build -both paranamer-ant and jsp-2.1 declare a dependency on it. If both tools are only ever run under Ant, the ivy.xml file could exclude it, the build file just has to make sure that Ant's own classpath gets passed down.

      1. HDFS-798.patch
        0.3 kB
        Konstantin Boudnik

        Issue Links

          Activity

          Steve Loughran created issue -
          Gavin made changes -
          Field Original Value New Value
          Reporter Steve Loughran [ steve_l ] Steve Loughran [ stevel@apache.org ]
          Konstantin Boudnik made changes -
          Assignee Konstantin Boudnik [ cos ]
          Konstantin Boudnik made changes -
          Attachment HDFS-798.patch [ 12471799 ]
          Konstantin Boudnik made changes -
          Link This issue is cloned as MAPREDUCE-2344 [ MAPREDUCE-2344 ]
          Konstantin Boudnik made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]

            People

            • Assignee:
              Konstantin Boudnik
              Reporter:
              Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development