|
|
|
|
|
Re: Run as... for your DSL [message #1270402 is a reply to message #1270058] |
Thu, 13 March 2014 00:21 |
Hallvard Traetteberg Messages: 673 Registered: July 2009 Location: Trondheim, Norway |
Senior Member |
|
|
Thanks for the pointers! I managed to make it work, though it wasn't as
easy or streamlined as I hoped. With the help of the debugger I (think
I) understood how the adapter logic worked, and by copying relevant
plugin.xml extensions and xbase launching code I could make my code do
the same thing as Xtend/Xbase. However, I got the fealing that it should
have been enough to copy the plugin.xml extensions, but use my own
executable extension and inject my own subclass of
JavaElementDelegateJunitLaunch, but there seemed to be some interaction
with adapters registered by Xtend, so it didn't work.
Anyway, since it works I'm satisfied!
Hallvard
On 12.03.14 13:59, Joerg Reichert wrote:
> For Xtend it is realized here:
> https://github.com/eclipse/xtext/blob/master/plugins/org.eclipse.xtend.ide/plugin.xml#L1013
>
|
|
|
Powered by
FUDForum. Page generated in 0.03208 seconds