Is there a reason why this in not integrated in the maven build? If any of the .proto files changed shouldn't it automatically rebuild the generated classes?
-- Lars ________________________________ From: Matteo Bertozzi <[email protected]> To: [email protected] Sent: Saturday, January 12, 2013 3:14 PM Subject: Re: ProtoBuf generation? There's a README inside the hbase-protocol/src/main/protobuf directory https://github.com/apache/hbase/blob/trunk/hbase-protocol/src/main/protobuf/README.txt On Sat, Jan 12, 2013 at 3:12 PM, Jean-Marc Spaggiari < [email protected]> wrote: > Thanks for the prompt reply. > > Should we add that into the HBase book where we explain how to build? > Might be helpful? > > JM > > 2013/1/12, Ted Yu <[email protected]>: > > Under hbase-protocol module, run: > > > > protoc -Isrc/main/protobuf --java_out=src/main/java > > <path-to-dor-proto-file> > > > > Cheers > > > > On Sat, Jan 12, 2013 at 2:28 PM, Jean-Marc Spaggiari < > > [email protected]> wrote: > > > >> Hi, > >> > >> I have update the Client.Proto file and would like to re-generate the > >> classes. > >> > >> I tried mvn clean package -DskipTests and mvn clean install > >> -DskipTests but the file is still not generated. > >> > >> Which command should I run to re-generate it? > >> > >> Thanks, > >> > >> JM > >> > > >
