[ 
https://issues.apache.org/jira/browse/HADOOP-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niels Basjes updated HADOOP-7305:
---------------------------------

    Attachment: HADOOP-7305-2011-06-09.patch

I double checked and when I just import the project and do a refresh (F5) on 
the project then I get the error.
I checked this on both 
# my regular CentOS 5.6 with the SUN JDK 1.6.0_22 and manually downloaded 
Eclipse 
# on a pristine Fedora 15 with the packaged OpenJDK and packaged Eclipse.

Also note that I first checked in the mailing list to verify if anyone else has 
the same problem and Todd Lipcon immediately stepped forward. So yes, others 
experience the same issue.

I've updated the patch to reflect the different path you mentioned.
I hope it's right this time.

> Eclipse project files are incomplete
> ------------------------------------
>
>                 Key: HADOOP-7305
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7305
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-7305-2011-05-19.patch, 
> HADOOP-7305-2011-05-30.patch, HADOOP-7305-2011-06-09.patch
>
>
> 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:
> {quote}
> 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
> {quote}
> The solution is to add the "tools.jar" from the JDK to the 
> buildpath/classpath.
> This should be fixed in the build.xml.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to