Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 63710 invoked from network); 26 Feb 2011 17:05:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2011 17:05:45 -0000 Received: (qmail 99688 invoked by uid 500); 26 Feb 2011 17:05:42 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 99450 invoked by uid 500); 26 Feb 2011 17:05:40 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 99442 invoked by uid 99); 26 Feb 2011 17:05:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Feb 2011 17:05:39 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hsreekumar@clickable.com designates 74.125.149.69 as permitted sender) Received: from [74.125.149.69] (HELO na3sys009aog102.obsmtp.com) (74.125.149.69) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Feb 2011 17:05:34 +0000 Received: from source ([209.85.216.181]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKTWkyyUn5SyXZ+57Hex304FxNIhGRfFfh@postini.com; Sat, 26 Feb 2011 09:05:14 PST Received: by mail-qy0-f181.google.com with SMTP id 14so2201548qyg.12 for ; Sat, 26 Feb 2011 09:05:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.106.16 with SMTP id v16mr1630653qco.15.1298739912843; Sat, 26 Feb 2011 09:05:12 -0800 (PST) Received: by 10.229.221.70 with HTTP; Sat, 26 Feb 2011 09:05:12 -0800 (PST) In-Reply-To: References: Date: Sat, 26 Feb 2011 22:35:12 +0530 Message-ID: Subject: Re: Setting up eclipse environment on windows From: Hari Sreekumar To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=00235429dc042920e7049d327310 --00235429dc042920e7049d327310 Content-Type: text/plain; charset=ISO-8859-1 I have cygwin. But how can the unix shell commands run in windows through eclipse? I tried running eclipse through cygwin and then building. In this case, it does not recognize the path: BUILD FAILED C:\Users\Hari\workspace\hadoop-common-trunk\build.xml:332: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre6" So will I have to change the paths to cygwin paths? hari On Sat, Feb 26, 2011 at 9:58 PM, Harsh J wrote: > Hello, > > On Sat, Feb 26, 2011 at 9:48 PM, Hari Sreekumar > wrote: > > Is it possible to set up hadoop in eclipse in windows only for browsing > code > > without using cygwin? I see some unix specific commands being executed in > > the eclipse target of the build.xml file (tr and sh commands are being > > called at some points) . Can I just comment them out and will it still > work > > fine? > > You can disable the builder for the project, perhaps. You may lose > some of Eclipse's functionality without the project building, but I > guess its good enough for simply jumping around in the source code. > Try it out. > > There was also some work done not long ago for removing the entire > Cygwin dependency from Hadoop for Windows. That work is at > HADOOP-6767. > > Installing base Cygwin (bash + coreutils + a few other programs) > doesn't sound like too much pain to me, though. > > -- > Harsh J > www.harshj.com > --00235429dc042920e7049d327310--