If you use the modificationWriter task in the CCNET project, it will
create an XML file that will have details about each modification. It
includes the type of modification (Checked in, Added, Deleted, etc),
the filename, the foldername (in repository), modification time, user
name, change number and the comments. You should be able to parse out
the info you want from there. If you run this task before whatever
task you're using for building the project, the info will be available
to your build routines.
Here's a sample of one of my VSS project blocks.
Good luck
========================================
<project name="DevelopmentTools-HarrisDevTools">
<category>DevelopmentTools</category>
<webURL>http://xxxxxx/ccnet/server/local/project/DevelopmentTools-
HarrisDevTools/ViewLatestBuildReport.aspx</webURL>
<triggers><intervalTrigger seconds="30" /></triggers>
<modificationDelaySeconds>30</modificationDelaySeconds>
<sourcecontrol type="vss" autoGetSource="false" applyLabel="false">
<project>$/Development Tools/HarrisDevTools</project>
<username>xxxxxx</username>
<password>xxxxxx</password>
<ssdir>\\grrsource\Source\Novar\</ssdir>
</sourcecontrol>
<tasks>
<modificationWriter /> <!-- Writes modifications.xml to
artifact dir
-->
<exec>
<executable>visbuildcmd.exe</executable>
<baseDirectory>C:\Program
Files\VisBuildPro6</baseDirectory>
<buildArgs>/b "C:\CC.net\BuildFiles\DevelopmentTools
\HarrisDevTools.bld"</buildArgs>
<buildTimeoutSeconds>1500</buildTimeoutSeconds>
</exec>
</tasks>
<publishers>
<xmllogger
logDir="C:\CC.NET\Logs\DevelopmentTools\HarrisDevTools" /
>
&emailPublisher;
</publishers>
</project>
========================================
On Oct 28, 6:11 am, Alex <[EMAIL PROTECTED]> wrote:
> In the source code, there is a directory called SourceControl in their
> you will see vss.cs and vssHistoryParser.cs you should see everything
> in there you need, or if you need to modify it that's where you will
> do it.
>
> On Oct 27, 10:22 am, CSharper <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Oct 25, 8:48 am, Alex <[EMAIL PROTECTED]> wrote:
>
> > > The default set up should show you that already. If you have
> > > modifications.xsl in your dashboard config and in your
> > > ccnet.exe.config or ccserviceconfig (the last two are so it shows up
> > > in email) I would turn off the in house app and see if you dont still
> > > get the modifications.
>
> > > On Oct 24, 2:31 pm, CSharper <[EMAIL PROTECTED]> wrote:
>
> > > > We have a CCNet project that is listening to 3 different source safe.
> > > > Once there is a change our CCNet kicks off. I was going through the
> > > > current implemenation, it looks like once the CCNet is kicked off,
> > > > there is another program written in house (in c#) that walks the
> > > > source safe to find out what programs changed. My understanding is
> > > > that, CCNet already knows which programs changed, is it possible to
> > > > identify those files from ccnet configuration rather than walking the
> > > > huge source safe again?
> > > > Thanks.
>
> > I may need to use the in house program since it gets the change log
> > put in by the programmer in the source safe. So what I am trying to
> > find out is, if the changed file list is already available, instead
> > of walking the data base, I can use the changed file list from ccnet
> > and use that to get the logs for only changed programs. Or is it
> > possible in the ccnet itself to get the logs associated with the
> > changed programs?
> > Thanks for the replay.- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -