This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246918 - Trying to install Google's Protobuf plugin fails
Summary: Trying to install Google's Protobuf plugin fails
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: issues@third-party
URL: http://www.mediafire.com/download/yzl...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 08:47 UTC by Drorcohen
Modified: 2014-12-31 08:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drorcohen 2014-09-08 08:47:21 UTC
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.

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)

Tried on windows 2008 server as well. Same result.

I've reported this on the plugin site - https://code.google.com/p/protobuf-netbeans-plugin/issues/detail?id=27&q=label%3APriority-Medium but there was no reaction so I am hoping someone here can help - this is preventing me from upgrading since my company's code use Google's Protobuf.


Dror
Comment 1 Drorcohen 2014-12-31 08:03:04 UTC
a suggested fixed plugin is in the link.
WARNING: this code is for you to use at your own risk. You can do what ever you want with it - but I won't be responsible for anything it may cause. You are free to do whatever you want with the code (use, move on, change,...)

installation:
1. unzip the file
2. the nbm files can found in \build\updates\ folder
3. the relevant plugins are:
    pl-waw-tabor-netbeans-protobuf-libs-protobuf23.nbm
    pl-waw-tabor-netbeans-protobuf-configuration.nbm
    pl-waw-tabor-netbeans-protobuf-editor.nbm
    pl-waw-tabor-netbeans-protobuf-generator.nbm


Please note that there is one issue with this version - when you add a new xxx.proto file, after you click 'save' you'll receive an error message the file xxx.proto already exist - this is a false alert and you can safely click cancel and see that the file was successfully created.

It was prepared ona windows machine with NB 8.0.1 and protobuf 2.6.1.

It works on windows and linux machines. 64 bit. Also I linked it to a protobuf 2.5.0 jar and it works as expected. Hope this will help somebody.