Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore][xtend] ordering problem during clean build
[xcore][xtend] ordering problem during clean build [message #997767] Tue, 08 January 2013 17:46 Go to next message
Nicolas Cabanis is currently offline Nicolas CabanisFriend
Messages: 15
Registered: July 2009
Junior Member
Hello,

I have a project that contains several xcore files and several xtend files. The xtend files depend on code that is generated through the xcore files. During a clean build, all generated code gets deleted (xcore-generated as well as xtend-generated). The problem now is that xtend files depending on xcore-generated do not get generated.

Is there a way of ordering the build? I gues not as both is done through the Xtext-Builder.

Regards
Nicolas
Re: [xcore][xtend] ordering problem during clean build [message #997980 is a reply to message #997767] Wed, 09 January 2013 05:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Nicolas,

Comments below.

On 08/01/2013 6:46 PM, Nicolas Cabanis wrote:
> Hello,
>
> I have a project that contains several xcore files and several xtend
> files. The xtend files depend on code that is generated through the
> xcore files. During a clean build, all generated code gets deleted
> (xcore-generated as well as xtend-generated). The problem now is that
> xtend files depending on xcore-generated do not get generated.
Which versions are you using? I know there was a problem similar to
this, i.e., cleaning two mutually dependent Xcore models and Xcore
models that depend on Java source that depends on that Xcore model's
generated results. Also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394122 was fixed. So
maybe this isn't a problem in the latest builds...
>
> Is there a way of ordering the build?
No, I doubt that. They both register via dependency injection with the
Xtext builder framework via the org.eclipse.xtext.ui.shared.xtextBuilder
in the .project file.
> I gues not as both is done through the Xtext-Builder.
Exactly.

If it's a problem with the latest builds (which is probably not the case
with the fix for 394122 and with the improvements to the JvmInferrers
since the Xcore 1.1 stream), please open a minimal test case so the two
teams can have a look.


>
> Regards
> Nicolas


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XMLResource only persists one root object
Next Topic:[GWT] Unable to find 'org/eclipse/emf/ecore/Ecore.gwt.xml'
Goto Forum:
  


Current Time: Fri Mar 29 11:15:32 GMT 2024

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

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

Back to the top