-Re: Compiling Under Windows (unable to execute generate-thrift.sh)
David Medinets 2013-03-20, 01:50
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
In the trace, core, and proxy modules, change pom.xml by adding two profiles:
Then change the generate-thrift section to be:
I created a very simple batch file:
remo placeholder 'do-nothing' script.
On Tue, Mar 19, 2013 at 9:33 PM, Eric Newton <[EMAIL PROTECTED]> wrote:
> Just comment out the module in trace/pom.xml that attempts to run the
> thrift compiler.
> I'm curious... why run windows?
> On Tue, Mar 19, 2013 at 7:40 PM, David Medinets <[EMAIL PROTECTED]>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
>> (in directory
>> CreateProcess error=193, %1 is not a valid Win32 application -> [Help