incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Strauss <da...@fourkitchens.com>
Subject Re: Generated code?
Date Tue, 15 Jun 2010 04:04:37 GMT
On 2010-06-15 03:58, Masood Mortazavi wrote:
> Hi,
> 
> My assumption is that what one finds in
> 
>       interface/thrift/gen-java
> 
> is actually generated code.
> 
> If so, why is it checked in as source under SVN?
> 
> (Certainly, the avro generated code doesn't seem to be checked in.)
> 
> Regards,
> Masood
> 

It simplifies the end user's build process. If the code isn't in
Subversion, then you'd need to get all the Thrift dependencies and do
the generation yourself just to build Cassandra. Sure, there are other
methods that don't involve checking into Subversion, but they're more
complex.

-- 
David Strauss
   | david@fourkitchens.com
   | +1 512 577 5827 [mobile]
Four Kitchens
   | http://fourkitchens.com
   | +1 512 454 6659 [office]
   | +1 512 870 8453 [direct]


Mime
View raw message