<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>TDD developer &#187; Continuous integrated</title>
	<atom:link href="http://testdrivendevelopment.wordpress.com/tag/continuous-integrated/feed/" rel="self" type="application/rss+xml" />
	<link>http://testdrivendevelopment.wordpress.com</link>
	<description>Diary of an agile developer</description>
	<lastBuildDate>Wed, 28 Oct 2009 22:06:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='testdrivendevelopment.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a6ef45b2d30fa0fcbe697fa111d46fdd?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>TDD developer &#187; Continuous integrated</title>
		<link>http://testdrivendevelopment.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://testdrivendevelopment.wordpress.com/osd.xml" title="TDD developer" />
		<item>
		<title>NAnt + NDepend.Console.exe and relative paths</title>
		<link>http://testdrivendevelopment.wordpress.com/2009/01/05/ndependconsoleexe-and-relative-path/</link>
		<comments>http://testdrivendevelopment.wordpress.com/2009/01/05/ndependconsoleexe-and-relative-path/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 13:31:49 +0000</pubDate>
		<dc:creator>makka</dc:creator>
				<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[Continuous integrated]]></category>
		<category><![CDATA[NAnt]]></category>
		<category><![CDATA[NDepend]]></category>

		<guid isPermaLink="false">http://testdrivendevelopment.wordpress.com/2009/01/05/ndependconsoleexe-and-relative-path/</guid>
		<description><![CDATA[If you read the documentation of NDepend.Console.exe you learn that relative paths are not supported. These remarks also apply to paths provided with options /InDirs /OutDir and /XslForReport.
Here you can see the result of a wrong line command
 
and here the result of a right line command
 
Unfortunately this is a problem for my solutions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=testdrivendevelopment.wordpress.com&blog=2459763&post=66&subd=testdrivendevelopment&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you read the documentation of <a href="http://ndepend.com/NDependConsole.aspx">NDepend.Console.exe</a> you learn that relative paths are not supported. These remarks also apply to paths provided with options /InDirs /OutDir and /XslForReport.</p>
<p>Here you can see the result of a wrong line command</p>
<p><a href="http://testdrivendevelopment.files.wordpress.com/2009/01/image.png"><img title="image" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="106" alt="image" src="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb.png?w=644&#038;h=106" width="644" border="0" /></a> </p>
<p>and here the result of a right line command</p>
<p><a href="http://testdrivendevelopment.files.wordpress.com/2009/01/image1.png"><img title="image" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="143" alt="image" src="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb1.png?w=644&#038;h=143" width="644" border="0" /></a> </p>
<p>Unfortunately this is a problem for my solutions cause I need always relative path. My solution are continuous integrated using <a href="http://www.jetbrains.com/teamcity/">TeamCity</a> and in my setup the build agent checks out sources in a random folder on the build agent machine (for eg. C:\BuildAgent\work\12724a65ddd4c6d0).</p>
<p>Here the Version Control Settings page of my project inside my <a href="http://www.jetbrains.com/teamcity/">TeamCity</a> server where you can set the checkout directory.</p>
<p><a href="http://testdrivendevelopment.files.wordpress.com/2009/01/image2.png"><img title="image" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="159" alt="image" src="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb2.png?w=644&#038;h=159" width="644" border="0" /></a> </p>
<p>Using relative path for me is a plus cause allow developers to freely decise the checkout project folder. For some of our customer this has been a project requirement.</p>
<p>Ok now you know why I need relative paths. Now I want to explain how I use <a href="http://nant.sourceforge.net/">NAnt</a> + <a href="http://ndepend.com">NDepend</a> inside my continuous integrated solution.&#160; </p>
<p>This is the target I use to run <a href="http://ndepend.com/NDependConsole.aspx">NDepend.Console.exe</a>. </p>
<p><a href="http://testdrivendevelopment.files.wordpress.com/2009/01/image3.png"><img title="image" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="124" alt="image" src="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb3.png?w=644&#038;h=124" width="644" border="0" /></a> </p>
<p>As you can see using the <a href="http://nant.sourceforge.net/release/latest/help/functions/directory.get-current-directory.html">directory::get-current-directory</a> I can build an absolute path at run-time. Maybe this result can be obtained using the built-in property&#160; ${nant.project.basedir} but this is marked as deprecated so I prefer to use the <a href="http://nant.sourceforge.net/release/latest/help/functions/directory.get-current-directory.html">directory::get-current-directory</a> function.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/testdrivendevelopment.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/testdrivendevelopment.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/testdrivendevelopment.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/testdrivendevelopment.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/testdrivendevelopment.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/testdrivendevelopment.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/testdrivendevelopment.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/testdrivendevelopment.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/testdrivendevelopment.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/testdrivendevelopment.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=testdrivendevelopment.wordpress.com&blog=2459763&post=66&subd=testdrivendevelopment&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://testdrivendevelopment.wordpress.com/2009/01/05/ndependconsoleexe-and-relative-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eaac7e727c1e026a9677bf418eca3ee9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">makka</media:title>
		</media:content>

		<media:content url="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://testdrivendevelopment.files.wordpress.com/2009/01/image-thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>