Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7305

Eclipse project files are incomplete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.23.0
    • build
    • None
    • Reviewed
    • Added missing library during creation of the eclipse project files.

    Description

      After a fresh checkout of hadoop-common I do 'ant compile eclipse'.
      I open eclipse, set ANT_HOME and build the project.
      At that point the following error appears:

      The type com.sun.javadoc.RootDoc cannot be resolved. It is indirectly referenced from required .class files ExcludePrivateAnnotationsJDiffDoclet.java /common/src/java/org/apache/hadoop/classification/tools line 1 Java Problem

      The solution is to add the "tools.jar" from the JDK to the buildpath/classpath.
      This should be fixed in the build.xml.

      Attachments

        1. HADOOP-7305-2011-07-01.patch
          2 kB
          Niels Basjes
        2. HADOOP-7305-2011-06-09.patch
          2 kB
          Niels Basjes
        3. HADOOP-7305-2011-05-30.patch
          2 kB
          Niels Basjes
        4. HADOOP-7305-2011-05-19.patch
          0.4 kB
          Niels Basjes

        Activity

          People

            nielsbasjes Niels Basjes
            nielsbasjes Niels Basjes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: