duckAsteroid / protobuf-dt

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

Unable to generate a java class from a proto file #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create Java Project (testProject)
2.Right-click on the project --> Create New File (Person.proto)

message Person {
  required string name = 1;
  required int32 id = 2;
  optional string email = 3;

  enum PhoneType {
    MOBILE = 0;
    HOME = 1;
    WORK = 2;
  }

  message PhoneNumber {
    required string number = 1;
    optional PhoneType type = 2 [default = HOME];
  }

  repeated PhoneNumber phone = 4;
}

3.Save the file (Ctrl+S). 

What is the expected output? What do you see instead?
- Expected: Generate the Person.java class somewhere in the project folder 
(src-gen)
- Nothing happens

What version of the product are you using? On what operating system?
Eclipse Indigo
Protobuf-dt version: 1.0.2.201109132345
Windows 7

Please provide any additional information below.
Thank you!

Original issue reported on code.google.com by gavdia...@gmail.com on 30 Sep 2011 at 3:11

Attachments:

GoogleCodeExporter commented 9 years ago
This issue has been fixed for 1.0.3 and is discussed at
http://groups.google.com/group/protobuf-dt/browse_thread/thread/778294524d41ed9d
and is a duplicate of
https://code.google.com/p/protobuf-dt/issues/detail?id=119

There is no workaround for this bug but there is an unofficial patched build in 
the above linked thread.  Alternatively you can build from source.

Alex - You may want to consider a 1.0.2a release to address this high impact 
bug if 1.0.3 is still delayed. (or push referenced options out to 1.0.4)

Original comment by compuwar...@gmail.com on 30 Sep 2011 at 6:05

GoogleCodeExporter commented 9 years ago
Hi Ben,

I'm so sorry for the delayed response. 

Once again, thank you so much for the time and effort you put into this 
project. I sincerely appreciate it :)

I agree with you that we need to release ASAP. The problem is that support for 
custom options is not finished yet, and I'm afraid it this unfinished task will 
bring more trouble than benefits to our users.

My goal is to have it finished by Wednesday.

Cheers,
-Alex

Original comment by alr...@google.com on 10 Oct 2011 at 6:17

GoogleCodeExporter commented 9 years ago
I have the same issue; however, I am using Mac OS X. Thus, this bug might not 
be related to Windows systems only?

Original comment by mburger313@gmail.com on 10 Oct 2011 at 9:14