Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » how to put oaw projects on CVS
how to put oaw projects on CVS [message #384436] Wed, 06 August 2008 06:31 Go to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1307
Registered: July 2009
Senior Member
Hi

I was just wondering what the correct procedure to put oaw projects (in
my case xtext projects) into a CVS; for the moment I'm also putting
src-gen folders but each time I perform a workflow run I get a lot of
conflicts (since the files in those directories are deleted and then
re-created); I then can mark everything as merged and then commit; but
is this the correct procedure?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: how to put oaw projects on CVS [message #384653 is a reply to message #384436] Fri, 08 August 2008 02:40 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1759
Registered: July 2009
Senior Member
There's no correct or incorrect, of course. But as the contents of
src-gen is reproducable we usually don't check the generated code in.

regards,
Sven

Lorenzo Bettini schrieb:
> Hi
>
> I was just wondering what the correct procedure to put oaw projects (in
> my case xtext projects) into a CVS; for the moment I'm also putting
> src-gen folders but each time I perform a workflow run I get a lot of
> conflicts (since the files in those directories are deleted and then
> re-created); I then can mark everything as merged and then commit; but
> is this the correct procedure?
>
> thanks in advance
> Lorenzo
>


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: how to put oaw projects on CVS [message #384654 is a reply to message #384653] Fri, 08 August 2008 05:10 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1307
Registered: July 2009
Senior Member
Hi Sven

I also tried not to put the generated src-gen, but then I always got
errors when checking out a fresh version from the CVS and then trying to
regenerate the artifacts...

Sven Efftinge wrote:
> There's no correct or incorrect, of course. But as the contents of
> src-gen is reproducable we usually don't check the generated code in.
>
> regards,
> Sven
>
> Lorenzo Bettini schrieb:
>> Hi
>>
>> I was just wondering what the correct procedure to put oaw projects
>> (in my case xtext projects) into a CVS; for the moment I'm also
>> putting src-gen folders but each time I perform a workflow run I get a
>> lot of conflicts (since the files in those directories are deleted and
>> then re-created); I then can mark everything as merged and then
>> commit; but is this the correct procedure?
>>
>> thanks in advance
>> Lorenzo
>>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: how to put oaw projects on CVS [message #618908 is a reply to message #384436] Fri, 08 August 2008 02:40 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1759
Registered: July 2009
Senior Member
There's no correct or incorrect, of course. But as the contents of
src-gen is reproducable we usually don't check the generated code in.

regards,
Sven

Lorenzo Bettini schrieb:
> Hi
>
> I was just wondering what the correct procedure to put oaw projects (in
> my case xtext projects) into a CVS; for the moment I'm also putting
> src-gen folders but each time I perform a workflow run I get a lot of
> conflicts (since the files in those directories are deleted and then
> re-created); I then can mark everything as merged and then commit; but
> is this the correct procedure?
>
> thanks in advance
> Lorenzo
>


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: how to put oaw projects on CVS [message #618910 is a reply to message #384653] Fri, 08 August 2008 05:10 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1307
Registered: July 2009
Senior Member
Hi Sven

I also tried not to put the generated src-gen, but then I always got
errors when checking out a fresh version from the CVS and then trying to
regenerate the artifacts...

Sven Efftinge wrote:
> There's no correct or incorrect, of course. But as the contents of
> src-gen is reproducable we usually don't check the generated code in.
>
> regards,
> Sven
>
> Lorenzo Bettini schrieb:
>> Hi
>>
>> I was just wondering what the correct procedure to put oaw projects
>> (in my case xtext projects) into a CVS; for the moment I'm also
>> putting src-gen folders but each time I perform a workflow run I get a
>> lot of conflicts (since the files in those directories are deleted and
>> then re-created); I then can mark everything as merged and then
>> commit; but is this the correct procedure?
>>
>> thanks in advance
>> Lorenzo
>>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Previous Topic:[TCS] Missing Parser Generator???
Next Topic:[xtext] testing the parser
Goto Forum:
  


Current Time: Mon Jul 28 18:50:48 EDT 2014

Powered by FUDForum. Page generated in 0.08879 seconds