<?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: Settin&#8217; up Grails 1.1.1. with Grails Maven Plugin in Intellij IDEA + JetGroovy</title>
	<atom:link href="http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/feed/" rel="self" type="application/rss+xml" />
	<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/</link>
	<description>Grails tips I wanna share with you ;)</description>
	<lastBuildDate>Wed, 14 Oct 2009 13:44:43 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexander Naumenko</title>
		<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/comment-page-1/#comment-79</link>
		<dc:creator>Alexander Naumenko</dc:creator>
		<pubDate>Thu, 17 Sep 2009 08:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://grailsgeek.com/2009/06/grails-1-1-1-and-maven2-in-intellij-idea/#comment-79</guid>
		<description>Hi Craig, 
  
I&#039;m always creating Intellij IDEA project from external model (maven). It&#039;s smart enough to deal with directory structure defaults overloading in maven pom files. See &lt;a href=&quot;http://maven.apache.org/guides/introduction/introduction-to-the-pom.html,&quot; rel=&quot;nofollow&quot;&gt;&lt;a href=&quot;http://maven.apache.org/guides/introduction/intro...&lt;/a&gt;&quot; target=&quot;_blank&quot;&gt;http://maven.apache.org/guides/introduction/intro...&lt;/a&gt;&lt;/a&gt; search for &quot;sourceDirectory&quot; inside of &quot;build&quot; section. 
  
Build #10666 is to buggy, so I&#039;m still with 10597. Anyway it could catch all your changes on the fly and mark source/resources directories as expected automagically. If it won&#039;t be so for some reason, try to push &quot;reimport&quot; button in the IDEA&#039;s Maven plugin. 
  
But it won&#039;t work for &quot;grails-app/domain&quot; since IDEA doesn&#039;t understand multiple source directories defined in a pom file. JetGroovy plugin lets us create Grails facets, which recognise Grails dir layout as expected. You could also mark dirs manually, it shouldn&#039;t be broken after next pom reimport. 
  
Hope I covered all you&#039;ve asked,  
 
&lt;a href=&quot;#comment-71&quot; rel=&quot;nofollow&quot;&gt;craig&lt;/a&gt; :&lt;/strong&gt; 
 
&gt;&gt; I followed your steps, thank you!, but I noticed IntelliJ is only treating the  
&gt;&gt; “src/main/resources” as a “source” directory. It doesn’t point to src/groovy or  
&gt;&gt; src/java or grails-app/domain, etc? 
  
