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

Bug 422438

Summary: unable to open .dot file
Product: [Tools] GEF Reporter: David Samuelsson <david.samuelsson.se>
Component: GEF-Legacy ZestAssignee: gef-inbox <gef-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: steeg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
eclipse config
none
error when opening any .dot file none

Description David Samuelsson CLA 2013-11-25 03:11:59 EST

    
Comment 1 David Samuelsson CLA 2013-11-25 03:29:58 EST
Created attachment 237677 [details]
eclipse config
Comment 2 David Samuelsson CLA 2013-11-25 03:55:05 EST
seems my description got lost?

I needed to look at some genereated .dot files so i installed zest 2.0.0 from the marketplace. but got erors when trying to load the view

Guice provision errors:

1) Error injecting constructor, org.eclipse.emf.common.util.WrappedException: org.eclipse.xtext.resource.ClasspathUriResolutionException: java.lang.IllegalStateException: Couldn't find resource on classpath. URI was 'classpath:/org/eclipse/gef4/zest/internal/dot/parser/Dot.xmi'
  at org.eclipse.gef4.zest.internal.dot.parser.services.DotGrammarAccess.<init>(Unknown Source)
  at org.eclipse.gef4.zest.internal.dot.parser.services.DotGrammarAccess.class(Unknown Source)
  while locating org.eclipse.gef4.zest.internal.dot.parser.services.DotGrammarAccess
  while locating org.eclipse.xtext.IGrammarAccess

see error.txt for full stacktrace
Comment 3 David Samuelsson CLA 2013-11-25 03:56:16 EST
Created attachment 237681 [details]
error when opening any .dot file
Comment 4 Fabian Steeg CLA 2013-12-01 16:27:37 EST
I've seen similar issues before with some versions of Xtext (which pulls in Guice). Perhaps you already had some incompatible version of Xtext or Guice installed? You could try uninstalling both Zest and Xtext, or start from a clean package. Or did you install into a clean package?
Comment 5 David Samuelsson CLA 2013-12-16 03:00:01 EST
yepp after fresh install of eclipse via chocolatey

http://chocolatey.org/packages/eclipse-standard-kepler

(try this btw, really neat packaging method for windows)

then only installed zest, then it worked.

Seems there must have been something conflicting in my setup, even though everything is installed via p2.
Comment 6 David Samuelsson CLA 2013-12-16 03:01:27 EST
works for me