remqb / protobuf-netbeans-plugin Goto Github PK
View Code? Open in Web Editor NEWExported from code.google.com/p/protobuf-netbeans-plugin , I try to improve it when I have the time to :)
Exported from code.google.com/p/protobuf-netbeans-plugin , I try to improve it when I have the time to :)
If add a .proto file to my C++ project, and select "Regenerate files from
this definition", it generates null/protobuf-java/myfile.java but not C++
files.
The output:
running: /usr/bin/protoc --proto_path="/myprojectpath" --java_out
"/myprojectpath/null/protobuf-java" "/myprojectpath/templates/myfile.proto"
Exit: 0
Within a Java project, I can see the option to generate C++ code as per
your screenshot
http://protobuf-netbeans-plugin.googlecode.com/svn/site/img/buildIntegration.jpe
g
However I don't actually get any C++ files generated - it creates a
./build/generated-sources/protobuf-cpp directory, but no files within that.
In any case, what I want is to enabling this within a C++ project. Is this
supported? If not, do you plan to support this?
I'm using Netbeans 6.7 on Ubuntu 9, with version 2.0 of the plugin.
Original issue reported on code.google.com by [email protected]
on 8 Sep 2009 at 11:16
The generation should be done automatically just before compilation.
Geertjan showed some listener to support this operation.
Original issue reported on code.google.com by piotr.tabor
on 6 Apr 2009 at 6:41
Trying to install the netbeans plugin (into NB6.7), but the plugin installer
is unable to connect to
http://protobuf-netbeans-
plugin.googlecode.com/svn/distr/latest_stable/updates.xml/pl-waw-tabor-
netbeans-protobuf-templates.nbm
I tried to browse directly to that URL but got a not-found error, so I guess
somehow the plugin has been removed.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2009 at 12:10
When using the "Regenerate files from this definition" on a .proto file in a
Maven project, the generated Java files are put in src/test/java.
I don't find an option anywhere to tell the plugin to store the files in any
other folder, as code placed in src/test/java is not included in the resulting
jar file.
Original issue reported on code.google.com by [email protected]
on 25 Oct 2010 at 8:58
as above.
Original issue reported on code.google.com by piotr.tabor
on 6 Apr 2009 at 6:44
Pliki są generowane w katalogu $PROJECT/build a nie w $PROJECT/src
Winik tego zjawiska :
1. Pliki *.java nie są niedostępne dla kompilacji
2. Pliki *.java są kasowane po każdej operacji clean.
Teraz: musze kopiować każdorazowo pliki *.java do gałęzi packa
Poprzednia wersja pluginu tego nie miała, na ile pamiętam.
P.S. Przepraszam, że nie po angielsku, oraz przepraszam za mój niedoskonały
polski ( nie jest to mój język ojczysty).
Original issue reported on code.google.com by Xaoc00
on 3 Oct 2009 at 9:53
Attachments:
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
I was following the instructions on
http://code.google.com/p/protobuf-netbeans-plugin/ to install the plugin.
In Installation-8. I could only find ProtobufGenerator, ProtobufConfiguration
and ProtobufEditor in the AvailablePlugins tab. I could not find
ProtobufTemplates.
I'm not sure this is the reason I am getting the following error:
"Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run
(protobuf-compile) on project <project name>: An Ant BuildException has
occured: Execute failed: java.io.IOException: Cannot run program "protoc":
CreateProcess error=2, The system cannot find the file specified -> [Help 1]"
What version of the product are you using? On what operating system?
- OS: Windows 7
- Netbeans 7.1.2
- Jdk 1.7
- Maven: 3.0.4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Jun 2012 at 2:06
There is some time (2-3 sec) in Schliemmann between last char typed and the
moment when the syntax tree is available parsed. It causes the code
completion to be not up to date.
Original issue reported on code.google.com by piotr.tabor
on 6 Apr 2009 at 6:43
What steps will reproduce the problem?
1. Use the latest stable URL for the plugin location
2. Select the Proto* features
3. Dialog pops up displaying all the version mismatches for the plugins
What is the expected output? What do you see instead?
I expect the plugins to install. I see error dialog that displays version
mismatches on Netbean's jar dependencies.
What version of the product are you using? On what operating system?
I'm using Netbeans 6.8 on Windows 32 with the 6/21/2010 Plugin URL.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Jun 2010 at 2:06
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
I have a Netbeans 7.1.1 C++ Application project. I have couple of proto files
in my project. I installed latest protobuf plugin. I set the protoc path to the
right folder. When I open my project properties, I see tabs for C++, C, Linker
etc under build. I don't see protobuf tab as described here.
What am I doing wrong?
Thanks
Joe
Original issue reported on code.google.com by [email protected]
on 14 Dec 2012 at 3:29
enum RegisterDeviceStatus { SUCCESFULL = 0; }; is marked as error
Original issue reported on code.google.com by [email protected]
on 13 Sep 2011 at 1:39
What steps will reproduce the problem?
1. Reference the plugin site
2. Select all 4 components
3. The installer complains
What is the expected output? What do you see instead?
Install completion is expected. Instead,
"The plugin Editor Library is requested in version >= 1.29.1.8.2 (release
version 1) but only 2.2.10.2 (of release version different from 1) was
found. The following plugin is affected: ProtobufEditor"
What version of the product are you using? On what operating system?
NetBeans 6.9M1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 Apr 2010 at 8:33
- Create default "web maven project".
- Integrate spring, protobuf etc.
- create two source folders src/main/java (java sources) and src/test/java
(junit tests)
- Create .proto file in src/main/resources/protobuf/message.proto
- Select "regenerate file from ..."
Protobuf-plugin generates file in the src/test/java folder (under correct
package location written in the .proto file).
Original issue reported on code.google.com by [email protected]
on 31 Jul 2011 at 5:59
What steps will reproduce the problem?
1. Follow the prescribed setup process for on-line installation of the plugin.
2. Select all 4 ProtoBuff plugin modules.
3. Start installation.
What is the expected output? What do you see instead?
- I expected these modules to be installed straight, but I get notification
that I need newer version of some libraries, and org.openide.util.lookup [See
attached picture]...
What version of the product are you using? On what operating system?
- I have NetBeans 6.9 installed, using it on both GNU/Linux and Windows Vista.
Please provide any additional information below.
- I think the screenshot is self-explanatory. I have managed to install newer
JUnit 4, but cannot find from where to download and install other two plugins...
Original issue reported on code.google.com by dejan.lekic
on 23 Jun 2010 at 10:07
Attachments:
What steps will reproduce the problem?
1. open the attached project
2. change protobuf-java-2.0.3.jar (also attached) reference, so that it compiles
3. right-click on protobuftest and select "Clean and Build"
What is the expected output? What do you see instead?
I would expect that the protobuf clases are regenerated from the .proto files
if you select "Clean and Build". However, this is not the case. Our project has
hundreds of .proto files and it is very inconvenient to right-click all of them
and regenerate them by hand. As a workaround I copy the generated protobuf
classes somewhere else everytime I rebuild the project and copy them back after
"Clean and Build" and build the project again.
What version of the product are you using? On what operating system?
Netbeans 6.9 with version 2.1.0 of the protobuf-netbeans-plugin on Windows 7. I
tried this with Netbeans 6.9 on Debian SID with exactly the same result.
Original issue reported on code.google.com by [email protected]
on 3 Aug 2010 at 10:02
Attachments:
If you install the protobuf plugin on a mac os/x you get a GroupLayout error.
This is because jdk 1.5 is set to default on mac platforms.
see
http://www.yourdimensions.nl/google-protocol-buffers-netbeans-plugin-on-mac-os-x
/ for
the complete bug and the fix.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2009 at 1:40
When you create a .proto file which has either syntax or reference errors all
you get is "Exit 1" when you generate files from the definition. Some basic
error reporting beyond this would be a huge improvement.
The only solution to this at present is to comment out sections of the .proto
file until you get something that will generate and then add parts back in
until you get an error. Not exactly programmer friendly.
Original issue reported on code.google.com by [email protected]
on 18 Dec 2011 at 9:54
What steps will reproduce the problem?
1. Go to Projects Window and select a C++ project
2. Right-click on any file within the project that's not a .proto file
3. Within this context menu I get the options "Remove From Project, Delete,
Rename, Local History >, Subversion >, Tools >, Properties"
4. Right-click on a .proto file within the project - all of the above menu
options are missing.
This is using Protobuf plugin v 2.0.1 (Generator v 2.0.3) on Netbeans 6.7,
Ubuntu 9.04:
Product Version: NetBeans IDE 6.7 (Build 200906241340)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.28-15-generic running on amd64; UTF-8; en_GB (nb)
Original issue reported on code.google.com by [email protected]
on 12 Oct 2009 at 11:32
The plugins install in netbeans 7.1 but the library are outdated (latest is
2.3) and when trying to build I get this error:
/JavaProjects/myproject/nbproject/protobuf-build.xml:17:
/JavaProjects/myproject/${src.dir} does not exist.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2012 at 4:43
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 [email protected]
on 25 Jan 2011 at 6:57
Create a library and add it to all projects that are using *.proto file.
Original issue reported on code.google.com by piotr.tabor
on 6 Apr 2009 at 6:45
What steps will reproduce the problem?
1. install netbeans 8
2. follow instructions to install plugin
3. plugin installation fails due to missing springframework module
What version of the product are you using? On what operating system?
Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2
Java: 1.7.0_65; OpenJDK 64-Bit Server VM 24.65-b04
Runtime: OpenJDK Runtime Environment 1.7.0_65-b32
System: Linux version 3.13.0-35-generic running on amd64; UTF-8; en_US (nb)
Please provide any additional information below.
ProtobufEditor seems to be installed OK. the Problem is with ProtobufGenerator.
Here's the error message:
Warning - could not install some modules: ProtobufGenerator - The module named
org.netbeans.libs.springframework was needed and not found. Another module
could not be installed due to the above problems.
Original issue reported on code.google.com by [email protected]
on 1 Sep 2014 at 9:43
Type the following message into any proto file created by the plugin.
message request {
optional sint32 content_length = 1 [default = -1];
}
The plugin should see this as a valid protobuf message.
The plugin reports the line with the "-1" as being in error.
Protoc processed the message as expected.
What version of the product are you using? On what operating system?
I am using Netbeans 6.7.1 and ProtobufEditor 1.0.3.
Problem occurs on both ubuntu 9.04 and winxp.
Please provide any additional information below.
I reviewed the nbs file from svn and see the problem is in the parsing. I
do not know this parsing technology well enough to create the rules for
parsing the default value based on the defined type as is done in
parser.cc.
Original issue reported on code.google.com by [email protected]
on 9 Aug 2009 at 6:15
What steps will reproduce the problem?
1. Choose a .proto file in the project
What is the expected output? What do you see instead?
Expect it to be able to edit the .proto file, instead I have to kill the
Netbeans task and restart
What version of the product are you using? On what operating system?
latest version of protobuf, version 7.01 of Netbeans on Windows 7
Please provide any additional information below.
The plugin is great except for this and very limited error reporting, if you
make a mistake you have to comment out sections of the .proto file so you can
narrow down where the issue is.
Original issue reported on code.google.com by [email protected]
on 16 Sep 2011 at 8:54
What steps will reproduce the problem?
1. Enter
http://protobuf-netbeans-plugin.googlecode.com/svn/distr/latest_stable/updates.x
ml in the tools>plugin>settings>Add
2. Netbeans 6.9.1 finds the generator, editor and configuration plugins, but
not the template plugins
3.
What is the expected output? What do you see instead?
I expected that file>new> will allow me to choose .proto file type, but it did
not
What version of the product are you using? On what operating system?
Netbeans 6.9.1 on windows xp professional 5.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 7 Oct 2010 at 3:11
Attachments:
What steps will reproduce the problem?
1. Create a proto file using the default template.
2. Create an enum type.
3. The syntax parser gives an "unexpected token" error.
What is the expected output? What do you see instead?
Declaring enum outside of a message is valid, the expected output is for no
errors to appear.
What version of the product are you using? On what operating system?
Protobuf Editor reports 2.0.1, Netbeans 6.8.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Feb 2010 at 4:46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.