&gt;&gt; did you have to do that manually? I’m using IntelliJ IDEA 9 (build #10666). </description>
		<content:encoded><![CDATA[<p>Hi Craig, </p>
<p>I&#8217;m always creating Intellij IDEA project from external model (maven). It&#8217;s smart enough to deal with directory structure defaults overloading in maven pom files. See <a href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html," rel="nofollow">&lt;a href=&quot;http://maven.apache.org/guides/introduction/intro&#8230;</a>&#8221; target=&#8221;_blank&#8221;&gt;http://maven.apache.org/guides/introduction/intro&#8230; search for &#8220;sourceDirectory&#8221; inside of &#8220;build&#8221; section. </p>
<p>Build #10666 is to buggy, so I&#8217;m still with 10597. Anyway it could catch all your changes on the fly and mark source/resources directories as expected automagically. If it won&#8217;t be so for some reason, try to push &#8220;reimport&#8221; button in the IDEA&#8217;s Maven plugin. </p>
<p>But it won&#8217;t work for &#8220;grails-app/domain&#8221; since IDEA doesn&#8217;t understand multiple source directories defined in a pom file. JetGroovy plugin lets us create Grails facets, which recognise Grails dir layout as expected. You could also mark dirs manually, it shouldn&#8217;t be broken after next pom reimport. </p>
<p>Hope I covered all you&#8217;ve asked,  </p>
<p><a href="#comment-71" rel="nofollow">craig</a> : </p>
<p>&gt;&gt; I followed your steps, thank you!, but I noticed IntelliJ is only treating the<br />
&gt;&gt; “src/main/resources” as a “source” directory. It doesn’t point to src/groovy or<br />
&gt;&gt; src/java or grails-app/domain, etc? </p>
<p>&gt;&gt; did you have to do that manually? I’m using IntelliJ IDEA 9 (build #10666).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Naumenko</title>
		<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/comment-page-1/#comment-88</link>
		<dc:creator>Alexander Naumenko</dc:creator>
		<pubDate>Thu, 17 Sep 2009 08:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://grailsgeek.com/2009/06/grails-1-1-1-and-maven2-in-intellij-idea/#comment-88</guid>
		<description>Hm.. strange. &quot;run-app&quot; target running Jetty container which is listens for changes in /target directory and redeploys changes on the fly. What IDE are you using? Anyway, since you&#039;ve made some changes to groovy/java code you should call &quot;Make&quot; to make them be redeployed by Jetty. For *.gsp pages you should just call &quot;Save&quot;.  
  
 
  
&gt;&gt;Georgi : 
&gt;&gt; Actually I spoke too soon…. using mvn:run-app seemed to only run a  
&gt;&gt; pre-compiled script and not my current changes… im sure this is fixable by  
&gt;&gt; putting some sort of mvn target before run-app… </description>
		<content:encoded><![CDATA[<p>Hm.. strange. &#8220;run-app&#8221; target running Jetty container which is listens for changes in /target directory and redeploys changes on the fly. What IDE are you using? Anyway, since you&#8217;ve made some changes to groovy/java code you should call &#8220;Make&#8221; to make them be redeployed by Jetty. For *.gsp pages you should just call &#8220;Save&#8221;.  </p>
<p>&gt;&gt;Georgi :<br />
&gt;&gt; Actually I spoke too soon…. using mvn:run-app seemed to only run a<br />
&gt;&gt; pre-compiled script and not my current changes… im sure this is fixable by<br />
&gt;&gt; putting some sort of mvn target before run-app…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georgi</title>
		<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/comment-page-1/#comment-87</link>
		<dc:creator>Georgi</dc:creator>
		<pubDate>Mon, 14 Sep 2009 01:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://grailsgeek.com/2009/06/grails-1-1-1-and-maven2-in-intellij-idea/#comment-87</guid>
		<description>Actually I spoke too soon.... using mvn:run-app seemed to only run a pre-compiled script and not my current changes... im sure this is fixable by putting some sort of mvn target before run-app...</description>
		<content:encoded><![CDATA[<p>Actually I spoke too soon&#8230;. using mvn:run-app seemed to only run a pre-compiled script and not my current changes&#8230; im sure this is fixable by putting some sort of mvn target before run-app&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georgi</title>
		<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/comment-page-1/#comment-86</link>
		<dc:creator>Georgi</dc:creator>
		<pubDate>Mon, 14 Sep 2009 00:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://grailsgeek.com/2009/06/grails-1-1-1-and-maven2-in-intellij-idea/#comment-86</guid>
		<description>Hi There,
Thanks for this post. I was getting the groovy exception and couldn&#039;t for the life of me figure out why. 
I now have a run configuration of mvn: run-app and it works perfectly.
Cheers,
Georgi</description>
		<content:encoded><![CDATA[<p>Hi There,<br />
Thanks for this post. I was getting the groovy exception and couldn&#8217;t for the life of me figure out why.<br />
I now have a run configuration of mvn: run-app and it works perfectly.<br />
Cheers,<br />
Georgi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/comment-page-1/#comment-72</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Thu, 10 Sep 2009 00:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://grailsgeek.com/2009/06/grails-1-1-1-and-maven2-in-intellij-idea/#comment-72</guid>
		<description>please hit me up via email craig _at_ grittyapp.org OR on twitter @grittyapp

thanks</description>
		<content:encoded><![CDATA[<p>please hit me up via email craig _at_ grittyapp.org OR on twitter @grittyapp</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://grailsgeek.com/2009/06/grails-and-maven2-in-intellij-idea/comment-page-1/#comment-71</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Wed, 09 Sep 2009 23:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://grailsgeek.com/2009/06/grails-1-1-1-and-maven2-in-intellij-idea/#comment-71</guid>
		<description>I followed your steps, thank you!, but I noticed IntelliJ is only treating the &quot;src/main/resources&quot; as a &quot;source&quot; directory. It doesn&#039;t point to src/groovy or src/java or grails-app/domain, etc?

did you have to do that manually? I&#039;m using IntelliJ IDEA 9 (build #10666).</description>
		<content:encoded><![CDATA[<p>I followed your steps, thank you!, but I noticed IntelliJ is only treating the &#8220;src/main/resources&#8221; as a &#8220;source&#8221; directory. It doesn&#8217;t point to src/groovy or src/java or grails-app/domain, etc?</p>
<p>did you have to do that manually? I&#8217;m using IntelliJ IDEA 9 (build #10666).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
