Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E42AFE80 for ; Wed, 20 Mar 2013 01:51:11 +0000 (UTC) Received: (qmail 69502 invoked by uid 500); 20 Mar 2013 01:51:11 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 69473 invoked by uid 500); 20 Mar 2013 01:51:11 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 69465 invoked by uid 99); 20 Mar 2013 01:51:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 01:51:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.medinets@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 01:51:05 +0000 Received: by mail-we0-f178.google.com with SMTP id o45so910123wer.23 for ; Tue, 19 Mar 2013 18:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=/M51SBSStUaKZWOBRcY779+YK9stHWpsgskDp1q4bKs=; b=YOoy99OJZk4FdPnrFdXDI+MRJ/Q+HhMBLlxRYGHGu52P1s69ZFTKdZQXYn+CEyNqXE geLpNMTAnUxz7SbDghcwUslv9FlnRn7+k8i12CbxUXw634QhPnFOyWFvdrwWDHRyn2Rr P8EExT3gmybc77iBUplDWAHL3nCMP6JqdgpFNPZmiGwM8S+hVEGqbOJjiOwXWipRYUz3 LCUr5XBQpdknGeEzwhak1RNH4P6NLreuPkFb98TvoY3tMPSOHDJQ6Fk+VTPsbaI0xCHo u7lrrPPtbyijfewl2qB2jX2QFD9Qo0QSyaM2XWGq8RAmEvzdNi10pjvIh7ykSFQctOy3 Hh+A== MIME-Version: 1.0 X-Received: by 10.180.73.212 with SMTP id n20mr7025097wiv.11.1363744245109; Tue, 19 Mar 2013 18:50:45 -0700 (PDT) Received: by 10.194.222.70 with HTTP; Tue, 19 Mar 2013 18:50:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 Mar 2013 21:50:44 -0400 Message-ID: Subject: Re: Compiling Under Windows (unable to execute generate-thrift.sh) From: David Medinets To: dev@accumulo.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Using the coberatura profile in my VirtualBox was too slow. I'm in the mood to write unit tests so wanted to see how hard it would be to run the tests in Windows (i.e., not in my VirtualBox). I think I have found a solution to this issue. If anyone validates this approach, I'll create a JIRA ticket for trunk and commit this change: In the trace, core, and proxy modules, change pom.xml by adding two profiles: thrift-not-windows !windows ${basedir}/src/main/scripts/generate-thrift.sh thrift-windows windows ${basedir}/src/main/scripts/generate-thrift.bat Then change the generate-thrift section to be: ${thift.executable} I created a very simple batch file: rem generate-thrift.bat rem remo placeholder 'do-nothing' script. Comments? On Tue, Mar 19, 2013 at 9:33 PM, Eric Newton wrote: > Just comment out the module in trace/pom.xml that attempts to run the > thrift compiler. > > I'm curious... why run windows? > > -Eric > > > On Tue, Mar 19, 2013 at 7:40 PM, David Medinets wrote: > >> Out of curiosity I tried to compile Accumulo using Netbeans on Windows >> and run into the following error. Is it easy (possible) to avoid >> executing this script when using Windows? >> >> Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec >> (generate-thrift) on project accumulo-trace: Command execution failed. >> Cannot run program >> >> "C:\Users\medined\Documents\NetBeansProjects\accumulo\trunk\trace\src\main\scripts\generate-thrift.sh" >> (in directory >> "C:\Users\medined\Documents\NetBeansProjects\accumulo\trunk\trace"): >> CreateProcess error=193, %1 is not a valid Win32 application -> [Help >> 1] >>