|
Re: Unable to run gen_MyModel.launch [message #897198 is a reply to message #897163] |
Mon, 23 July 2012 02:42   |
Eclipse User |
|
|
|
Hi Anil,
we haven't been aware of this problem until last week when we realized that also our build process at eclipse.org picks up version
2.3 of Xtext.
All people who currently use eTrice have Xtext 2.1.1 installed and thus had no problems.
This is what I also recommend to you.
Please un-install the Xtext 2.3 version (you can do so by choosing Help > About Eclipse > Installation Details, then in the
"Installed Software" tab mark all Xtext, Xtend and Xbase features, then press Uninstall...).
After that you can install Xtext 2.1.1 from
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
Sorry for the inconvenience.
-Henrik
Am 22.07.2012 21:47, schrieb Anil Bhatia:
> Setup information:
> Installed 0.2.0 M2 release of eTrice:
> http://download.eclipse.org/etrice/updates/milestones/S-0.2.0-M2.201205211000
>
> This required 'bundle org.eclipse.xtext.xtend2.lib 2.1.1'.
>
> so, I also provided "http_colon_//download.itemis.de/updates/" and checked "Contact all update sites during install to find
> required software".
> This perhaps led to latest xtext (2.3) getting installed, but I guess that should not matter, because installation finished
> without any problem.
>
> Problem Description:
> I am attempting "Hello world" example given at http://www.eclipse.org/etrice/documentation/doc/etrice.html
> When I attempt to run gen_MyModel.launch, it is not able to locate org.eclipse.xtext.parser.IEncodingProvider implementation.
> I get the following exact error message:
>
> An internal error occurred during: "Launching gen_MyModel".
> Guice creation errors:
>
> 1) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.base.AbstractGenerator.fileAccess(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:37)
>
> 2) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.doc.gen.InstanceDiagramGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.doc.gen.InstanceDiagramGen
> for field at org.eclipse.etrice.generator.doc.gen.MainGen.instanceDiagramGen(Unknown Source)
> while locating org.eclipse.etrice.generator.doc.gen.MainGen
> for field at org.eclipse.etrice.generator.java.Main.mainDocGenerator(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:37)
>
> 3) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.generic.PrepareFileSystem.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.generic.PrepareFileSystem
> for field at org.eclipse.etrice.generator.doc.gen.MainGen.prepFS(Unknown Source)
> while locating org.eclipse.etrice.generator.doc.gen.MainGen
> for field at org.eclipse.etrice.generator.java.Main.mainDocGenerator(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:37)
>
> 4) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.doc.gen.DocGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.doc.gen.DocGen
> for field at org.eclipse.etrice.generator.doc.gen.MainGen.docGen(Unknown Source)
> while locating org.eclipse.etrice.generator.doc.gen.MainGen
> for field at org.eclipse.etrice.generator.java.Main.mainDocGenerator(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:37)
>
> 5) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.java.gen.DataClassGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.java.gen.DataClassGen
> for field at org.eclipse.etrice.generator.java.gen.MainGen.dataClassGen(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:38)
>
> 6) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.java.gen.ProtocolClassGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.java.gen.ProtocolClassGen
> for field at org.eclipse.etrice.generator.java.gen.MainGen.protocolClassGen(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:38)
>
> 7) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.java.gen.ActorClassGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.java.gen.ActorClassGen
> for field at org.eclipse.etrice.generator.java.gen.MainGen.actorClassGen(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:38)
>
> 8) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.java.gen.SubSystemClassGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.java.gen.SubSystemClassGen
> for field at org.eclipse.etrice.generator.java.gen.MainGen.subsystemClassGen(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:38)
>
> 9) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.java.gen.SubSystemRunnerGen.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.java.gen.SubSystemRunnerGen
> for field at org.eclipse.etrice.generator.java.gen.MainGen.subsystemRunnerGen(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:38)
>
> 10) No implementation for org.eclipse.xtext.parser.IEncodingProvider was bound.
> while locating org.eclipse.xtext.parser.IEncodingProvider
> for field at org.eclipse.xtext.generator.JavaIoFileSystemAccess.encodingProvider(Unknown Source)
> while locating org.eclipse.xtext.generator.JavaIoFileSystemAccess
> for field at org.eclipse.etrice.generator.generic.PrepareFileSystem.fileAccess(Unknown Source)
> while locating org.eclipse.etrice.generator.generic.PrepareFileSystem
> for field at org.eclipse.etrice.generator.java.gen.MainGen.prepFS(Unknown Source)
> at org.eclipse.etrice.generator.java.setup.GeneratorModule.configure(GeneratorModule.java:38)
>
> 10 errors
>
>
|
|
|
|
Re: Unable to run gen_MyModel.launch [message #898002 is a reply to message #897233] |
Wed, 25 July 2012 11:15  |
Eclipse User |
|
|
|
Hi Anil,
the documentation should definitely be clearer here.
The state machine animation is a feature we plan but which is not yet implemented and not even scheduled for implementation.
Together with data inspection/manipulation, message injection and sequence diagram generation the state machine animation is
something we will have in one of the next releases.
If you were volunteering for this we would discuss the concepts for runtime debugging support and guide you.
-Henrik
Am 23.07.2012 12:18, schrieb Anil Bhatia:
> Hi Henric,
>
> Thanks for quick and precise response. I am able to proceed with the example after following your recommendation.
>
> Just another question...
> While the documentation talks about being able to debug the model execution using state machine animation, I am not really able to
> get the exact steps on how to do it. Could you please point me to something for this as well...?
>
> Thanks once again.
> Regards
> Anil
|
|
|
Powered by
FUDForum. Page generated in 0.04269 seconds