Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsInjector problems in deployed plugin
https://www.eclipse.org/forums/index.php/mv/msg/796028/1403009/#msg_1403009
I create an update site project and add my DSL's sdk project as a feature. I build the site and the use that to install the features into a clean eclipse. The environment fails with a
"Failed to create injector for pnnl.ccsi.Prosser ExtensionFactory: pnnl.ccsi.ui.ProsserExecutableExtensionFactory"
notice and the associated error messages. I would appreciate any suggestions of where to explore for errors. If I just launch a child Eclipse to exercise the language and editor it all works fine.
Thanks
david
]]>David Callahan2014-07-19T18:46:39-00:00Re: Injector problems in deployed plugin
https://www.eclipse.org/forums/index.php/mv/msg/796028/1403025/#msg_1403025
> I am following a recipe that worked for me in the past but something seems to be misconfigured.
>
> I create an update site project and add my DSL's sdk project as a feature. I build the site and the use that to install the features into a clean eclipse. The environment fails with a
>
> "Failed to create injector for pnnl.ccsi.Prosser ExtensionFactory: pnnl.ccsi.ui.ProsserExecutableExtensionFactory"
>
> notice and the associated error messages. I would appreciate any suggestions of where to explore for errors. If I just launch a child Eclipse to exercise the language and editor it all works fine.
> Thanks
> david
>
Hi
at the end of the messages you can see that there's a
java.lang.ArrayIndexOutOfBoundsException: 3
if it works in your workbench but not in the deployed feature can it be
due to something that your language requires and you forgot to export
(i.e., it is not specified in the build.properties)?
There's also something concerning xtext codetemplates; does your DSL
tooling use codetemplates? If so, are you exporting the corresponding
xml file in the build.properties?
hope this helps
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book: http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book]]>Lorenzo Bettini2014-07-20T06:55:44-00:00Re: Injector problems in deployed plugin
https://www.eclipse.org/forums/index.php/mv/msg/796028/1403038/#msg_1403038
This version of my tool compared to the previous successful deployments includes specialization of hover support, semantic highlighting and content assist but I did not make any changes to code templates. My changes include adding new Xtend classes (in new packages) and adding binding methods to the UiModule. Does there need to be some change in build or other configuration for these kinds of changes?
david
]]>David Callahan2014-07-20T15:17:59-00:00Re: Injector problems in deployed plugin
https://www.eclipse.org/forums/index.php/mv/msg/796028/1403271/#msg_1403271
> Thanks Lorenzo for taking a look.
> This version of my tool compared to the previous successful deployments
> includes specialization of hover support, semantic highlighting and
> content assist but I did not make any changes to code templates. My
> changes include adding new Xtend classes (in new packages) and adding
> binding methods to the UiModule. Does there need to be some change in
> build or other configuration for these kinds of changes?
> david
>