Home » Modeling » TMF (Xtext) » Deploying plugin succeeds, editor does not show(cannot open .myDSL file with MyDSL Editor, not an available option..)
Deploying plugin succeeds, editor does not show [message #546564] |
Tue, 13 July 2010 11:46 |
Marten Sijtema Messages: 67 Registered: November 2009 |
Member |
|
|
Hello,
I created a small language with XText, and deployed successfully. I do not have a code generator (just a parser is enough) so I did this:
File > Export > Deployable Plugins & fragments
...and checked TWO projects, mydomain.myDSL and mydomain.myDSL.ui
This generates fine, and the .jars are actually in my plugin directory.
If I restart Eclipse however, and want to open someFile.anno (.anno is my extension), I cannot choose the Anno Editor.
What am I doing wrong and how can I diagnose the problem? It is really a simple language, with a very small grammar, so not even doing complicated things...
Using Xtext 1.0
Thanks in advance, any help is very much appreciated.
My company: Sytematic, building business software from models.
|
|
| | | | | | | | | | |
Re: Deploying plugin succeeds, editor does not show [message #658212 is a reply to message #657880] |
Mon, 07 March 2011 12:30 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
I guess you have to debug that the PDE way: Create a target platform
with the required plugins and run it in the debugger. Put some
breakpoints, e.g. in the activator of the language plugin or in the
XtextEditor.
Am 04.03.11 13:54, schrieb Stefan:
> Jan Koehnlein wrote on Fri, 04 March 2011 13:27
>> You could use the Plug-in Registry View to see if Eclipse has
>> recognized the plug-ins.
>> The logfile (<workspace>/.metadata/.log) could also provide a hint.
>> Usually it's a missing dependency.
>
>
> Hi, thank you for your help.
> The .log only complains about a missing feature.xml for my SVN plugin. I
> don't think they are related.
> I already used the Plugin Registry view to check whether the plugins are
> registered (they are not). The registered Plugins in development and
> deployment eclipse are the same, so I would think there are no
> dependencies missing.
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Goto Forum:
Current Time: Fri Apr 26 09:52:25 GMT 2024
Powered by FUDForum. Page generated in 0.04118 seconds
|