<?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>sven.buschbeck &#187; uncategorized</title>
	<atom:link href="http://svenbuschbeck.net/wordpress/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://svenbuschbeck.net/wordpress</link>
	<description>. . . .portfolio.blog. . . .human-computer-interaction. .semantic-web. .computer-science. .communication-design. . . . . . . . . . . . . . . . . . . . . . . . .</description>
	<lastBuildDate>Tue, 15 May 2012 10:16:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>JUnit-Testing and GAE APIs</title>
		<link>http://svenbuschbeck.net/wordpress/2012/05/junit-testing-and-gae-apis/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/05/junit-testing-and-gae-apis/#comments</comments>
		<pubDate>Tue, 15 May 2012 10:08:00 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1145</guid>
		<description><![CDATA[Some issues I encountered when testing a new Java library for loading multiple URLs in parallel on the Google Apps Engine (GAE) (more about that library in another post). Here are some of the typical errors you might encounter: Missing timeout class java.lang.NoSuchMethodError: org.mortbay.thread.Timeout Context menu on project: Properties -&#62; Build Path -&#62; Order and [...]]]></description>
			<content:encoded><![CDATA[<p>Some issues I encountered when testing a new Java library for loading multiple URLs in parallel on the Google Apps Engine (GAE) (more about that library in another post).</p>
<p>Here are some of the typical errors you might encounter:</p>
<h3>Missing timeout class</h3>
<p><code>java.lang.NoSuchMethodError: org.mortbay.thread.Timeout</code></p>
<p>Context menu on project: Properties -&gt; Build Path -&gt; Order and Export: move GWT SDK *above* App Engine SDK (cf. <a href="https://sites.google.com/site/progerbingbang/google-web-toolkit/unittestinggwtapplicationswithjunit" title="Detailed description why and how" target="_blank">here</a>)</p>
<h3>Compilation unit was not seen</h3>
<p><code>com.google.gwt.junit.JUnitFatalLaunchException: The test class 'com.test.client.MyTest' was not found in module 'com.text.Module'; no compilation unit for that type was seen</code></p>
<ul>
<li>The test class needs to be within a package that is configured in the module file (*.gwt.xml). You should create a new source folder (Context menu on project -&gt; New -&gt; Source Folder) and create the whole package structure you use within your project up to “client”, e.g. “com.company.client”, and put your GWT tests in it. This way you make sure that the tests are not going to be deployed to GAE later on.<br />
</il></p>
<li>
If you are testing client-side code, your test class needs implement GWTUnit *and* be run as GWTUnitTest *not* as JUnitTest <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
</il>
</ul>
<h3>API package not found</h3>
<p><code>java.util.concurrent.ExecutionException: com.google.apphosting.api.ApiProxy$CallNotFoundException: The API package 'urlfetch' or call 'Fetch()' was not found.</code></p>
<p>The GAE environment has not been initialized.</p>
<ul>
<li>Set up the required libraries for testing: </li>
<ul>
<li>Context menu on project -&gt; Properties -&gt; Build Path -&gt; Libraries -&gt; Add Variable -&gt; Configure Variables -&gt; New…: Set “SDK_ROOT” as name and search you disk for “appengine-api-stubs.jar” and copy the part before “/lib/impl” into the text box named “Path”</li>
<li>
Select “SDK_ROOT” from the previous dialog, click “Extend…”, unfold lib and impl and select …labs.jar, …stubs.jar, and …api.jar; unfold lib/testing and select …testing.jar — done, whew.
</li>
</ul>
<li>Add following lines to your test class:<code><br />
private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalURLFetchServiceTestConfig());<br />
@Before public void setUp() { helper.setUp(); }<br />
@After public void tearDown() { helper.tearDown(); }<br />
</code></p>
<li>Have a look in <code>com.google.appengine.tools.development.testing</code> to see all the services/APIs available for testing and replace <code>LocalURLFetchServiceTestConfig</code> with the one you need.
</li>
</ul>
</ul>
<p>I tried to keep it as brief as possible, for more details have a look at <a href="https://developers.google.com/appengine/docs/java/tools/localunittesting#Setting_Up_a_Testing_Framework" title="Google Developer page on writing Unit tests" target="_blank">this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/05/junit-testing-and-gae-apis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missing Digikam Themes w/t KDE</title>
		<link>http://svenbuschbeck.net/wordpress/2012/05/add-themes-to-digikam-without-kde/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/05/add-themes-to-digikam-without-kde/#comments</comments>
		<pubDate>Mon, 14 May 2012 18:27:28 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1146</guid>
		<description><![CDATA[Digikam is a great tool to manage and work on photos — my personal favorite for some years already. But it’s made for KDE and uses a lot of KDE-related libs and stuff, therefore, installing it in Gnome, Xfce, Lxde and the like will cost about 1gb because of the depenedencies. Nevertheless, worth it. But [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://digikam.org/" title="Open source Semi-pro photo management software" target="_blank">Digikam</a> is a great tool to manage and work on photos — my personal favorite for some years already. But it’s made for KDE and uses a lot of KDE-related libs and stuff, therefore, installing it in Gnome, Xfce, Lxde and the like will cost about 1gb because of the depenedencies.<br />
Nevertheless, worth it. But it comes with a bright default skin rendering it completely unusable for working seriously on light and color settings of photos.</p>
<p>To add themes, you will have to install an extra package (as decribed <a href="http://digikam.1695700.n4.nabble.com/Themes-in-dk-beta-5-Natty-td3542647.html" title="Forum entry, you will find the solution at the end of the page" target="_blank">here</a>) like this:<br />
<code>sudo apt-get install kde-workspace-data</code><br />
Yes, this will add more data to your disk, but only 10mb this time. <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Happy photo-tweaking!</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/05/add-themes-to-digikam-without-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

