Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Code Generation and SVN
Code Generation and SVN [message #556409] Wed, 01 September 2010 08:49 Go to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 919
Registered: July 2009
Senior Member
Slightly of topic, but as the Modeling projects are versed in code
generation, I try my luck here.

Specifically in the EEF Case, I tend to delete the generated code and
re-generated (This is because, the .eef model validation is not
guaranteed to find all model errors, which results in bady code...)

So when, I re-generate the classes the SVN Update status kicks in, as I
have committed my code on some repo. (Perhaps, I shouldn't, but then if
I customize, I will need to).

This SVN update takes a long time. I wonder how others deal with this
issue (Or better, avoid it!)

Cheers Christophe
Re: Code Generation and SVN [message #556417 is a reply to message #556409] Wed, 01 September 2010 09:18 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 522
Registered: July 2009
Senior Member
You still have the option to not commit the generated code. This won't work if you modify the generated code though and this complexifies the eventual build processes.

CVS handles this better than SVN I think so if you have the possibility to switch to CVS this might be another solution.
Re: Code Generation and SVN [message #623162 is a reply to message #556409] Wed, 01 September 2010 09:18 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 522
Registered: July 2009
Senior Member
You still have the option to not commit the generated code. This won't work if you modify the generated code though and this complexifies the eventual build processes.

CVS handles this better than SVN I think so if you have the possibility to switch to CVS this might be another solution.
Previous Topic:Code Generation and SVN
Next Topic:EResource
Goto Forum:
  


Current Time: Thu Sep 18 16:01:14 GMT 2014

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

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