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

Philip Zeyliger commented on HADOOP-5658:
-----------------------------------------

Thanks for taking a look!

{code}
-<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" 
value="${workspace_loc:/@PROJECT@/build.xml}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" 
value="${build_project:build.xml}"/>
{code}
You're right, this change shouldn't have been necessary.  I was initially 
concerned that this forced me to put my src checkout into workspace/project, 
but it should be resolving the project location correctly from this.  The 
documentation (for those following along at home) is at 
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/concepts-exttools.htm
 .  I've reverted this bit back.

bq.  is it possible to turn off the default "Java Builder"?

This is an interesting idea.  When I tried it, Eclipse tried to warn me away 
from it (screenshot attached in next comment).  I also found that I could no 
longer do "[Right-click] Run...as Junit Test" on simple tests that used to work 
with that feature.  I suspect that with a little bit more classpath massaging, 
turning off the Java Builder will work.  I'd rather not do it in this pass.

> Eclipse templates fail out of the box; need updating
> ----------------------------------------------------
>
>                 Key: HADOOP-5658
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5658
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>         Environment: Eclipse Ganymede, both on Linux and OS X.
>            Reporter: Philip Zeyliger
>         Attachments: eclipse-problems.txt, HADOOP-5658.patch
>
>
> The Hadoop templates, when run "out of the box" have Eclipse build 
> "problems".  I've produced a small patch that fixes it.

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