Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--proto_path=/ is not good solution on Windows #1

Closed
GoogleCodeExporter opened this issue Sep 27, 2015 · 1 comment
Closed

--proto_path=/ is not good solution on Windows #1

GoogleCodeExporter opened this issue Sep 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

Fixed (long time ago) in 1.0.2 version. Michael confirmed that the version 
works.

Original comment by piotr.tabor on 28 Jun 2009 at 11:30

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant