[ 
https://issues.apache.org/jira/browse/HADOOP-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046579#comment-13046579
 ] 

Daryn Sharp commented on HADOOP-7305:
-------------------------------------

The patch doesn't work on OS X because the path is 
${env.JAVA_HOME}/bundle/Classes/classes.jar (sorry if I mispoke earlier).  
Again though, classes.jar is already in the jdk's search path so it isn't 
strictly necessary.

Another friend and I tested a fresh eclipse install on RHEL5 w/o tools.jar in 
the .classpath file.  All we did is import the project and define ANT_HOME.  It 
worked fine, so it calls into question the need for this patch.  Are you sure 
you don't have a misconfiged environment?  Are other people experiencing the 
problem?

> 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
>
>
> 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