Comment #2 on issue 220 by
Thomas.M...@telsis.com: Compilation fails with
A quick test shows that protoc *can* compile proto files with spaces in the
path, if quotes are placed around the parameters. Compare the two examples
here:
C:\Temp>"H:\workspace\libraries\Protocol buffers
2.4.1\protoc-2.4.1-win32\protoc.exe" --proto_path=C:\Temp\Path with
spaces\src --java_out=C:\Temp\Path with spaces\src-gen C:\Temp\Path with
spaces\src\protobuf\messages.proto
C:\Temp\Path: warning: directory does not exist.
with: No such file or directory
C:\Temp>"H:\workspace\libraries\Protocol buffers
2.4.1\protoc-2.4.1-win32\protoc.exe" "--proto_path=C:\Temp\Path with
spaces\src" "--java_out=C:\Temp\Path with spaces\src-gen" "C:\Temp\Path
with spaces\src\protobuf\messages.proto"
(nothing printed on stdout or stderr, but Messages.java is created and
looks correct)
Using protoc 2.4.1 on Windows XP.