Skip to main content



      Home
Home » Modeling » EMF » [XCORE] generated class files not updated
[XCORE] generated class files not updated [message #1780053] Tue, 16 January 2018 17:03 Go to next message
Eclipse UserFriend
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] Tue, 16 January 2018 23:16 Go to previous messageGo to next message
Eclipse UserFriend
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 03:10 Go to previous messageGo to next message
Eclipse UserFriend
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 15:39 Go to previous messageGo to next message
Eclipse UserFriend
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 02:26 Go to previous message
Eclipse UserFriend
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: Thu Jul 10 02:31:10 EDT 2025

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

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

Back to the top