XCore install issues [message #925507] |
Thu, 27 September 2012 15:52  |
Eclipse User |
|
|
|
Every time I've tried to install XCore, both on Indigo and now Juno, I have the following issue:
If I install XCore first, it works.
If I then install XText/XPand, nothing works -- the editors aren't recognized, etc...
If I uninstall XText/Xpand and then reinstall XCore, everything works again
Nartually, since the Score projects actually require Xtext, this presents a problem.
Also, I'm wondering if XCore is suppossed to implement the XTend Template (''') syntax. I can't get it to work, but I was thining that might be due to the issue above..
thanks!
Miles
|
|
|
Re: XCore install issues [message #925943 is a reply to message #925507] |
Fri, 28 September 2012 02:49   |
Eclipse User |
|
|
|
Miles,
Comments below.
On 27/09/2012 9:52 PM, Miles Parker wrote:
> Every time I've tried to install XCore, both on Indigo and now Juno, I
> have the following issue:
>
> If I install XCore first, it works.
> If I then install XText/XPand, nothing works -- the editors aren't
> recognized, etc...
Xcore requires Xtext...
> If I uninstall XText/Xpand and then reinstall XCore, everything works
> again
>
> Nartually, since the Score projects actually require Xtext, this
> presents a problem.
You've tried installing Xtext and Xpand first. I don't see how order
affects anything...
>
> Also, I'm wondering if XCore is suppossed to implement the XTend
> Template (''') syntax. I can't get it to work, but I was thining that
> might be due to the issue above..
No, that's not an Xbase thing.
>
> thanks!
>
> Miles
|
|
|
|
Re: XCore install issues [message #926435 is a reply to message #926427] |
Fri, 28 September 2012 12:49  |
Eclipse User |
|
|
|
Miles,
Comments below.
On 28/09/2012 6:42 PM, Miles Parker wrote:
> Thanks Ed.,,
>
> Figured it out. It was actually a problem with my Target Platform,
> should have seen that earlier. But that brings up a question -- why
> *does* the xtext dependency have to be in the base project?
It's actually an Xbase dependency which is needed if you have any
behavior specified in your model (derived features, operations, or data
conversion).
> Isn't this really a build time concern, since all of the code that is
> emitted has no dependencies on xtext..?
Other than the generated method bodies, if any.
> Ideally, I'd be able to use xcore projects w/ the same dependencies as
> plain old ecore gen code.
That's possible in principle, if you don't make use of Xbase in your
Xcore model.
>
> Really enjoying xcore, to the extent that I keep expecting it to do
> things it wasn't really designed for.. :)
We'll have to improve the design to exceed expectations.
>
> cheers,
>
> Miles
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04548 seconds