Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 472886

Summary: gef4.dot build path errors
Product: [Tools] GEF Reporter: Patrik Suzzi <psuzzi>
Component: GEF DOTAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Compilers error after setting up the development environment none

Description Patrik Suzzi CLA 2015-07-16 20:48:29 EDT
Created attachment 255264 [details]
Compilers error after setting up the development environment

After setting up the GEF4 environment and getting the GEF4 code (no GEF proper) I've found compile errors, related to the org.eclipse.gef4.dot project. 

See the list of errors, and the attached screenshot

Description	Resource	Path	Location	Type
ERRORS:
API analysis aborted for 'org.eclipse.gef4.dot' since its build path is incomplete	org.eclipse.gef4.dot		line 0	Fatal Problem
Package 'org.eclipse.gef4.internal.dot.parser.dot.impl' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 22	Plug-in Problem
Package 'org.eclipse.gef4.internal.dot.parser.dot.util' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 23	Plug-in Problem
Package 'org.eclipse.gef4.internal.dot.parser.dot' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 21	Plug-in Problem
Package 'org.eclipse.gef4.internal.dot.parser.parser.antlr.internal' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 27	Plug-in Problem
Package 'org.eclipse.gef4.internal.dot.parser.parser.antlr' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 26	Plug-in Problem
Package 'org.eclipse.gef4.internal.dot.parser.parseTreeConstruction' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 25	Plug-in Problem
Package 'org.eclipse.gef4.internal.dot.parser.services' does not exist in this plug-in	MANIFEST.MF	/org.eclipse.gef4.dot/META-INF	line 29	Plug-in Problem
Project 'org.eclipse.gef4.dot' is missing required source folder: 'src-gen'	org.eclipse.gef4.dot		Build path	Build Path Problem
The project cannot be built until build path errors are resolved	org.eclipse.gef4.dot		Unknown	Java Problem
WARNINGS
Referenced class 'org.eclipse.gef4.internal.dot.parser.dot.DotPackage' in attribute 'class' is not on the plug-in classpath	plugin.xml	/org.eclipse.gef4.dot	line 6	Plug-in Problem
Referenced resource 'src-gen/org/eclipse/gef4/internal/dot/parser/Dot.genmodel' in attribute 'genModel' cannot be found	plugin.xml	/org.eclipse.gef4.dot	line 6	Plug-in Problem
The folder "src-gen/" does not exist in the workspace	build.properties	/org.eclipse.gef4.dot	line 12	Plug-in Problem
Comment 1 Alexander Nyßen CLA 2015-07-17 01:39:09 EDT
Patrik, thanks for pointing this out. This is because the respective bundle contains an Xtext language, for which sources are to be generated. You will either have to install Xtext or use Maven to perform this. I will have to update our contribution guide to point that out properly.
Comment 2 Alexander Nyßen CLA 2015-07-17 02:25:41 EDT
I have updated our contributor guide accordingly. Resolving as fixed. Please re-open in case you consider the contributor guide to be not precise enough.