Hadoop Common
  1. Hadoop Common
  2. HADOOP-7028

ant eclipse does not include requisite ant.jar in the classpath

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      RccTask imports classes from ant.jar

      Importing the project into Eclipse results in these classes not being found, because ant.jar is not in the classpath.

      Note that this patch requires that ANT_HOME be set, but this is consistent with the documentation as per

      http://wiki.apache.org/hadoop/EclipseEnvironment

      1. eclipse-classpath.patch
        0.5 kB
        Patrick Angeles

        Activity

        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12459325/eclipse-classpath.patch
        against trunk revision 1033812.

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed core unit tests.

        +1 contrib tests. The patch passed contrib unit tests.

        +1 system test framework. The patch passed system test framework compile.

        Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/91//testReport/
        Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/91//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/91//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12459325/eclipse-classpath.patch against trunk revision 1033812. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. +1 system test framework. The patch passed system test framework compile. Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/91//testReport/ Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/91//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/91//console This message is automatically generated.
        Hide
        Eli Collins added a comment -

        +1

        I verified this fixed the issue for me on Helios.

        Show
        Eli Collins added a comment - +1 I verified this fixed the issue for me on Helios.
        Hide
        Eli Collins added a comment -

        I've committed this. Thanks Patrick!

        Show
        Eli Collins added a comment - I've committed this. Thanks Patrick!
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #427 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/427/)
        HADOOP-7028. ant eclipse does not include requisite ant.jar in the classpath. Contributed by Patrick Angeles

        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #427 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/427/ ) HADOOP-7028 . ant eclipse does not include requisite ant.jar in the classpath. Contributed by Patrick Angeles
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk #515 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/515/)
        HADOOP-7028. ant eclipse does not include requisite ant.jar in the classpath. Contributed by Patrick Angeles

        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk #515 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/515/ ) HADOOP-7028 . ant eclipse does not include requisite ant.jar in the classpath. Contributed by Patrick Angeles

          People

          • Assignee:
            Patrick Angeles
            Reporter:
            Patrick Angeles
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development