<?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>Michaels blog &#187; Uncategorized</title>
	<atom:link href="http://legart.dk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://legart.dk</link>
	<description>Hest design!</description>
	<lastBuildDate>Mon, 23 Nov 2009 10:31:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to debug grails run-app loop</title>
		<link>http://legart.dk/2009/11/09/how-to-debug-grails-run-app-loop/</link>
		<comments>http://legart.dk/2009/11/09/how-to-debug-grails-run-app-loop/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 08:44:46 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://legart.dk/?p=28</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 me that the problem probably was an empty Java file in my project and to look in the ~/.grails/1.2-M4/projects/myproject/classes directory to see which file kept changing timestamp.
However, no files did that. The solution [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a problem where <code>grails run-app</code> would start the server, then immediately recompile 1 class, then restart&#8230; and repeat.</p>
<p>Google told me that the problem probably was an empty Java file in my project and to look in the <code>~/.grails/1.2-M4/projects/myproject/classes</code> directory to see which file kept changing timestamp.</p>
<p>However, no files did that. The solution was to modify <code>$GRAILS_HOME/scripts/_GrailsCompile.groovy</code> and add <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 package specification in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://legart.dk/2009/11/09/how-to-debug-grails-run-app-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
