<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Accurate branch reports with Grails and Cobertura _1.8_</title>
	<atom:link href="http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 21 Jun 2010 07:16:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeff</title>
		<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/comment-page-1/#comment-17</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 15 Feb 2008 16:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/#comment-17</guid>
		<description>Okay, I figured out a way to keep the Cobertura-related JAR files from ever making it to the staging directory without breaking the code coverage. I&#039;d like to share the changes if you don&#039;t mind contacting me.</description>
		<content:encoded><![CDATA[<p>Okay, I figured out a way to keep the Cobertura-related JAR files from ever making it to the staging directory without breaking the code coverage. I&#8217;d like to share the changes if you don&#8217;t mind contacting me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/comment-page-1/#comment-16</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 15 Feb 2008 13:43:46 +0000</pubDate>
		<guid isPermaLink="false">http://piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/#comment-16</guid>
		<description>Mike - Thanks for pointing me to the tip on excluding JARs from the WAR file. My only concern with the suggested approach is that I may be deleting dependencies of other libraries without realizing it. For instance, there may be many components in my application that use log4j-1.2.9.jar.

I&#039;m working through a couple of ideas to keep the JAR files from ever making it to the staging directory in the first place. I&#039;ll let you know if I find something that works.</description>
		<content:encoded><![CDATA[<p>Mike &#8211; Thanks for pointing me to the tip on excluding JARs from the WAR file. My only concern with the suggested approach is that I may be deleting dependencies of other libraries without realizing it. For instance, there may be many components in my application that use log4j-1.2.9.jar.</p>
<p>I&#8217;m working through a couple of ideas to keep the JAR files from ever making it to the staging directory in the first place. I&#8217;ll let you know if I find something that works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/comment-page-1/#comment-15</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 13 Feb 2008 03:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/#comment-15</guid>
		<description>Jeff - check out Dmitriy&#039;s post regarding &lt;a href=&quot;http://dima767.blogspot.com/2008/02/hidden-gem-grailswarresources.html&quot; rel=&quot;nofollow&quot;&gt;excluding JARs from the WAR file&lt;/a&gt;.  I&#039;ll try to figure out a way to do this as part of the plugin install, but in the meantime adding the following to your Config.groovy should do the trick:
&lt;pre lang=&quot;groovy&quot;&gt;
grails.war.resources = {stagingDir -&gt;
	delete(file: &quot;$stagingDir/WEB-INF/lib/asm-2.2.1.jar&quot;)
	delete(file: &quot;$stagingDir/WEB-INF/lib/cobertura.jar&quot;)
	delete(file: &quot;$stagingDir/WEB-INF/lib/jakarta-oro-2.0.8.jar&quot;)
	delete(file: &quot;$stagingDir/WEB-INF/lib/log4j-1.2.9.jar&quot;)
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Jeff &#8211; check out Dmitriy&#8217;s post regarding <a href="http://dima767.blogspot.com/2008/02/hidden-gem-grailswarresources.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/dima767.blogspot.com');" rel="nofollow">excluding JARs from the WAR file</a>.  I&#8217;ll try to figure out a way to do this as part of the plugin install, but in the meantime adding the following to your Config.groovy should do the trick:</p>

<div class="wp_syntax"><div class="code"><pre class="groovy">grails.<span style="color: #006600;">war</span>.<span style="color: #006600;">resources</span> <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#123;</span>stagingDir -<span style="color: #66cc66;">&gt;</span>
	delete<span style="color: #66cc66;">&#40;</span>file: <span style="color: #ff0000;">&quot;$stagingDir/WEB-INF/lib/asm-2.2.1.jar&quot;</span><span style="color: #66cc66;">&#41;</span>
	delete<span style="color: #66cc66;">&#40;</span>file: <span style="color: #ff0000;">&quot;$stagingDir/WEB-INF/lib/cobertura.jar&quot;</span><span style="color: #66cc66;">&#41;</span>
	delete<span style="color: #66cc66;">&#40;</span>file: <span style="color: #ff0000;">&quot;$stagingDir/WEB-INF/lib/jakarta-oro-2.0.8.jar&quot;</span><span style="color: #66cc66;">&#41;</span>
	delete<span style="color: #66cc66;">&#40;</span>file: <span style="color: #ff0000;">&quot;$stagingDir/WEB-INF/lib/log4j-1.2.9.jar&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/comment-page-1/#comment-14</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 12 Feb 2008 18:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/#comment-14</guid>
		<description>Hi Mike,

First of all, thanks for writing the plugin - very nice! I&#039;m currently integrating it with a client&#039;s project and have a patch or two. Since you&#039;re already using the Grails plugin repository, I have set up a component in the Grails plugins JIRA:

  http://jira.codehaus.org/browse/GRAILSPLUGINS

called &#039;Grails-CodeCoverage&#039;. I&#039;m currently configured as the component lead, but if you let me know what your JIRA username is I&#039;ll change that.</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>First of all, thanks for writing the plugin &#8211; very nice! I&#8217;m currently integrating it with a client&#8217;s project and have a patch or two. Since you&#8217;re already using the Grails plugin repository, I have set up a component in the Grails plugins JIRA:</p>
<p>  <a href="http://jira.codehaus.org/browse/GRAILSPLUGINS" onclick="javascript:pageTracker._trackPageview('/outbound/comment/jira.codehaus.org');" rel="nofollow">http://jira.codehaus.org/browse/GRAILSPLUGINS</a></p>
<p>called &#8216;Grails-CodeCoverage&#8217;. I&#8217;m currently configured as the component lead, but if you let me know what your JIRA username is I&#8217;ll change that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/comment-page-1/#comment-13</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Mon, 04 Feb 2008 14:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/#comment-13</guid>
		<description>The plugin is great, nice work. Do you know of any way to keep the Cobertura-related JAR files out of the WAR file since they&#039;re really only needed to analyze coverage?</description>
		<content:encoded><![CDATA[<p>The plugin is great, nice work. Do you know of any way to keep the Cobertura-related JAR files out of the WAR file since they&#8217;re really only needed to analyze coverage?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
