<?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/"
	>

<channel>
	<title>Code3 &#187; debug</title>
	<atom:link href="http://www.code3.dk/tag/debug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.code3.dk</link>
	<description>Techchat</description>
	<lastBuildDate>Thu, 17 Nov 2011 13:10:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to debug grails run-app loop</title>
		<link>http://www.code3.dk/how-to-debug-grails-run-app-loop/</link>
		<comments>http://www.code3.dk/how-to-debug-grails-run-app-loop/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 09:21:12 +0000</pubDate>
		<dc:creator>mil</dc:creator>
				<category><![CDATA[Techchat]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[Grails]]></category>

		<guid isPermaLink="false">http://www.code3.dk/?p=331</guid>
		<description><![CDATA[I recently had a problem where grails run-app would start
the server, then immediately recompile 1 class, then restart&#8230; and
repeat.
Google told [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a problem where <code>grails run-app</code> would start<br />
the server, then immediately recompile 1 class, then restart&#8230; and<br />
repeat.</p>
<p>Google told me that the problem probably was an empty Java file in my<br />
project and to look in the<br />
<code>~/.grails/1.2-M4/projects/myproject/classes</code> directory to<br />
see which file kept changing timestamp.</p>
<p>However, no files did that. The solution was to modify<br />
<code>$GRAILS_HOME/scripts/_GrailsCompile.groovy</code> and add<br />
<code>listFiles:true</code> to the compile target:</p>
<pre class="brush: groovy">
ant.groovyc(destdir:classesDirPath,
classpathref:classpathId,
encoding:&quot;UTF-8&quot;,
listFiles:true,
compilerPaths.curry(classpathId, false))
</pre>
<p>And it turned out Google was right, I had a Java file with only the<br />
package specification in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.code3.dk/how-to-debug-grails-run-app-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

