Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [XCORE] generated class files not updated
[XCORE] generated class files not updated [message #1780053] Tue, 16 January 2018 22:03 Go to next message
Theo Weiß is currently offline Theo WeißFriend
Messages: 9
Registered: January 2014
Junior Member
Hi,

after upgrading to the latest eclipse version the code generation with xcore does not update existing class files when the model changes (new classes are created properly).
You can find my model here: https://github.com/theoweiss/openhab/blob/TF1217/bundles/binding/org.openhab.binding.tinkerforge/model/tinkerforge.xcore

What am I doing wrong?

Regards,
Theo
Re: [XCORE] generated class files not updated [message #1780066 is a reply to message #1780053] Wed, 17 January 2018 04:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29183
Registered: July 2009
Senior Member
I'm completely tied up trying to get EMF's build migrated to Tycho right now so I don't have time to try to reproduce this. So you're saying that if you delete all the generated files, they do get regenerated? But after that the merging of any changes you make to the Xcore seems to fail? You might try updating to http://download.eclipse.org/modeling/emf/emf/updates/2.14milestones to see if there are fixes. Failing that, a small self-contained zipped project that reproduces the problem attached to a Bugzilla would be very helpful to let me investigate what's going wrong. I can't reproduce this problem with a small example with the current state in the master branch.
Re: [XCORE] generated class files not updated [message #1780077 is a reply to message #1780066] Wed, 17 January 2018 08:10 Go to previous messageGo to next message
Theo Weiß is currently offline Theo WeißFriend
Messages: 9
Registered: January 2014
Junior Member
Quote:
I'm completely tied up trying to get EMF's build migrated to Tycho right now so I don't have time to try to reproduce this. So you're saying that if you delete all the generated files, they do get regenerated?

Yes.
Quote:

But after that the merging of any changes you make to the Xcore seems to fail?

Yes.
Quote:

You might try updating to http://download.eclipse.org/modeling/emf/emf/updates/2.14milestones to see if there are fixes.

Ok, I will try the update.
Quote:

Failing that, a small self-contained zipped project that reproduces the problem attached to a Bugzilla would be very helpful to let me investigate what's going wrong. I can't reproduce this problem with a small example with the current state in the master branch.

May be it is failing because my model is quite big: ~ 1200 LOC and 44,4 kb?
Re: [XCORE] generated class files not updated [message #1780134 is a reply to message #1780077] Wed, 17 January 2018 20:39 Go to previous messageGo to next message
Theo Weiß is currently offline Theo WeißFriend
Messages: 9
Registered: January 2014
Junior Member
I've updated to 2.14milestones but it didn't fix the issue.
Re: [XCORE] generated class files not updated [message #1780148 is a reply to message #1780134] Thu, 18 January 2018 07:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29183
Registered: July 2009
Senior Member
That's unfortunate. :-( I'm also not able to reproduce a problem with a simple example. Please try to boil this down to a self-contained project that does reproduce the problem and attach that to a Bugzilla report.
Previous Topic:[CDO] Security aspects for access rights
Next Topic:[XCore] / [EMF] Derived Attribute notifier definition/generation from model
Goto Forum:
  


Current Time: Mon Feb 19 08:43:30 GMT 2018

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

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