[protobuf] Re: 2.4.0 release candidate #1

2011-01-18 Thread Kenton Varda
I tested the release on MSVC 2005 and FreeBSD. Both worked fine. I also tested this on my home machine running stock Ubuntu 10.10, and I got the same error we've been seeing on our corp workstations. Thus it seems this problem is not an issue with our corp setup as I had initially thought. Inst

Re: [protobuf] Re: 2.4.0 release candidate #1

2011-01-11 Thread Kenton Varda
On Wed, Jan 5, 2011 at 10:33 PM, Scratch wrote: > Thanks! > That's right what I needed. And one more question - will sub-builders > be introduced for lite package? > Sorry, but probably not. The whole point of the lite package is to be as small as possible, and the sub-builders stuff creates a

[protobuf] Re: 2.4.0 release candidate #1

2011-01-09 Thread Collin
Quick note: for whatever reason, my make didn't build from my directory that has spaces in it. Move the folder to another directory with no spaces and I have success. Will install over the weekend and let you know. Here is the tail end of my make that failed: /bin/sh ../libtool --tag=CXX --mo

[protobuf] Re: 2.4.0 release candidate #1

2011-01-05 Thread Scratch
Thanks! That's right what I needed. And one more question - will sub-builders be introduced for lite package? On 6 янв, 08:44, Pherl Liu wrote: > You can try: > > InfoClass.Builder builder = info.toBuilder(); > builder.getKeyBuilder().getPrivateBuilder().setD(ByteString.copyFrom(decryp­tedPrivate

Re: [protobuf] Re: 2.4.0 release candidate #1

2011-01-05 Thread Pherl Liu
You can try: InfoClass.Builder builder = info.toBuilder(); builder.getKeyBuilder().getPrivateBuilder().setD(ByteString.copyFrom(decryptedPrivateKey)); info = builder.build(); On Thu, Jan 6, 2011 at 5:06 AM, Scratch wrote: > Hi there! > I've seen that there're new sub-builders for sub-messages (

[protobuf] Re: 2.4.0 release candidate #1

2011-01-05 Thread Scratch
Hi there! I've seen that there're new sub-builders for sub-messages (Java) but couldn`t figure out how to use them properly. My task is to replace a single field in a message and right now I solve it like this: //replace encrypted key with decrypted one info = info.toBuilder().setKey(info.getKey()