Hi all,

I've recently been integrating continuous build (via cruisecontrol) into my 
work's process, and we came across a dependency management problem.

CC.NET polls your source control, and, when change(s) occur, notifies you with 
a list of files that changed.

What we needed to do was then figure out which VS.NET solution files needed to 
be rebuilt and re-tested due to this change.  

SLiNgshoT does most of the heavy lifting for this, so I wrote a new nantcontrib 
task to tell me, given a list of solution directories and changed files, which 
solutions needed to be rebuilt.  Before I send my code back to nantcontrib I 
wanted to do some useability testing with this group first.

here's an example of my new task:

<project>
    <target name='FindDeps' > 
        <solutiondeps output='C:\output.txt'>
            <SourceFiles>
                <include name='C:\path\to\csproj\file\myproject.csproj' />
                <include name='C:\path\to\csharp\file\myClass.cs' />
                </SourceFiles>
            <SolutionDirectories>
                 <include name='C:\path\to\solution\directory' />
                 <include name='C:\path\to\another\solution\directory' />
            </SolutionDirectories>
        </solutiondeps>
    </target> 
</project>

the <solutiondeps> will then parse all the solution/csproject files, and then 
spit out a list of solution files effected into the output.txt file.

any ideas on how to improve/rename things with this task?  One idea is to 
support different output formats (write to xml, or write to nant property).

TIA!

  






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to