Hi all,

I'm using a configuration where the builder can control which branch/
tag is built at force time, via the new dynamic properties in ccnet
1.5.  Everything works fine until the second build - the server log
shows the changes from the correct branch, but the checkout is not
switched to the new branch.  Therefore, the old code is built again.

My configuration is similar to the one at
http://confluence.public.thoughtworks.org/display/CCNET/Dynamic+Parameters?showComments=false.
Here are the relevant parts:

<sourcecontrol type="svn">
        <trunkUrl>http://svn/project/tags/$[tag]</trunkUrl>
        <executable>C:\Program Files (x86)\CollabNet\Subversion Client
\svn.exe</executable>
        <forceUpdate>true</forceUpdate>
        <revert>true</revert>
        <webUrlBuilder type="websvn">
                <url>https://viewvc/{0}?view=markup&amp;pathrev={1}</url>
        </webUrlBuilder>
</sourcecontrol>
<parameters>
        <textParameter name="tag">
                <display>Tag to Build</display>
                <required>true</required>
        </textParameter>
</parameters>

I know about the clean copy argument, but it will cause me a problem -
my checkout is about 3GB.  It's an asp.net website with tons of PDF
and hi-res image files which are versioned right along with the code
driving it. I would like someday to get all that static content out of
version control and into a content management system, but for now I
have to deal with it. So re-checking the entire thing out on every
build isn't really an option - I'd need something more like svn
switch.  Once upon a time I wrote a patch for ccnet 1.4 to support svn
switch, but I thought that was something built in these days.  Am I
missing something?

Thanks,

-e

Reply via email to