SVN Commit from build

I'm trying to make the switch from CCNet to Team City and there is one element of our current process that is giving me a bit of trouble.

One of our projects is a supporting library that largely consists of generated code.  When a commit is made to specific artifacts in the project, the build will generate code, check the generated source into the repository, and finally build the library.  Since the TC build agent does an export instead of a checkout, I can't simply use a commit in the build script the way I do today.

I realize that since the code is generated it is not strictly necessary to check it in as long as the artifacts that drive the generation are versioned.  But checking in the generated code avoids a lot of issues such as making sure the generator works on developers' systems, reviewing changes to the generated code that could have resulted in changes in any of the metadata, template, or engine, etc.

Thanks in advance for your input.

2 comments
Comment actions Permalink

Please change checkout mode to "automatically on agent" (Version control settings step). You will get .svn folders in this case.

0
Comment actions Permalink

Thanks a bunch.

0

Please sign in to leave a comment.