[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791467#action_12791467
 ] 

Tom White commented on MAPREDUCE-1146:
--------------------------------------

The Eclipse templates are very brittle, but I think we can and should improve 
this. See HADOOP-6407, where I propose using Ant-Eclipse 
(http://sourceforge.net/projects/ant-eclipse/) to automate the generation of 
Eclipse files.

Could we avoid this issue entirely by using JavaCompiler in Sqoop (new in Java 
6, see http://java.sun.com/javase/6/docs/api/javax/tools/JavaCompiler.html) 
rather then using com.sun.tools.javac.Main?

> Sqoop dependencies break Ecpilse build on Linux
> -----------------------------------------------
>
>                 Key: MAPREDUCE-1146
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1146
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/sqoop
>         Environment: Linux, Sun JDK6
>            Reporter: Konstantin Boudnik
>            Assignee: Aaron Kimball
>         Attachments: MAPREDUCE-1146.2.patch, MAPREDUCE-1146.3.patch, 
> MAPREDUCE-1146.patch
>
>
> Under  Linux there's the error in the Eclipse "Problems" view:
> {noformat}
> - "com.sun.tools cannot be resolved" at line 166 of  
> org.apache.hadoop.sqoop.orm.CompilationManager
> {noformat}
> The problem doesn't appear on MacOS though

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to