Re: [scxml-eclipse] Managing generated code in SVN

2010-06-12 Thread Rahul Akolkar
2010/6/11 Xun Long Gui : > Second stage is normal coding period, we write codes that we need as > we do every day, i do not think this stage we can automated :-) > I agree. Lets document the changes made post generation. At the minimum, we could document which files have been hand-edited and why

Re: [scxml-eclipse] Managing generated code in SVN

2010-06-11 Thread Xun Long Gui
Second stage is normal coding period, we write codes that we need as we do every day, i do not think this stage we can automated :-) -Gui Xun Long On 6/11/10, sebb wrote: > On 11/06/2010, Xun Long Gui wrote: >> Hi Sebb, >> Thank you for your advise, but it is a pity that we can not use an >>

Re: [scxml-eclipse] Managing generated code in SVN

2010-06-11 Thread sebb
On 11/06/2010, Xun Long Gui wrote: > Hi Sebb, > Thank you for your advise, but it is a pity that we can not use an > build script to generate these codes in the build process. There are > two reasons: > 1. These codes are generated by GMF, may be we can find its generate > source code and wri

Re: [scxml-eclipse] Managing generated code in SVN

2010-06-11 Thread Xun Long Gui
Hi Sebb, Thank you for your advise, but it is a pity that we can not use an build script to generate these codes in the build process. There are two reasons: 1. These codes are generated by GMF, may be we can find its generate source code and write a similar ant build script, but i do not know how

Re: [scxml-eclipse] Managing generated code in SVN

2010-06-11 Thread sebb
On 11/06/2010, Rahul Akolkar wrote: > On Thu, Jun 10, 2010 at 10:03 PM, Xun Long Gui wrote: > > Hi Rahul, > > > > Deleting files in SVN server last time is due to my lapse operation, > > sorry for that :-( > > > > OK, thanks for clarifying, please be careful not to delete going forward. > >

Re: [scxml-eclipse] Managing generated code in SVN

2010-06-10 Thread Rahul Akolkar
On Thu, Jun 10, 2010 at 10:03 PM, Xun Long Gui wrote: > Hi Rahul, > > Deleting files in SVN server last time is due to my lapse operation, > sorry for that :-( OK, thanks for clarifying, please be careful not to delete going forward. > In fact, pattern in (B) is not avaiable, we can not help d

Re: [scxml-eclipse] Managing generated code in SVN

2010-06-10 Thread Xun Long Gui
Hi Rahul, Deleting files in SVN server last time is due to my lapse operation, sorry for that :-( In fact, pattern in (B) is not avaiable, we can not help developers generate all the necessary code by theirselves because we can only generate basic source code and we must change source code by hand

[scxml-eclipse] Managing generated code in SVN

2010-06-10 Thread Rahul Akolkar
The generated code needs to be better managed with respect to SVN updates. As an example of a pattern we don't want to see, r953073 [1] deletes a number of (previously) generated files. Subsequently, r953075 [2] adds back some of those files after regenerating based on changes to the model. Such a