views:

14

answers:

1

I am using nantcontrib and the vssget task to retrieve the latest code from source safe in a build process. I would like to log which files have been updated/replaced, basically any changes that have occured, and output it to screen/log file.

The only output I get is...

[vssget] Getting '$/project' to 'C:\project'

Below is my vssget task:

<target name="vss-get" description="Pre build steps.">
    <vssget
        dbpath="srcsafe.ini"
        path="$/$project"
        localpath="..\"
        username="user"
        recursive="true"
        replace="true"
        verbose="true"
    />
</target>
A: 

Not sure whether it can be done in nant itself, but Cruise Control.Net has a publisher that will write the detected modifications out to an xml file.

I've not used it myself and don't know whether it's supported for all source control systems that Cruise Control.Net supports - it may work for subversion, but not for VSS, for example.

Even if it does work, picking up Cruise Control.Net might be more work than you're wanting to do right now. On the other hand, if you change version control providers in the future then Cruise Control.Net might insulate you from the change (a bit).

robaker