<?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: Grails Testing Command Line Aliases</title>
	<atom:link href="http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/feed/" rel="self" type="application/rss+xml" />
	<link>http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/</link>
	<description>Groovy, Grails and OS X tips and tricks</description>
	<lastBuildDate>Sat, 31 Jul 2010 11:43:17 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ted Naleid &#187; Grails Testing Alias to Rerun Failed Tests</title>
		<link>http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/comment-page-1/#comment-2061</link>
		<dc:creator>Ted Naleid &#187; Grails Testing Alias to Rerun Failed Tests</dc:creator>
		<pubDate>Wed, 04 Nov 2009 03:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=55#comment-2061</guid>
		<description>[...] while ago I blogged about my grails testing aliases and how much time they save [...]</description>
		<content:encoded><![CDATA[<p>[...] while ago I blogged about my grails testing aliases and how much time they save [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/comment-page-1/#comment-1893</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Mon, 24 Aug 2009 14:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=55#comment-1893</guid>
		<description>@John Interesting, thanks for posting your solution back. It could be that bash doesn&#039;t like the one liners.  I use a mac but also use zsh instead of bash so that could be something that zsh thinks is ok.</description>
		<content:encoded><![CDATA[<p>@John Interesting, thanks for posting your solution back. It could be that bash doesn&#8217;t like the one liners.  I use a mac but also use zsh instead of bash so that could be something that zsh thinks is ok.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Kivus</title>
		<link>http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/comment-page-1/#comment-1891</link>
		<dc:creator>John Kivus</dc:creator>
		<pubDate>Mon, 24 Aug 2009 14:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=55#comment-1891</guid>
		<description>@tednaleid

Thanks for the tips. I was playing around with retyping them in TextEdit, going line by line and I figured out one of those &quot;it works, but I have no idea why solutions&quot;. If I format the alias / function combination like this:

alias gta=grailsTestApp
function grailsTestApp() { 
	grailsTest grails &quot;&quot; $1 
}

alias gtad=grailsTestAppDebug
function grailsTestAppDebug() { 
	grailsTest grails-debug-suspend &quot;&quot; $1 
}

then things work fine. Like I said, no idea why my my Mac is happy with that, but not in the other format, but at least they&#039;re all working. Thank for the help and the also the great aliases.</description>
		<content:encoded><![CDATA[<p>@tednaleid</p>
<p>Thanks for the tips. I was playing around with retyping them in TextEdit, going line by line and I figured out one of those &#8220;it works, but I have no idea why solutions&#8221;. If I format the alias / function combination like this:</p>
<p>alias gta=grailsTestApp<br />
function grailsTestApp() {<br />
	grailsTest grails &#8220;&#8221; $1<br />
}</p>
<p>alias gtad=grailsTestAppDebug<br />
function grailsTestAppDebug() {<br />
	grailsTest grails-debug-suspend &#8220;&#8221; $1<br />
}</p>
<p>then things work fine. Like I said, no idea why my my Mac is happy with that, but not in the other format, but at least they&#8217;re all working. Thank for the help and the also the great aliases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/comment-page-1/#comment-1888</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Mon, 24 Aug 2009 05:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=55#comment-1888</guid>
		<description>@John

Hmm...I haven&#039;t seen that issue before.  It&#039;s possible it&#039;s the editor you&#039;re using?  You could edit the file in textedit to see if that does it (just type &quot;open -e .bash_profile&quot; on the command line.

If that doesn&#039;t work, it could be the way things are getting copied out of the browser, these same aliases are in my &lt;a href=&quot;http://bitbucket.org/tednaleid/shared-zshrc/src/tip/zshrc_general&quot; rel=&quot;nofollow&quot;&gt;full zshrc files that I&#039;ve got on bitbucket&lt;/a&gt; (towards the bottom).  You could try to download them from there by clicking on the &quot;raw&quot; link and see if cutting/pasting from that works.

Another thing you could try would be to add it to a .bashrc rather than a .bash_profile.  I&#039;m a little rusty on my bash, so I&#039;m not sure if it&#039;ll load both or if the .bashrc will override.

Worst case, I&#039;d just try to retype one of the aliases and the related functions, if that works, retype it all.  I did it once and it wasn&#039;t that bad :)</description>
		<content:encoded><![CDATA[<p>@John</p>
<p>Hmm&#8230;I haven&#8217;t seen that issue before.  It&#8217;s possible it&#8217;s the editor you&#8217;re using?  You could edit the file in textedit to see if that does it (just type &#8220;open -e .bash_profile&#8221; on the command line.</p>
<p>If that doesn&#8217;t work, it could be the way things are getting copied out of the browser, these same aliases are in my <a href="http://bitbucket.org/tednaleid/shared-zshrc/src/tip/zshrc_general" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/bitbucket.org/tednaleid/shared-zshrc/src/tip/zshrc_general?referer=');">full zshrc files that I&#8217;ve got on bitbucket</a> (towards the bottom).  You could try to download them from there by clicking on the &#8220;raw&#8221; link and see if cutting/pasting from that works.</p>
<p>Another thing you could try would be to add it to a .bashrc rather than a .bash_profile.  I&#8217;m a little rusty on my bash, so I&#8217;m not sure if it&#8217;ll load both or if the .bashrc will override.</p>
<p>Worst case, I&#8217;d just try to retype one of the aliases and the related functions, if that works, retype it all.  I did it once and it wasn&#8217;t that bad :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Kivus</title>
		<link>http://naleid.com/blog/2009/06/14/grails-testing-command-line-aliases/comment-page-1/#comment-1886</link>
		<dc:creator>John Kivus</dc:creator>
		<pubDate>Mon, 24 Aug 2009 02:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=55#comment-1886</guid>
		<description>I&#039;m trying to use your aliases on Mac OS X 10.5, and I&#039;m having issues when pasting them into my .bash_profile. I get the generic .bash_profile EOF line error if I paste them all...or even if I paste just one and then the final two functions. I know you don&#039;t want to be debugging people&#039;s problems, but are there any tricks I should try?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to use your aliases on Mac OS X 10.5, and I&#8217;m having issues when pasting them into my .bash_profile. I get the generic .bash_profile EOF line error if I paste them all&#8230;or even if I paste just one and then the final two functions. I know you don&#8217;t want to be debugging people&#8217;s problems, but are there any tricks I should try?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
