Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » XCore install issues
XCore install issues [message #925507] Thu, 27 September 2012 19:52 Go to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
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 06:49 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33139
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XCore install issues [message #926427 is a reply to message #925943] Fri, 28 September 2012 16:42 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
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? Isn't this really a build time concern, since all of the code that is emitted has no dependencies on xtext..? Ideally, I'd be able to use xcore projects w/ the same dependencies as plain old ecore gen code.

Really enjoying xcore, to the extent that I keep expecting it to do things it wasn't really designed for.. Smile

cheers,

Miles



Re: XCore install issues [message #926435 is a reply to message #926427] Fri, 28 September 2012 16:49 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33139
Registered: July 2009
Senior Member
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
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] Thread-local legacy mode default
Next Topic:[XCore] CompoundXtextEditorCallback - Was configured with another client or not configured at all
Goto Forum:
  


Current Time: Tue Apr 23 06:12:14 GMT 2024

Powered by FUDForum. Page generated in 0.03605 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top