everettwilson21 / protobuf-netbeans-plugin

Automatically exported from code.google.com/p/protobuf-netbeans-plugin
0 stars 0 forks source link

Regenerate for single file needs more config options #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Right click on a proto file that is not located in the root of the project 
and choose Regenerate files from...

What is the expected output? What do you see instead?
Expected to run protoc on the file and generate source, but it fails to find 
the import dependencies.  

What version of the product are you using? On what operating system?
netbeans 6.9.1 plugin version 2.1.2.212

Please provide any additional information below.

I have all my proto files in src/protobuf, not the root.  I was able to easily 
hack the protobuf-build.xml to give me what I want when I do a full project 
build.  It would be great to have the single file work, but I assume that qould 
require adding in the ability to override the args by a new setting under the 
project properties.

The ProtobufGeneratorRunnable constructor takes in additional args, but is 
currently being passed "".

Original issue reported on code.google.com by chrisjoh...@gmail.com on 25 Jan 2011 at 6:57