<?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>Charlie Squires&#039;s Blog</title>
	<atom:link href="http://charliesquires.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://charliesquires.wordpress.com</link>
	<description>Fixing life&#039;s problems one post at a time...</description>
	<lastBuildDate>Fri, 02 Dec 2011 14:36:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='charliesquires.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Charlie Squires&#039;s Blog</title>
		<link>http://charliesquires.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://charliesquires.wordpress.com/osd.xml" title="Charlie Squires&#039;s Blog" />
	<atom:link rel='hub' href='http://charliesquires.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing Groovy and Grails bundles in TextMate (updated)</title>
		<link>http://charliesquires.wordpress.com/2009/10/02/installing-groovy-and-grails-bundles-in-textmate-updated/</link>
		<comments>http://charliesquires.wordpress.com/2009/10/02/installing-groovy-and-grails-bundles-in-textmate-updated/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 00:28:28 +0000</pubDate>
		<dc:creator>Charlie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://charliesquires.wordpress.com/?p=32</guid>
		<description><![CDATA[Groovy and Grails TextMate bundles are now in GitHub.  Here are instructions for installing them.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=charliesquires.wordpress.com&amp;blog=9233116&amp;post=32&amp;subd=charliesquires&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It looks like the Groovy and Grails bundles have moved to GitHub.  Here are the new instructions for installing the bundles.  First, you&#8217;ll need to install GitHub.  The easiest way is to use MacPorts:</p>
<p><span style="color:#008000;">sudo port selfupdate<br />
sudo port install git-core</span></p>
<p><span style="color:#000000;">You can find other GitHub installation instructions at http://help.github.com/mac-git-installation/ </span></p>
<p>Once you have GitHub installed, open Terminal and run these commands to install the TextMate bundles:</p>
<p><span style="color:#008000;">mkdir -p /Library/Application\ Support/TextMate/Bundles<br />
cd /Library/Application\ Support/TextMate/Bundles/<br />
git clone git://github.com/alkemist/groovy.tmbundle.git<br />
git clone git://github.com/alkemist/Groovy-Grails.tmbundle.git</span></p>
<p><span style="color:#008000;"><span style="color:#000000;">I hope this helps!</span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/charliesquires.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/charliesquires.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/charliesquires.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/charliesquires.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/charliesquires.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/charliesquires.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/charliesquires.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/charliesquires.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=charliesquires.wordpress.com&amp;blog=9233116&amp;post=32&amp;subd=charliesquires&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://charliesquires.wordpress.com/2009/10/02/installing-groovy-and-grails-bundles-in-textmate-updated/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/455a3fcf178ca031184bdce52be09fa1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Charlie</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Groovy and Grails bundles in TextMate</title>
		<link>http://charliesquires.wordpress.com/2009/08/30/installing-groovy-and-grails-bundles-in-textmate/</link>
		<comments>http://charliesquires.wordpress.com/2009/08/30/installing-groovy-and-grails-bundles-in-textmate/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 02:44:41 +0000</pubDate>
		<dc:creator>Charlie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://charliesquires.wordpress.com/?p=27</guid>
		<description><![CDATA[Easy instructions on installing Groovy and Grails TextMate bundles<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=charliesquires.wordpress.com&amp;blog=9233116&amp;post=27&amp;subd=charliesquires&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;"><span style="color:#ff0000;">These instructions are now outdated.  See <a href="http://charliesquires.wordpress.com/2009/10/02/installing-groovy-and-grails-bundles-in-textmate-updated/">http://charliesquires.wordpress.com/2009/10/02/installing-groovy-and-grails-bundles-in-textmate-updated/</a> for updated instructions. Thanks!</span></p>
<p>The Groovy website&#8217;s <a href="http://groovy.codehaus.org/TextMate" target="_blank">instructions</a> for installing the TextMate bundle are very vague.  They point you to the bundle location and link you to the <a href="http://manual.macromates.com/en/bundles" target="_blank">TextMate bundle instructions</a> (which are useful, but long when all you want to know is how to install bundles).  Here&#8217;s all you need to do to install the Groovy and Grails bundles.</p>
<p>Open Terminal and run these commands:</p>
<p><span style="color:#008000;">mkdir -p /Library/Application\ Support/TextMate/Bundles<br />
cd /Library/Application\ Support/TextMate/Bundles/<br />
svn co http://svn.textmate.org/trunk/Bundles/Groovy.tmbundle<br />
svn co http://svn.textmate.org/trunk/Bundles/Groovy%20Grails.tmbundle</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/charliesquires.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/charliesquires.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/charliesquires.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/charliesquires.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/charliesquires.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/charliesquires.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/charliesquires.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/charliesquires.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=charliesquires.wordpress.com&amp;blog=9233116&amp;post=27&amp;subd=charliesquires&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://charliesquires.wordpress.com/2009/08/30/installing-groovy-and-grails-bundles-in-textmate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/455a3fcf178ca031184bdce52be09fa1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Charlie</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Groovy tests in NetBeans 6.7.1</title>
		<link>http://charliesquires.wordpress.com/2009/08/30/running-groovy-tests-in-netbeans-6-7-1/</link>
		<comments>http://charliesquires.wordpress.com/2009/08/30/running-groovy-tests-in-netbeans-6-7-1/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:20:30 +0000</pubDate>
		<dc:creator>Charlie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://charliesquires.wordpress.com/?p=4</guid>
		<description><![CDATA[Groovy tests won't run out-of-the-box in NetBeans.  These changes will allow you to run them as part of the test suite or individually.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=charliesquires.wordpress.com&amp;blog=9233116&amp;post=4&amp;subd=charliesquires&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a long-time Eclipse user, but I heard that NetBeans has better (for the time being) Groovy support.  To see what it was all about I downloaded and installed NetBeans 6.7.1.  While I was attending the <a href="http://www.nofluffjuststuff.com/" target="_blank">No Fluff Just Stuff</a> conference this weekend I tried following along with a Groovy testing session by plugging the examples into NetBeans.  We created a mix of Java and Groovy tests inside a Java project, but when I ran the test suite only the Java tests ran.</p>
<p>I dug through the generated build-impl.xml file to find out why, and found that JUnit is being passed a list of .java files.  The Groovy tests are .groovy, so they won&#8217;t run.  JUnit will accept .class files, and since Java and Groovy are compiled to .class files by NetBeans tests in both languages will run this way.  I edited build.xml and overrode three targets from build-impl.xml.  With these changes you can run individual Java and Groovy tests or run them as part of a full test run.  I highlighted the changes I made from the original build-impl.xml targets in red.  If you copy/paste the xmlns attribute and these targets into build.xml you should be able to run all of your Groovy and Java tests in NetBeans.</p>
<p>Note: Be sure to edit build.xml, not build-impl.xml since it can regenerate and overwrite your changes.  Yes, I found this out the hard way <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>build.xml:</p>
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
</span>
<span class="meta meta_paragraph meta_paragraph_text">&lt;project name="TestGroovy" default="default" basedir="." <span style="color:#ff0000;">xmlns:j2seproject3="</span><span class="markup markup_underline markup_underline_link markup_underline_link_text"><span style="color:#ff0000;">http://www.netbeans.org/ns/j2se-project/3</span></span><span style="color:#ff0000;">"</span>&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;description&gt;Builds, tests, and runs the project TestGroovy.&lt;/description&gt;
    &lt;import file="nbproject/build-impl.xml"/&gt;
</span>
    <span class="meta meta_paragraph meta_paragraph_text">&lt;target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run"&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;j2seproject3:junit testincludes="**/*Test.<span style="color:#ff0000;">class</span>"/&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;/target&gt;
</span>
    <span class="meta meta_paragraph meta_paragraph_text">&lt;target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single"&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;fail unless="test.includes"&gt;Must select some files in the IDE or set test.includes&lt;/fail&gt;
        <span style="color:#ff0000;">&lt;taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${javac.classpath}"/&gt;
        &lt;groovy&gt;
</span></span><span style="color:#ff0000;">            </span><span class="meta meta_paragraph meta_paragraph_text"><span style="color:#ff0000;">properties."test.includes.class" = properties."test.includes".split("\\.")[0] + ".class"
</span></span><span style="color:#ff0000;">        </span><span class="meta meta_paragraph meta_paragraph_text"><span style="color:#ff0000;">&lt;/groovy&gt;</span>
        &lt;j2seproject3:junit excludes="" includes="<span style="color:#ff0000;">${test.includes.class}</span>"/&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;/target&gt;
</span>
    <span class="meta meta_paragraph meta_paragraph_text">&lt;target name="-init-macrodef-junit"&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;macrodef name="junit" uri="<span class="markup markup_underline markup_underline_link markup_underline_link_text">http://www.netbeans.org/ns/j2se-project/3</span>"&gt;
</span>            <span class="meta meta_paragraph meta_paragraph_text">&lt;attribute default="${includes}" name="includes"/&gt;
            &lt;attribute default="${excludes}" name="excludes"/&gt;
            &lt;attribute default="**" name="testincludes"/&gt;
            &lt;sequential&gt;
</span>                <span class="meta meta_paragraph meta_paragraph_text">&lt;junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true"&gt;
</span>                    <span class="meta meta_paragraph meta_paragraph_text">&lt;batchtest todir="${build.test.results.dir}"&gt;
</span>                        <span class="meta meta_paragraph meta_paragraph_text">&lt;fileset dir="<span style="color:#ff0000;">${build.test.classes.dir}</span>" excludes="@{excludes},${excludes}" includes="@{includes}"&gt;
</span>                            <span class="meta meta_paragraph meta_paragraph_text">&lt;filename name="@{testincludes}"/&gt;
</span>                        <span class="meta meta_paragraph meta_paragraph_text">&lt;/fileset&gt;
</span>                    <span class="meta meta_paragraph meta_paragraph_text">&lt;/batchtest&gt;
                    &lt;classpath&gt;
</span>                        <span class="meta meta_paragraph meta_paragraph_text">&lt;path path="${run.test.classpath}"/&gt;
</span>                    <span class="meta meta_paragraph meta_paragraph_text">&lt;/classpath&gt;
                    &lt;syspropertyset&gt;
</span>                        <span class="meta meta_paragraph meta_paragraph_text">&lt;propertyref prefix="test-sys-prop."/&gt;
                        &lt;mapper from="test-sys-prop.*" to="*" type="glob"/&gt;
</span>                    <span class="meta meta_paragraph meta_paragraph_text">&lt;/syspropertyset&gt;
                    &lt;formatter type="brief" usefile="false"/&gt;
                    &lt;formatter type="xml"/&gt;
                    &lt;jvmarg line="${run.jvmargs}"/&gt;
</span>                <span class="meta meta_paragraph meta_paragraph_text">&lt;/junit&gt;
</span>            <span class="meta meta_paragraph meta_paragraph_text">&lt;/sequential&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;/macrodef&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;/target&gt;
&lt;/project&gt;
</span></span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/charliesquires.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/charliesquires.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/charliesquires.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/charliesquires.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/charliesquires.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/charliesquires.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/charliesquires.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/charliesquires.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=charliesquires.wordpress.com&amp;blog=9233116&amp;post=4&amp;subd=charliesquires&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://charliesquires.wordpress.com/2009/08/30/running-groovy-tests-in-netbeans-6-7-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/455a3fcf178ca031184bdce52be09fa1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Charlie</media:title>
		</media:content>
	</item>
	</channel>
</rss>
