My favorites | Sign in
Project Home Wiki Issues Source
Search
for
GettingSource  
Updated Jul 16, 2012 by alr...@google.com

Please follow these instructions to get and compile the source code:

  1. Download Eclipse "for RCP and RAP Developers"
  2. Get the latest version of Xtext and EMF SDK
  3. Get protobuf-dt source from the Git repo
  4. Create the folder "src-gen" in both projects com.google.eclipse.protobuf and com.google.eclipse.protobuf.ui
  5. Go to project com.google.eclipse.protobuf and navigate to the file GenerateProtobuf.mwe2 (in the package com.google.eclipse.protobuf, in the src folder)
  6. Right-click GenerateProtobuf.mwe2 and select "Run As" > "MWE2 Workflow"

That will generate the Xtext-based infrastructure needed. Now the source code is complete, simply run the project com.google.eclipse.protobuf as an "Eclipse Application."

Enjoy!

Comment by llstarry...@gmail.com, Mar 19, 2013

you gotta include slf4j library as well( I used Eclipse 4.3 ,, maybe it's the reason why)

you can download zip file from http://www.slf4j.org. (I downloaded slf4j-1.7.4, the latest version)

Inside of the compressed file, there is slf4j-api-1.7.4.jar. If you include the file as a library of com.google.eclipse.protobuf you can run GenerateProtobuf?.mwe2.


Sign in to add a comment
Powered by Google Project Hosting