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

Niels Basjes commented on HADOOP-7305:
--------------------------------------

@Eli: env.JAVA_HOME is the actual environment variable JAVA_HOME. java.home is 
the java home according to ant... which can be different. So the implementation 
I chose is to first verify if the JDK_HOME is set (an uncommon yet possible 
explicit override) and use that if the required file can be found there. Then 
check the JAVA_HOME environment and last check the "built in" java.home. For 
the "non-standard" JDK (i.e. OS X) I initially did the same construct and 
changed that in the latest patch to conform to the feedback from Daryn.

> 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, 
> HADOOP-7305-2011-07-01.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