I installed your protocol buffers netbeans plugin for Netbeans on Windows.
When I try to generate a java file from a .proto file, I get the following
error message:
running: C:\Users\Thaler\bin\protoc.exe --proto_path="/" --java_out
"C:\projects\ProtoTest\src" "C:\projects\ProtoTest\src\prototest\Person.proto"
C:\projects\ProtoTest\src\prototest\Person.proto: File does not reside
within any path specified using --proto_path (or -I). You must specify a
--proto_path which encompasses this file.
Exit: 1
I thing the problem is that --proto_path="/" should be --proto_path="c:\"
on Windows. However, executing
c:\projects\ProtoTest\src\prototest>C:\Users\Thaler\bin\protoc.exe
--proto_path=
"c:\" --java_out "C:\projects\ProtoTest\src"
"C:\projects\ProtoTest\src\protote
st\Person.proto"
c:" --java_out C:\projects\ProtoTest\src
C:\projects\ProtoTest\src\prototest\Pe
rson.proto: warning: directory does not exist.
Missing input file.
Gives some error message. Executing the same in cygwin with replacing "\"
by "/" works.
Can you give me any hints how to get your netbeans-plugin working under
windows?
Michael
Original issue reported on code.google.com by piotr.tabor on 6 Apr 2009 at 3:13
Original issue reported on code.google.com by
piotr.tabor
on 6 Apr 2009 at 3:13