<?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>Skarby.info</title>
	<atom:link href="http://www.skarby.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skarby.info</link>
	<description>Software Development, Rants and boredom...</description>
	<lastBuildDate>Sun, 16 Oct 2011 16:34:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>GWT Dev-mode and the Firefox race</title>
		<link>http://www.skarby.info/2011/10/16/gwt-dev-mode-and-the-firefox-race/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gwt-dev-mode-and-the-firefox-race</link>
		<comments>http://www.skarby.info/2011/10/16/gwt-dev-mode-and-the-firefox-race/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 16:34:15 +0000</pubDate>
		<dc:creator>Anders</dc:creator>
				<category><![CDATA[Google Web Toolkit]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.skarby.info/?p=86</guid>
		<description><![CDATA[I love doing Google Web Toolkit-development, but let&#8217;s face it, developing it using the slow Dev-mode plugin written for Chrome takes the fun out of it. That&#8217;s why I was saddened when I updated Firefox to version 7.0 and released that the plugin was not present for it. My mission: installing Firefox 6.0.2 which does [...]]]></description>
			<content:encoded><![CDATA[<p>I love doing <a title="Google Web Toolkit" href="http://code.google.com/webtoolkit/">Google Web Toolkit</a>-development, but let&#8217;s face it, developing it using the slow Dev-mode plugin written for Chrome takes the fun out of it. That&#8217;s why I was saddened when I updated Firefox to version 7.0 and released that the plugin was not present for it.</p>
<p>My mission: installing Firefox 6.0.2 which does have support for the GWT Dev-mode plugin, but not remove the newest version of Firefox.</p>
<p>These instructions are for Ubuntu 11.10, 64-bit, but should apply to any Linux distribution and chip architecture as long as you download the appropriate binary distribution of Firefox.</p>
<h3>Installing Firefox 6.0.2</h3>
<p>Download binary from: <a href="ftp://ftp.mozilla.org/pub/firefox/releases/6.0.2/linux-x86_64/en-US/firefox-6.0.2.tar.bz2">ftp://ftp.mozilla.org/pub/firefox/releases/6.0.2/linux-x86_64/en-US/firefox-6.0.2.tar.bz2</a> (you can browse available releases, by navigating your browser to the URL <a title="Firefox releases" href="http://ftp.mozilla.org/pub/firefox/releases">http://ftp.mozilla.org/pub/firefox/releases</a>)</p>
<p>Execute the following commands (in a terminal, as <strong>root</strong> or through <strong>sudo</strong>);</p>
<pre>tar xvf firefox-6.0.2.tar.bz2
mv firefox /opt/firefox6.0.2</pre>
<p>Next, make sure your user has ownership of the directory by typing (still in the terminal, <strong>as root</strong> or through <strong>sudo</strong>):</p>
<pre>chown askarby:askarby /opt/firefox6.0.2 -R</pre>
<p>You would, however, have to substitute <strong>askarby:askarby</strong> for something different &#8211; unless your Linux user happens to be named <strong>askarby</strong> and be in the user group named <strong>askarby</strong>.</p>
<h3>Preventing Firefox from updating itself</h3>
<p>To disable Firefox&#8217;s automatic update functionality, we need to do the following two things. Edit the file /opt/firefox6.0.2/defaults/pref/channel-prefs.js, and first of all, comment out (add two slashes) the existing line, so that it says:</p>
<pre>//pref("app.update.channel", "update");</pre>
<p>next, append the following lines to the end of the file:</p>
<pre>// Disable Auto Updates
lockPref(”app.update.enabled”, false);
lockPref(”extensions.update.enabled”, false);</pre>
<h3>Multiple Firefox profiles</h3>
<p>Next, to launch your Firefox 6.0.2 version of Firefox, do <strong>NOT</strong> simply execute the command ./firefox as this will launch your default firefox install. Instead, execute the following command:</p>
<pre>/opt/firefox6.0.2/firefox -no-remote -P ff60</pre>
<p>The <strong>-no-remote</strong> argument allows you to run multiple instances of firefox under different profiles. The <strong>-P ff60</strong> defines that you want to run firefox under a profile called ff60 (that name can be anything). A better, and more complete explanation of supported command line arguments for Firefox can be found at: <a href="http://kb.mozillazine.org/Command_line_arguments">http://kb.mozillazine.org/Command_line_arguments</a>.</p>
<p>Since this is the first time launching with the <strong>ff60</strong> profile. and it does not exist, you should be presented with a dialog. Please follow these steps to create the profile:</p>
<ol>
<li>Click the <strong>Create Profile&#8230;</strong> button</li>
<li>Click the <strong>Next</strong> button on the first page of the wizard dialog presented.</li>
<li>In the field underneath the <strong>&#8220;Enter new profile name:&#8221;</strong> label, enter ff60 (or whatever name you desided to give your profile, it must match the name passed to the argument).</li>
<li>Click the <strong>Finish</strong> button</li>
<li>Select the <strong>ff60</strong> profile in the list box to the right of the buttons</li>
<li>Click the <strong>Start Firefox</strong> button</li>
</ol>
<h3>Setting up Eclipse</h3>
<p>To ease things, let&#8217;s create a small script that launches the Firefox browser with our profile arguments. In a terminal, type the following commands:</p>
<pre>touch /opt/firefox6.0.2/launch.sh
cat "#!/bin/bash" &gt;&gt; /opt/firefox6.0.2/launch.sh
cat "/opt/firefox6.0.2/firefox -no-remote -P ff60 $1" &gt;&gt; /opt/firefox6.0.2/launch.sh
chmod +x /opt/firefox6.0.2/launch.sh</pre>
<div>Next, we need to setup Eclipse to use our custom installed version of Firefox.</div>
<div>
<ol>
<li>Open <strong>Eclipse</strong> in a workspace with a GWT project.</li>
<li>Start a GWT Development mode session for your project</li>
<li>In the <strong>Development Mode</strong> view:</li>
<ol>
<li>Right-click upon the URL, usually something like: <a href="http://localhost:8080/module/hostpage.html?gwt.codesvr=127.0.0.1:9997">http://localhost:8080/module/hostpage.html?gwt.codesvr=127.0.0.1:9997</a></li>
<li>Hover over the <strong>Open With</strong>-sub menu, then click upon the <strong>Add a Browser</strong> item</li>
<li>Enter the name of your browser in the <strong>Name</strong> field, I would suggest <strong>&#8220;Firefox 6.0.2&#8243;</strong> (disregarding the quotation marks)</li>
<li>Enter the location of our launch-script for the Firefox broser into the <strong>Location</strong> field, that would be <strong>&#8220;/opt/firefox6.0.2/launch.sh&#8221;</strong> (also disregarding the quotation marks)</li>
</ol>
</ol>
<h3>Conclusion</h3>
<div>You should now be able to launch your GWT application by right clicking upon the URL in the <strong>Development Mode</strong> view, and selecting the <strong>Firefox 6.0.2</strong> browser item. The browser should appear, and present the <strong>&#8220;Download the GWT Developer Plugin For Firefox&#8221;</strong>-message, and not the <strong>&#8220;Sorry, the GWT Developer Plugin only supports Firefox 3.0 &#8211; 6.0 at present&#8221;</strong>-message.</div>
<div>
<div id="attachment_99" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.skarby.info/wp-content/uploads/2011/10/firefox60gwt.png" rel="lightbox[86]" title="Firefox 6.0.2 (GWT)"><img class="size-medium wp-image-99" title="Firefox 6.0.2 (GWT)" src="http://www.skarby.info/wp-content/uploads/2011/10/firefox60gwt-300x206.png" alt="" width="300" height="206" /></a><p class="wp-caption-text">Firefox 6.0.2 alongside 7.0.1</p></div>
<p>&nbsp;</p>
<p>Let&#8217;s hope that Google will get aligned with the Mozilla release train soon. Until then, this workaround will have to do.</p>
</div>
</div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skarby.info/2011/10/16/gwt-dev-mode-and-the-firefox-race/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When 404&#8242;s kill!</title>
		<link>http://www.skarby.info/2011/10/10/when-404s-kill/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=when-404s-kill</link>
		<comments>http://www.skarby.info/2011/10/10/when-404s-kill/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 19:50:03 +0000</pubDate>
		<dc:creator>Anders</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.skarby.info/?p=16</guid>
		<description><![CDATA[This morning, when starting my JBoss AS 5.1, I was greated by the following message: Failed to read schema document &#8216;http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd&#8217;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &#60;xsd:schema&#62;. Well, that sucked! I havn&#8217;t come up with any workaround, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.skarby.info/wp-content/uploads/2011/10/Screenshot-Oracle.com-Outage-Chromium.png" rel="lightbox[16]" title="Screenshot-Oracle.com Outage - Chromium"><img class="alignleft size-thumbnail wp-image-17" style="margin-top: 5px; margin-bottom: 5px; margin-left: 20px; margin-right: 20px;" title="Screenshot-Oracle.com Outage - Chromium" src="http://www.skarby.info/wp-content/uploads/2011/10/Screenshot-Oracle.com-Outage-Chromium-150x150.png" alt="" width="150" height="150" /></a></p>
<p>This morning, when starting my JBoss AS 5.1, I was greated by the following message:</p>
<blockquote><p>Failed to read schema document &#8216;http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd&#8217;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.</p></blockquote>
<p>Well, that sucked!</p>
<p>I havn&#8217;t come up with any workaround, sure switching to version 1.0 of the XSD does solve the problem, but introduces a few new issues. Removing the XSD validation doesn&#8217;t make any difference what so ever.</p>
<p>Note to self, and Sun (well, now Oracle) &#8211; If you want to expose XSD or schemas in general (to the public) make sure it&#8217;s available at all times.</p>
<p><strong>Open question:</strong> does anyone know a workaround for this issues?<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skarby.info/2011/10/10/when-404s-kill/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve is no more</title>
		<link>http://www.skarby.info/2011/10/08/steve-is-no-more/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=steve-is-no-more</link>
		<comments>http://www.skarby.info/2011/10/08/steve-is-no-more/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 20:50:18 +0000</pubDate>
		<dc:creator>Anders</dc:creator>
				<category><![CDATA[IT news]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Death]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://www.skarby.info/?p=10</guid>
		<description><![CDATA[For those of you knowing me, you know that I&#8217;m not a blathering apple fan-boy. Yes, I have owned an AppleTV, and yes I do own a iMac 27&#8243; beast with a beautiful design, great usability and what not. I have no intention of saying that what Steve Jobs did was to create any of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.skarby.info/wp-content/uploads/2011/10/stevejobs.jpg" rel="lightbox[10]" title="stevejobs"><img class="alignleft size-full wp-image-14" style="margin-left: 10px; margin-right: 10px;" title="stevejobs" src="http://www.skarby.info/wp-content/uploads/2011/10/stevejobs.jpg" alt="" width="175" height="175" /></a>For those of you knowing me, you know that I&#8217;m not a blathering apple fan-boy.</p>
<p>Yes, I have owned an AppleTV, and yes I do own a iMac 27&#8243; beast with a beautiful design, great usability and what not.</p>
<p>I have no intention of saying that what Steve Jobs did was to create any of these products, but he was one of the driving forces behind them. I don&#8217;t think there&#8217;s anyone in the industry (the IT-business one, that is) who disregards his involvement in the creation of them&#8230; but the loss of him does not prevent design prodigies as Jonathan Ive from designing great Apple hardware. Neither does it mean that the talented software developers at Apple are prevented from creating software that emphasizes usability, sleekness and captivate it&#8217;s users.</p>
<p>But&#8230; I am worried that Apple has lost it&#8217;s main driver, a person that settled for nothing less than perfection (or what he believed it being).</p>
<p>Let&#8217;s face it, the thing that Steve Jobs did for me was:</p>
<ul>
<li>Start the Smart Phone market. The iPhone started everything, which has lead to me having an awesome Android phone. Yes, I am aware of the fact that there was Palm and Windows Mobile  prior to that&#8230; but calling those Smart Phones&#8230;well, not going into that.</li>
<li>Make people aware of the fact that there&#8217;s something else on the computer market than just Microsoft. Sure, they may dominate the market&#8230; but Apple did stir something up, and it doesn&#8217;t seem like the waters will settle any time soon (or ever, even).</li>
<li>Entertain me&#8230; Steve bought Pixar, and lead feature length 3D animation films into the main stream market. Quite an amazing task, one only comparable by the similar task Walt Disney took on when creating &#8220;Snow White and the Seven Dwarfs&#8221; back in 1938.</li>
<li>Challenge everyone in the IT business to make great IT projects&#8230; and in term challenge me.</li>
</ul>
<p>Everybody has over the last couple of days shown their respect to the loss of a genius in the business. A memorial page is up on Apple&#8217;s website, Google not only had a line saying &#8220;Steve Jobs &#8211; 1955-2011&#8243; at their frontpage, but also desided to postpone their expected launch of their Nexus Prime Phone and Android 4.0 (Ice Cream Sandwich).</p>
<p>I&#8217;m looking forward to seeing who will &#8220;step up&#8221; to the plate and take over the task of being the main innovator in the industry. I guess time will only tell.</p>
<p>Rest in Peace, Steve</p>
<p>You will be missed.</p>
<p>&nbsp;<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skarby.info/2011/10/08/steve-is-no-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I restart this blog more often than I restart Windows</title>
		<link>http://www.skarby.info/2011/10/06/i-restart-this-blog-more-often-than-i-restart-windows/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=i-restart-this-blog-more-often-than-i-restart-windows</link>
		<comments>http://www.skarby.info/2011/10/06/i-restart-this-blog-more-often-than-i-restart-windows/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 17:54:16 +0000</pubDate>
		<dc:creator>Anders</dc:creator>
				<category><![CDATA[Informational]]></category>

		<guid isPermaLink="false">http://www.skarby.info/?p=4</guid>
		<description><![CDATA[Hello fellow geeks. This is yet another re-invention of my blog. I think this makes it a third, in 3 years &#8211; that&#8217;s not too bad, but the other times I&#8217;ve had my blog it&#8217;s ended up as a dumping ground for my notes from various technology conferences. That would not be too bad either, [...]]]></description>
			<content:encoded><![CDATA[<p>Hello fellow geeks.</p>
<p>This is yet another re-invention of my blog. I think this makes it a third, in 3 years &#8211; that&#8217;s not too bad, but the other times I&#8217;ve had my blog it&#8217;s ended up as a dumping ground for my notes from various technology conferences. That would not be too bad either, if I hadn&#8217;t decided to abondoning it after the various conventions.</p>
<p>So what&#8217;s the motivation for resuming the bloggity?</p>
<p>Well, I&#8217;ve become mildly addicted to <del>cocain</del> tweeting &#8211; but 140 characters doesn&#8217;t seem to convey a message very clearly &#8211; hence me picking up this medium again, and being slightly more verbose than 140 characters.</p>
<p>I should probably make a memorial speech for Mr. Jobs, but that&#8217;ll have to wait until tomorrow.</p>
<p>Stay tuned for more updates!<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skarby.info/2011/10/06/i-restart-this-blog-more-often-than-i-restart-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

