Please follow these instructions to get and compile the source code:
- Download Eclipse "for RCP and RAP Developers"
- Get the latest version of Xtext and EMF SDK
- Get protobuf-dt source from the Git repo
- Create the folder "src-gen" in both projects
com.google.eclipse.protobuf
andcom.google.eclipse.protobuf.ui
- Go to project
com.google.eclipse.protobuf
and navigate to the fileGenerateProtobuf.mwe2
(in the packagecom.google.eclipse.protobuf
, in thesrc
folder) - 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!