Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] xtext: java instead of xtend

Thanks Greg! Very useful.

Jay

Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings
________________________________________
From: ice-dev-bounces@xxxxxxxxxxx <ice-dev-bounces@xxxxxxxxxxx> on behalf of Greg Watson <greg@watson.earth>
Sent: Wednesday, June 29, 2016 2:06 PM
To: ice developer discussions
Subject: [ice-dev] xtext: java instead of xtend

I found some useful information regarding xtext. By default, xtext will generate xtend stubs for things like label and outline providers. This can be disabled by setting generateXtendStub = false in the workflow file. e.g. to generate a java rather than an xtend version of the outline provider, you’d do something like:

Workflow {
        component = XtextGenerator {
                configuration = {
                        ...
                }
                language = StandardLanguage {
                        ...
                        outline = {
                                generateXtendStub = false
                        }
                }
        }
}

Note that not everything can have xtend generation disable apparently. More information here [1] [2].

[1] http://stackoverflow.com/questions/30248300/how-to-use-java-instead-of-xtend
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=405321
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev


Back to the top