<?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>shaun smith &#187; eclipse</title>
	<atom:link href="http://shaun.boyblack.co.za/blog/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaun.boyblack.co.za/blog</link>
	<description>Flash, Flex, Ruby - Cape Town, SA</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:56:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A Nice Eclipse Icon &#8211; Suited for Mac OS X</title>
		<link>http://shaun.boyblack.co.za/blog/2009/05/18/a-nice-eclipse-icon/</link>
		<comments>http://shaun.boyblack.co.za/blog/2009/05/18/a-nice-eclipse-icon/#comments</comments>
		<pubDate>Mon, 18 May 2009 17:07:21 +0000</pubDate>
		<dc:creator>shaun</dc:creator>
				<category><![CDATA[Banter]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flashbuilder]]></category>
		<category><![CDATA[flexbuilder]]></category>
		<category><![CDATA[icon]]></category>

		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=579</guid>
		<description><![CDATA[I&#8217;ve always found the default Eclipse App Icon to be a bit.. lacking. I&#8217;m pretty sure I&#8217;m not the only person who feels this way. Occasional quests to find a better icon have usually resulted in disappointment. My latest search lead me to this icon. Not great, but it inspired me to finally sit down [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always found the default Eclipse App Icon to be a bit.. lacking. I&#8217;m pretty sure I&#8217;m not the only person who feels this way. Occasional quests to find a better icon have usually resulted in disappointment. My latest search lead me to <a title="Gnome Eclipse Icon" href="http://www.gnome-look.org/content/show.php/Eclipse+Icon?content=87185">this icon</a>. Not great, but it inspired me to finally sit down and try to create my own.</p>
<h3>The First Stab</h3>
<p>Here&#8217;s my initial attempt:</p>
<div id="attachment_585" class="wp-caption alignnone" style="width: 266px"><img class="alignnone size-full wp-image-613" title="OS X Eclipse Icon 256x256 Black" src="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/05/osxeclipseicon2561.jpg" alt="OS X Eclipse Icon 256x256 Black" width="256" height="256" /><a href="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/05/maceclipse.zip"><br />
</a><p class="wp-caption-text">Mac OS X Eclipse Logo 256x256 on Black</p></div>
<p><span id="more-579"></span>I&#8217;m not entirely satisfied with it, but it&#8217;s a start. Here&#8217;s how it looks in my dock:</p>
<p><img class="alignnone size-full wp-image-614" title="OS X Eclipse Icon Docked" src="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/05/osxeclipseicondocked1.png" alt="OS X Eclipse Icon Docked" width="440" height="80" /></p>
<p>You can download the Icon (and it&#8217;s &#8220;source&#8221;) here:</p>
<p><a href="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/05/maceclipse4.zip">Mac Eclipse Icon Pack</a></p>
<p>If you know of any cool Eclipse icons please leave a comment below. Thanks!</p>
<h3>From here&#8230;</h3>
<p><a title="Pimp My Eclipse Part 1" href="http://theflashblog.com/?p=483">Pimp My Eclipse by Lee Brimelow</a></p>
]]></content:encoded>
			<wfw:commentRss>http://shaun.boyblack.co.za/blog/2009/05/18/a-nice-eclipse-icon/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Easiest way to filter Eclipse or FlexBuilder console output (trace statements)</title>
		<link>http://shaun.boyblack.co.za/blog/2009/03/22/easiest-way-to-filter-eclipse-or-flexbuilder-console-output-text/</link>
		<comments>http://shaun.boyblack.co.za/blog/2009/03/22/easiest-way-to-filter-eclipse-or-flexbuilder-console-output-text/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 15:35:54 +0000</pubDate>
		<dc:creator>shaun</dc:creator>
				<category><![CDATA[Questions]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flashbuilder]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flexbuilder]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=240</guid>
		<description><![CDATA[UPDATE: This looks like a good fit Grep Console I&#8217;m asking this in relation to Flex Builder, but it might apply to Eclipse in general. Trace statements in Flex Builder get sent to an Eclipse Output Console. What is the easiest way to filter this text on the Eclipse side? Specifically, I&#8217;d like to be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong>: This looks like a good fit <a title="Grep Console (Eclipse Plugin)" href="http://marian.musgit.com/projects_grepconsole.php" target="_blank">Grep Console</a></p>
<p>I&#8217;m asking this in relation to Flex Builder, but it might apply to Eclipse in general.</p>
<p>Trace statements in Flex Builder get sent to an Eclipse Output Console. What is the easiest way to filter this text on the Eclipse side?</p>
<p>Specifically, I&#8217;d like to be able to filter (ignore) lines by patterns.</p>
<p>I came across Logback, but it seems like overkill for this scenario. Is there no way to script something like this Eclipse itself?<span id="more-240"></span></p>
<p>The question has been asked on Stack Overflow here:</p>
<p><a href="http://stackoverflow.com/questions/669369/easiest-way-to-filter-eclipse-console-output-text" target="_blank">http://stackoverflow.com/questions/669369/easiest-way-to-filter-eclipse-console-output-text</a></p>
<p><strong>Background</strong></p>
<p>I&#8217;m sure that custom built logging tools have their place, but I believe that simple trace statements can be very useful &#8211; especially when dealing with Open Source libraries where it would be impossible to agree on a standard logging tool to use.</p>
<p>Logging tools also add overhead. The nice thing about trace statements is that they don&#8217;t get compiled into your Release Build SWF. The only way to achieve this with a logging tool is to use Conditional Compilation &#8211; not very convienient to have to wrap every log call. Even if the logging tool has an &#8220;off&#8221; switch for Release Builds, there will still be overhead when calling the log function (even if it simply returns directly after being called, there is still the overhead of calling the function).</p>
<p>If there was an easy way to filter trace output on the Eclipse side we could ignore statements that we are not currently interested in (those coming from an external library for example) so long as those statements start with a certain pattern.</p>
<p>I&#8217;m building an application with <a title="SmartyPants-IOC Dependency Injection Framework" href="http://code.google.com/p/smartypants-ioc/" target="_blank">SmartyPants-IOC</a> at the moment and it traces a hell-of-a-lot. Luckily, all of it&#8217;s trace statements look something like this:</p>
<p>[DEBUG] The object ([object TermsPanelMediator]) has 4 injection points.</p>
<p>I&#8217;m also using a little framework that I&#8217;m building called RobotLegs which makes trace statements that look like this:</p>
<p>[ROBOTLEGS] MediatorFactory::createMediator &#8211; Mediator created for View Component: PijinFlex3_0.TermsPanel30</p>
<p>And my application might make trace statements that look like this:</p>
<p>[MYAPP] What the hell is going on here?! This isn&#8217;t a real example!</p>
<p>If I could ignore lines that begin with a certain pattern I would be very happy!</p>
<p><strong>The Solution</strong></p>
<p>Stack Overflow pointed me to <a title="Grep Console (Eclipse Plugin)" href="http://marian.musgit.com/projects_grepconsole.php" target="_blank">Grep Console</a> which can highlight patterns in the output console. Very cool.</p>
<p>So, I can highlight my trace statements with expressions like this:</p>
<p>.*(Q[DEBUG]E).*<br />
.*(Q[ROBOTLEGS]E).*<br />
.*(Q[MYAPP]E).*</p>
<p>With different colours assigned to each expression I get something almost as good as removing unwanted traces.</p>
<div id="attachment_251" class="wp-caption alignnone" style="width: 428px"><img class="size-full wp-image-251" title="grepconsole" src="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/03/grepconsole.png" alt="Grep Console Eclipse Plugin" width="418" height="302" /><p class="wp-caption-text">Grep Console Eclipse Plugin</p></div>
]]></content:encoded>
			<wfw:commentRss>http://shaun.boyblack.co.za/blog/2009/03/22/easiest-way-to-filter-eclipse-or-flexbuilder-console-output-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Started with Git on Mac OS X</title>
		<link>http://shaun.boyblack.co.za/blog/2009/03/14/getting-started-with-git-on-mac-os-x/</link>
		<comments>http://shaun.boyblack.co.za/blog/2009/03/14/getting-started-with-git-on-mac-os-x/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 18:42:32 +0000</pubDate>
		<dc:creator>shaun</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=224</guid>
		<description><![CDATA[Some Background I&#8217;ve recently switched from using SVN to using Git as my source control management tool of choice. It took a little while to get to grips with, but it rocks! Git is not an evolution of SVN. It is entirely different. Git is a distributed revision control system &#8211; everybody working on a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Some Background</strong></p>
<p>I&#8217;ve recently switched from using SVN to using <a title="Git SCM" href="http://git-scm.com/" target="_blank">Git</a> as my source control management tool of choice. It took a little while to get to grips with, but it rocks!</p>
<p>Git is not an evolution of SVN. It is entirely different. Git is a distributed revision control system &#8211; everybody working on a project has their own full copy of the repository and its entire history.<span id="more-224"></span></p>
<p>Git does not require the presence of a network connection: most commands in Git operate locally, allowing you to review your project history, make branches and tags, merge changes, but most importantly, allowing you to commit while offline.</p>
<p>If you&#8217;ve used SVN you&#8217;ve probably noticed the littering of .svn folders across your entire project tree, requiring the need for an export tool to retrieve clean copies of your code, and introducing problems when you delete, rename or move files or folders in your project. Git takes a slightly more sensible approach: it creates one folder (named .git) in the root folder of your project.<strong></strong></p>
<p><strong>Git Concepts</strong></p>
<p>With Git there are 3 important things to be aware of: the Git object database, the &#8220;index&#8221;, and your working area.</p>
<p>The Git object database contains a bunch of stuff that you typically don&#8217;t need to worry about. Essentially it&#8217;s the repository.</p>
<p>Your working area is the collection of files currently sitting in your project folder. You should treat these files as if they are temporary &#8211; because they are! Things you want to keep should be committed to the repository.</p>
<p>The Index is sometimes referred to as the Staging Area. It&#8217;s a list of what will get stored on your next commit. Conceptually it sits between your working files and the Git object database. Files that haven&#8217;t been staged to the index will be ignored when doing a commit. This gives you great control over what gets committed when.</p>
<p>A branch is a cheap copy of a particular state of the Git object database. Branches are easy to create and switch between, giving you a safe way to try out ideas quickly and easily. Switching to another branch updates your working area to reflect the state of that branch &#8211; this is why you should consider your working area temporary.</p>
<p><strong>Installing Git on Mac OS X</strong></p>
<p>Grab and install the latest OS-X Installer from:</p>
<p><a title="Git OSX Installer" href="http://code.google.com/p/git-osx-installer/" target="_blank">http://code.google.com/p/git-osx-installer/</a></p>
<p><strong>Configuring Git</strong></p>
<p>You need to tell Git who you are &#8211; it uses this information for your commits etc.</p>
<p>Fire up your terminal, and type:</p>
<pre>git config --global user.name "Your Name"
git config --global user.email your@email.com</pre>
<p><strong>Using Git</strong></p>
<p>Once Git is installed on your system, creating a Git repository is easy: open your terminal, cd into the root folder of your project, and type: git init</p>
<p>That&#8217;s pretty much it!</p>
<p>After initialising your Git repository, it will most likely be empty. In order to commit files to the repository you first need to &#8220;stage&#8221; them by adding them to the index. To add all the files in your current project to the index type:</p>
<pre>git add .</pre>
<p>To commit these files type:</p>
<pre>git commit -m "your commit message"</pre>
<p>To view the status of your repository type:</p>
<pre>git status</pre>
<p><strong>To Summarise</strong></p>
<p>[<a title="Git OSX Installer" href="http://code.google.com/p/git-osx-installer/" target="_blank">Download and install Git</a>]<br />
[cd into the root of your project]</p>
<pre>
git init
ls -la
git status
git add .
git status
git commit -m "a useful commit message"
git status
</pre>
<p>[change some files in your working area]</p>
<pre>
git status
git diff
git commit -a -m "commit message. -a adds all files from your working area to the index"
git status
</pre>
<p>[delete some files from your local working area]</p>
<pre>
git status
git add -u
git commit -m "commit message. -u adds deleted files to the index"
git status
</pre>
<p><strong>Ignoring Files</strong></p>
<p>You will probably want to ensure than certain files don&#8217;t ever get committed to the repo:</p>
<p><a title="Git Ignore" href="http://www.kernel.org/pub/software/scm/git/docs/gitignore.html" target="_blank">http://www.kernel.org/pub/software/scm/git/docs/gitignore.html</a></p>
<p><strong>Extra Configuration</strong></p>
<p>You can enabled colorful output:</p>
<pre>
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
</pre>
<p><strong>Some Bundled Visual Tools</strong></p>
<pre>
gitk
git gui
</pre>
<p><strong>Git Screencasts</strong></p>
<p><a title="Git Screencasts" href="http://gitcasts.com/" target="_blank">http://gitcasts.com/</a></p>
<p><strong>Installing Git on Windows</strong></p>
<p><a title="Installing Git on Windows" href="http://gitcasts.com/posts/git-on-windows" target="_blank">http://gitcasts.com/posts/git-on-windows</a></p>
<p><strong>Some Other Git Links</strong></p>
<ul>
<li><a title="Git Source Control Management" href="http://git-scm.com/" target="_blank">http://git-scm.com/</a></li>
<li><a title="Understanding Git Conceptually" href="http://www.eecs.harvard.edu/~cduan/technical/git/" target="_blank">http://www.eecs.harvard.edu/~cduan/technical/git/</a></li>
<li> <a href="http://git.or.cz/index.html" target="_blank">http://git.or.cz/index.html</a></li>
<li><a href="http://git.or.cz/course/svn.html" target="_blank">http://git.or.cz/course/svn.html</a></li>
<li><a title="Git FAQ" href="http://git.or.cz/gitwiki/GitFaq" target="_blank">http://git.or.cz/gitwiki/GitFaq</a></li>
<li><a title="Github Learning Resource" href="http://learn.github.com/" target="_blank">http://learn.github.com/</a></li>
<li><a title="Git OSX Installer" href="http://code.google.com/p/git-osx-installer/" target="_blank">http://code.google.com/p/git-osx-installer/</a></li>
<li><a title="Git User Manual" href="http://www.kernel.org/pub/software/scm/git/docs/user-manual.html" target="_blank">http://www.kernel.org/pub/software/scm/git/docs/user-manual.html</a></li>
<li><a title="The Thing About Git" href="http://tomayko.com/writings/the-thing-about-git" target="_blank">http://tomayko.com/writings/the-thing-about-git</a></li>
<li><a title="Git Talk" href="http://video.google.com/videoplay?docid=-3999952944619245780" target="_blank">http://video.google.com/videoplay?docid=-3999952944619245780</a></li>
</ul>
<p><strong>Eclipse Integration</strong></p>
<p>Point your eclipse update manager to: <a title="EGit" href="http://www.jgit.org/update-site" target="_blank">http://www.jgit.org/update-site</a></p>
<p>More info: <a title="JGit" href="http://www.jgit.org/" target="_blank">http://www.jgit.org/</a></p>
<p><strong>Some Commands</strong></p>
<p><em>Add all working files to the index:</em></p>
<pre>git add .</pre>
<p><em>Add deleted files to the index:</em></p>
<pre>git add -u</pre>
<p><em>Create and switch to a new branch:</em></p>
<pre>git checkout -b newbranchname</pre>
<p><em>Review last commit:</em></p>
<pre>
git show
git show --stat
git show --name -status
git show HEAD
</pre>
<p><em>Review commit history:</em></p>
<pre>
git log
git log tag..branch
git log -10
git log --since="May 1" --until="June 1"
git log --author=fred
git log -- some/file
</pre>
<p><em>Creating branches:</em></p>
<pre>
git branch name
git branch name commit
</pre>
<p><em>Switching branches:</em></p>
<pre>
git checkout name
git checkout -f name
</pre>
]]></content:encoded>
			<wfw:commentRss>http://shaun.boyblack.co.za/blog/2009/03/14/getting-started-with-git-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
