Closed GoogleCodeExporter closed 8 years ago
Is it a java project or C++ project ?
The checkboxes on the screen are connected to protobuf regeneration during the
project build (not during the "Regenerate..."). I know - it is not clear.
C++ generation during "Project clean and rebuild" should work for "Java
project".
Original comment by piotr.tabor
on 8 Sep 2009 at 11:22
It's a C++ project.
But protoc only generates Java, not C++.
Original comment by therefro...@gmail.com
on 8 Sep 2009 at 11:25
I fixed that in the current version (2.0.1, but PrototbufGenerator is 2.0.3).
By aware that protoc generates *.cc files, but Netbeans on the 'Projects' tab
shows
only *.cpp files by default. Reconfigure that or look at the 'Files' tab.
Original comment by piotr.tabor
on 10 Oct 2009 at 5:54
Confirm that it works for you, please.
Original comment by piotr.tabor
on 10 Oct 2009 at 5:55
Thanks, I can confirm that the updated version generates C++ files.
Note that it generates them in the project root directory, whereas by symmetry
with
the Java version I'd expect them to be in
./build/generated-sources/protobuf-cpp/
Original comment by therefro...@gmail.com
on 12 Oct 2009 at 11:21
I'm afraid there is no 'generic' generated-sources support for other projects
then
Java in netbeans (6.7.1) now. So for C++ the file is generated in the same
directory
as source *.proto file. For most C++ projects I've worked with it was
convenient.
If you still argue for the behavior - please open a new ticket.
Original comment by piotr.tabor
on 18 Oct 2009 at 10:49
Original issue reported on code.google.com by
therefro...@gmail.com
on 8 Sep 2009 at 11:16