[SOLVED] How to deploy an Xtext plugin on a clean Eclipse ? [message #1373845] |
Thu, 22 May 2014 06:52  |
Eclipse User |
|
|
|
Hi,
Sorry for this probably easy question for some of you, but I spent much time on internet and with various solutions without getting a proper answer to my problem:
I need to deploy an Xtext plugin on an existing Eclipse CDT: so I need to deploy first Xtext runtime, am I wrong ?
-> I tried to do it, but when I start this Eclipse (Xtext Runtime installed) with my Xtext plugins (composed of org.xtext.example.mydsl.tests_1.0.0.201404271003.jar, org.xtext.example.mydsl.ui_1.0.0.201404271003.jar and org.xtext.example.mydsl_1.0.0.201404271003.jar) I get the following message :
!ENTRY org.eclipse.ui 2 0 2014-05-22 12:15:23.440
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2014-05-22 12:15:23.440
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.xtext.ui', id='org.eclipse.xtext.ui.editor.outline.QuickOutline'
And I cannot find any explanation on what this means. And of course, my plugin does not work (files of proper extension are not displayed as it is when I test in "Run As" configuration from my Xtext dev environment, with Xtext SDK).
Thank you by advance for your help
(To be more precise, my final objective is to produce a full package that can be deployed in one shot on an existing Eclipse CDT - which does not contains any Xtext component - so if you have an easy way to achieve that I am interested !)
[Updated on: Fri, 23 May 2014 04:49] by Moderator
|
|
|
|
Re: How to deploy an Xtext plugin on a clean Eclipse ? [message #1374811 is a reply to message #1374391] |
Thu, 22 May 2014 16:20   |
Eclipse User |
|
|
|
Thank you very much Stefan.
I tried it, I succeeded in exporting my feature (great !), so first step is ok, unfortunately I fail at deploying it in Eclipse (read some tutorial but I do not find the problem...): I do not want to use an update site, so I exported it by Selecting the "Directory" option in "Destination" tab, and in the "Options" tab if I unchek "Package as individual JAR archives", then I get two folders (plufins and features) that I copy in my target Eclipse "dropins" folder: anything happens, no error log appended in .log file, no mention of the plugin in installed plugins list, and expected behavior (editor for a given file extension) doe not appear.
I also tried to check "Package as individual JAR archives" and to copy the files and folders in "dropins", but I have the following error :
Quote:
!ENTRY org.eclipse.equinox.p2.core 4 0 2014-05-22 21:34:17.514
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: No repository found at jar:file:/D:/MyCLEANTest/eclipse/dropins/content.jar!/.
that makes me think that I am doing something not expected by Eclipse.
If you have any idea of how to debug or what I am doing wrong do not hesitate to tell !
I will continue to work on this tomorrow (I am french - sorry for my english - and here it is time to go to sleep...).
Regards,
Etienne
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03688 seconds