incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <eev...@rackspace.com>
Subject Re: build fails with "ant clean gen-thrift-java build"
Date Tue, 01 Dec 2009 20:47:54 GMT
On Tue, 2009-12-01 at 11:36 -0600, Ted Zlatanov wrote:
> I am getting this error with a fresh SVN checkout (but not if I just do
> a build).  Am I missing something?  Reading the Ant build.xml didn't
> help, I don't see a better way to generate the bindings.  I thought it
> was my auth work but this happens from SVN as well (I need to regenerate
> the Thrift bindings because I provide extra methods and exceptions).
> 
> Sorry if this is an obvious thing, it's my first time using Thrift...
> 
> Thanks
> Ted
> 
> > ant clean gen-thrift-java build
> 
> Buildfile: build.xml
> 
> clean:
>    [delete] Deleting directory /home/tzz/source/cassandra-trunk/build
>    [delete] Deleting directory /home/tzz/source/cassandra-trunk/src/gen-java
> 
> gen-thrift-java:
>      [echo] Generating Thrift Java code from /home/tzz/source/cassandra-trunk/interface/cassandra.thrift
....
> 
> build-subprojects:
> 
> init:
>     [mkdir] Created dir: /home/tzz/source/cassandra-trunk/build/classes
>     [mkdir] Created dir: /home/tzz/source/cassandra-trunk/build/test/classes
>     [mkdir] Created dir: /home/tzz/source/cassandra-trunk/src/gen-java
> 
> check-gen-cli-grammar:
> 
> gen-cli-grammar:
>      [echo] Building Grammar /home/tzz/source/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g
 ....
> 
> build-project:
>  [ ... ]

When/where did your thrift come from? I'm guessing this is either a recent regression 
there, or that you're using a version that is too old. FWIW, r808609 seems OK.


-- 
Eric Evans
eevans@rackspace.com


Mime
View raw message