Giter Site home page Giter Site logo

protobuf-netbeans-plugin's People

Contributors

remqb avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

elennaro

protobuf-netbeans-plugin's Issues

Project pane context menus for .proto files are missing normal Netbeans options (eg Delete, Rename, Properties etc)

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

protoc supports negative numbers for default values

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

Pliki są generowane w katalogu $PROJECT/build a nie w $PROJECT/src

   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:

Not able to find ProtobufTemplates

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

Integration with project's build lifecycle

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

2.1.0 Does not install in Netbeans 6.8

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 don't see protobuf tab in my C++ project

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

Integrate with Maven projects

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

--proto_path=/ is not good solution on Windows

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

Regenerate for single file needs more config options

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

Plugin doesn't appear to be available for download

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

GroupLayout bug on mac os/x with jdk 1.5

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

Enum definitions outside of message declared as errors

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

No error report when a proto file has errors in it

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

Please support netbeans 7.1 and protobuf 2.4.x

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

protobuf classes are not regenerated when a project is cleaned and build

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:

cant install on NetBeans 8

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

2.1.0 requires libraries that are *newer* than those provided in official NB 6.9!

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:

"Regenerate files from ..." places java files in the test source directory

- 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

Editing a .proto file often hangs Netbeans 7.0

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

NetBeans 6.9.1 is not able to find template plugin

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:

Support for C++/Python

as above. 

Original issue reported on code.google.com by piotr.tabor on 6 Apr 2009 at 6:44

It is possible to compile .proto files for C++ within a C++ project?

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

Unable to install Protobuff Editor on NetBeans 6.9M1

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.