We perform a number of commits during our Weekly Release Build and use
<exec> blocks like this:
<exec program="C:\Program Files\CollabNet Subversion\svn.exe">
<arg value="commit" />
<arg value="E:\test1\test.txt" />
<arg value="E:\test1\test2.txt" />
<arg value="E:\test2\test3.txt" />
<arg value="--message" />
<arg value="Automated Commit by Weekly Build for
Release ($
{newversion})" />
<arg value="--username" />
<arg value="cruisecontrol" />
<arg value="--password" />
<arg value="letmein" />
</exec>
Works well for us.
On Mar 17, 7:22 pm, SMS <[email protected]> wrote:
> Mark,
>
> I am not checking in / commiting the generated code actually. Just a
> REFERENCE folder which contains all my dlls generated via CodeSmith
>
> -SMS
>
> On Mar 17, 2:18 pm, Mark Levison <[email protected]> wrote:
>
> > Why do you want to check generated code into the repository? Don't you want
> > to checkin the template and maybe the generator?
>
> > When people check generated code in then other people think its there to be
> > modified.
>
> > Cheers
> > Mark
>
> > On 3/17/09, SMS <[email protected]> wrote:
>
> > > I am generating code with CodeSmith in my automated build process.
> > > After the code is generated, I want to check in these files (SVN
> > > commit) back into the SVN respository.
>
> > > How should I go about it.
>
> > > Thanks in advance,
> > > Snehal
>
> > --
> > Cheers
> > Mark Levison
> > Blog:http://www.notesfromatooluser.com/
> > Recent Entries: Agile/Scrum
> > Smells:http://www.notesfromatooluser.com/2008/06/agilescrum-smells.html
> > Agile Games for Making Retrospectives
> > Interesting:http://www.notesfromatooluser.com/2008/10/agile-games-for-making-retr...