Re: [protobuf] Java: Protobuf jars compatibility (2.4.0 with 2.0.3)

2011-04-07 Thread Pherl Liu
No, there's no version backward-compatibility like this. protobuf library
only works with the matching protoc generated files.
There's a feature
requesthttp://code.google.com/p/protobuf/issues/detail?id=210q=status%3DAcceptedcolspec=ID%20Type%20Status%20Priority%20FixedIn%20Owner%20Summaryasking
for reporting errors when the protoc  runtime library versions don't
match.

On Sat, Apr 2, 2011 at 3:16 AM, Blackbird prabhak...@gmail.com wrote:

 Hi,

 After finishing our project using latest protobuf-java-2.4.0a jar and
 corresponding protoc compiler, we came to know that there are usages
 of protobuf-2.0.3.jar (which is older) in our system. So, now it turns
 only one of these jars can exists.

 Can you guys let me know whether there will be any problem when the
 old jar is replaced with new 2.4.0a jar?

 I agree that I have test the behavior anyway, still I would like to
 know whether Google Protocol Buffers officially support this version
 backward-comaptibility?

 Thanks,
 {name: blackbird}


 --
 You received this message because you are subscribed to the Google Groups
 Protocol Buffers group.
 To post to this group, send email to protobuf@googlegroups.com.
 To unsubscribe from this group, send email to
 protobuf+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] Search inside a protocolbuffers file

2011-04-07 Thread Pherl Liu
protobuf officially does not provide this function. There might be some 3rd
party libraries though.

On Thu, Apr 7, 2011 at 4:38 PM, Sankar sankar.curios...@gmail.com wrote:

 Hi,

 I am trying to use protocolbuffers as a storage database for my
 application, as it provides data-format-versioning which is not
 available in other storage options such as sqlite. However, I want to
 know if there is a way we can search inside a protocolbuffers file
 (like a select query with WHERE clause on a sqlite db). Can someone
 help me with this ?

 Please CC me in the replies. Thanks.

 Sankar

 --
 You received this message because you are subscribed to the Google Groups
 Protocol Buffers group.
 To post to this group, send email to protobuf@googlegroups.com.
 To unsubscribe from this group, send email to
 protobuf+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 273 in protobuf: if proto file has a message Object it does not compile in java

2011-04-07 Thread protobuf

Updates:
Status: Accepted
Owner: liuj...@google.com

Comment #2 on issue 273 by liuj...@google.com: if proto file has a  
message Object it does not compile in java

http://code.google.com/p/protobuf/issues/detail?id=273

I think this is introduced by the string caching.
Will sent out a fix soon.

--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] Search inside a protocolbuffers file

2011-04-07 Thread Sankar P
On Thu, Apr 7, 2011 at 3:06 PM, Pherl Liu liuj...@google.com wrote:
 protobuf officially does not provide this function. There might be some 3rd
 party libraries though.


I did a search and could not find any. Have you (or anyone in the
list) come across any such tools/libraries ? If I am ready to
implement it, what will be the best place to begin understanding about
the protocolbuffer ? The google code page seem to contain links which
are more suited for consumers of protocolbuffers than the
architecture/implementation of it. Any help is appreciated. Thanks.


 On Thu, Apr 7, 2011 at 4:38 PM, Sankar sankar.curios...@gmail.com wrote:

 Hi,

 I am trying to use protocolbuffers as a storage database for my
 application, as it provides data-format-versioning which is not
 available in other storage options such as sqlite. However, I want to
 know if there is a way we can search inside a protocolbuffers file
 (like a select query with WHERE clause on a sqlite db). Can someone
 help me with this ?

 Please CC me in the replies. Thanks.

 Sankar

 --
 You received this message because you are subscribed to the Google Groups
 Protocol Buffers group.
 To post to this group, send email to protobuf@googlegroups.com.
 To unsubscribe from this group, send email to
 protobuf+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.






-- 
Sankar P
http://psankar.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 273 in protobuf: if proto file has a message Object it does not compile in java

2011-04-07 Thread protobuf

Updates:
Status: Fixed
Labels: FixedIn-2.4.1

Comment #3 on issue 273 by liuj...@google.com: if proto file has a  
message Object it does not compile in java

http://code.google.com/p/protobuf/issues/detail?id=273

fixed in r383

--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.