[protobuf] Re: Issue 247 in protobuf: Ability to redirect file output to stdout

2014-10-06 Thread protobuf

Updates:
Status: WontFix

Comment #16 on issue 247 by xiaof...@google.com: Ability to redirect file  
output to stdout

https://code.google.com/p/protobuf/issues/detail?id=247

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Re: Issue 247 in protobuf: Ability to redirect file output to stdout

2011-02-23 Thread protobuf


Comment #13 on issue 247 by compuwar...@gmail.com: Ability to redirect file  
output to stdout

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

Discussion for implementing Java Parser moved to Issue 263

http://code.google.com/p/protobuf/issues/detail?id=263colspec=ID%20Type%20Status%20Priority%20FixedIn%20Owner%20Summary

--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-23 Thread protobuf


Comment #14 on issue 247 by compuwar...@gmail.com: Ability to redirect file  
output to stdout

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

Discussion for implementing Java Parser moved to Issue 263

--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-22 Thread protobuf


Comment #11 on issue 247 by compuwar...@gmail.com: Ability to redirect file  
output to stdout

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

Shall I create a new issue to track java parser so it can have it's own  
fair discussion instead of being buried in this issue?


--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-22 Thread protobuf


Comment #12 on issue 247 by ken...@google.com: Ability to redirect file  
output to stdout

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

Sure.

--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-18 Thread protobuf


Comment #9 on issue 247 by compuwarescc: Ability to redirect file output to  
stdout

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

I've been thinking a lot of the use of run-time usage of .proto files in  
java (I use this technique) and I've gone through two uses now - both  
involve invoking protoc from java and then using the output.  The first was  
to perform actual code generation, compile, and load.  The second (and  
better i think) was to use the FileDescriptorSet output and load that into  
FileDescriptor(s).


The primary limitation of both approaches was the need to
1) invoke protoc through the shell (not very platform independent)
2) manipulate files when everything could/should be done in memory

The more I think on it, the more I think taking the this is an advanced  
use of protobuf approach and saying the most flexible solution to users  
that want to do this kind of work is to provide a java version of the  
current C library used to translate between .proto files  
and FileDescriptorProto protobufs.


This is the one big piece missing from the run-time java capability,  
everything but going .proto = FileDescriptorProto is in there already.


I'm interested in what Kenton or other active developers of the library  
think about this - how difficult would it be to port the C code to java?   
how much of a maintenance problem would this make?  I would be willing to  
assist with this effort if it is thought a useful contribution to the java  
library.  If it is believed this is a worthwhile pursuit, I believe that  
would supersede the need for console output from protoc.


--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-17 Thread protobuf


Comment #8 on issue 247 by mike.wel...@gmail.com: Ability to redirect file  
output to stdout

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

You're also forgetting the C++/C world where each code generation will  
output at least 2 files, a .cpp and a .h. So you would pretty much have to  
output in some sort of standard tar/jar container format for this to work  
nicely.




--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-15 Thread protobuf


Comment #5 on issue 247 by compuwarescc: Ability to redirect file output to  
stdout

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

After further use, I think it's also (and possible more) important to  
stream the output of the -o tag (a FileDescriptorProto buffer) to stdout.   
If this gets implemented I would hope support for the -o flag would be  
included.


--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-15 Thread protobuf


Comment #6 on issue 247 by ken...@google.com: Ability to redirect file  
output to stdout

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

For -o, you can do:
  protoc my.proto -o/dev/stdout

This just doesn't work with --java_out (or whatever lanugage) because it  
would interpret /dev/stdout to be a directory and would try to create files  
inside it, which would fail.


--
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 247 in protobuf: Ability to redirect file output to stdout

2011-02-15 Thread protobuf


Comment #7 on issue 247 by compuwarescc: Ability to redirect file output to  
stdout

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

Seems to me that will only work on linux where /dev/stdout is a file  
pointer to stdout.


Do you know of any way to do this on a windows platform?

--
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 247 in protobuf: Ability to redirect file output to stdout

2010-12-14 Thread protobuf

Updates:
Status: Accepted
Labels: -Type-Defect Type-Enhancement

Comment #4 on issue 247 by ken...@google.com: Ability to redirect file  
output to stdout

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

We do already have the ability to output to a jar file.  I suppose dumping  
the jar to stdout would not be so bad.  Might not make it into the upcoming  
release, though.


--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to proto...@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 247 in protobuf: Ability to redirect file output to stdout

2010-12-07 Thread protobuf


Comment #2 on issue 247 by ken...@google.com: Ability to redirect file  
output to stdout

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

What happens if multiple files are generated?  For example, if you  
have option java_multiple_files = true; in your .proto file.  This seems  
like it could get weird.


--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to proto...@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 247 in protobuf: Ability to redirect file output to stdout

2010-12-06 Thread protobuf


Comment #1 on issue 247 by moofish32: Ability to redirect file output to  
stdout

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

I think this would be a very beneficial enhancement for the same reason.   
Solves any concerns over permissions in the unix environment.


--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to proto...@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.