<?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; fix</title>
	<atom:link href="http://svenbuschbeck.net/wordpress/tag/fix/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, 31 Jan 2012 09:55:13 +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>How to Execute Code When the GWT Application Is Going Down</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/how-to-execute-code-when-the-gwt-application-is-going-down/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/how-to-execute-code-when-the-gwt-application-is-going-down/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 22:10:03 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1051</guid>
		<description><![CDATA[My goal was to store the UI state of my application just before it gets terminated to be able to restore it next time the way the user left it the other day. I tried to add an addAttachHandler to the RootPanel to get informed about the root panel getting detached from the DOM so [...]]]></description>
			<content:encoded><![CDATA[<p>My goal was to store the UI state of my application just before it gets terminated to be able to restore it next time the way the user left it the other day.</p>
<p>I tried to add an <code>addAttachHandler</code> to the <code>RootPanel</code> to get informed about the root panel getting detached from the DOM so that I can finalize my application. Surprisingly, that does not work in Chrome (tested Chrome and Firefox only).</p>
<p>But besides that this sounds like a bug to me, I found the &#8220;proper&#8221; way of doing things before the application ends: </p>
<pre>Window.addWindowClosingHandler(new Window.ClosingHandler() {
	@Override public void onWindowClosing(ClosingEvent event) { ... }
});</pre>
<p>In the end, I think something like <code>Document.addUnloadHandler</code> would be more suggestive&#8230; closing the window or reloading a page is both exiting the application by unloading the DOM &#8211; not closing the window.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/how-to-execute-code-when-the-gwt-application-is-going-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable an Anchor in GWT</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/disable-an-anchor-in-gwt/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/disable-an-anchor-in-gwt/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 12:27:12 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1033</guid>
		<description><![CDATA[Unexpectedly, calling setEnabled(false) does not prevent a link/anchor from being clicked. That means, the click events still get triggered. The reason is more or less a bug in GWT as it updates the list of events that are going to be triggered only at the moment when it gets attached to the DOM (Btw, in [...]]]></description>
			<content:encoded><![CDATA[<p>Unexpectedly, calling <code>setEnabled(false)</code> does not prevent a link/anchor from being clicked. That means, the click events still get triggered.<br />
The reason is more or less a bug in GWT as it updates the list of events that are going to be triggered only at the moment when it gets attached to the DOM (Btw, in GWT, this process is called to sink and to unsink events, where the former enables a specific event to be triggered and the latter disables it).<br />
I found a workaround by creating my own Anchor class and forcing the underlying GWT Anchor to update the list of events to be sunk.</p>
<pre>...
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Event;

public class Anchor extends com.google.gwt.user.client.ui.Anchor {

	@Override public void setEnabled(boolean enabled) {
		super.setEnabled(enabled);
		if (isAttached()) {
			onDetach();
			if (enabled) {
				sinkEvents(Event.ONCLICK);
			} else {
				unsinkEvents(Event.ONCLICK);
			}
			onAttach();
		}
	}

	@Override protected void onLoad() {
		super.onLoad();
		if (isEnabled()) {
			sinkEvents(Event.ONCLICK);
		} else {
			unsinkEvents(Event.ONCLICK);
		}
	}
}</pre>
<p>Note the <code>onLoad</code> method, it sets up the state when the widget gets attached to the DOM the first time. It is required because <code>setEnabled()</code> could have been called before the anchor got attached.</p>
<p>If you encountered the same issue, please vote for this <a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=6045">bug report</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/disable-an-anchor-in-gwt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Logitech Communicator STX Webcam vs. Ubuntu (64bit) &amp; Skype 2.1</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/kubuntu-9-10-skype-2-1-und-logitech-webcam/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/kubuntu-9-10-skype-2-1-und-logitech-webcam/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 20:26:57 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Logitech]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=783</guid>
		<description><![CDATA[There are many tutorials out there solving the problem by making Skype use Video for Linux version 1 drivers instead of version 2, as that particular webcam does not seem to get along with the newer version. It boils down to the following lines: Create a file in /usr/local/bin/skype and insert #!/bin/bash LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype Finally, [...]]]></description>
			<content:encoded><![CDATA[<p>There are many tutorials out there solving the problem by making Skype use Video for Linux version 1 drivers instead of version 2, as that particular webcam does not seem to get along with the newer version. It boils down to the following lines:</p>
<p>Create a file in <em>/usr/local/bin/skype </em>and insert</p>
<pre>#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype</pre>
<p>Finally, make it executable by <code>sudo chmod a+x /usr/local/bin/skype</code><br />
Use this file to start Skype from now on. Done.</p>
<p>But not for me. Skype refused to eat it: <code>ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.</code><br />
Until I finally found <a title="Go to the original solution provider. Thanks once again to Eoin Murphy! :)" href="http://www.eoinmurphy.org/blog/2009/04/26/logitech-webcam-skype-under-ubuntu" target="_blank">this one here</a>.</p>
<p>Just to cut a long story short, here is why: all the other solutions work for 32bit Linux only &#8212; but hey, I do not have any of my old laptop&#8217;s potential to be wasted &#8212; I am running 64bit Ubuntu (tested with version 9.10 and 10.10 64bit). And with a minor tweak, the fix will work for you, too. <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Install the video4linux libraries:
<pre> sudo apt-get install lib32v4l-0</pre>
<p>And change <em>/usr/local/bin/skype </em>to
<pre>LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype</pre>
<p>Its just about the &#8220;32&#8243; &#8212; and one good example more of why you should put meaningful error messages in whatever software!</p>
<p>Thanks <a title="Go to the source." href="http://www.eoinmurphy.org" target="_blank">Eoin Murphy</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/kubuntu-9-10-skype-2-1-und-logitech-webcam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Cookies from the Future Past</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/java-going-back-to-the-future/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/java-going-back-to-the-future/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 13:58:03 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[pitfall]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=999</guid>
		<description><![CDATA[While working with cookies in Java/GWT and thus—to set the expire date—with Date, I found a doubtful Java behavior. My goal was to set a cookie to expire in about one month from today like this: Date expires = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 30); Cookies.setCookie("myCookie", "myData", expires); [...]]]></description>
			<content:encoded><![CDATA[<p>While working with cookies in Java/GWT and thus—to set the expire date—with <code>Date</code>, I found a doubtful Java behavior.</p>
<p>My goal was to set a cookie to expire in about one month from today like this:</p>
<pre>Date expires = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 30);
Cookies.setCookie("myCookie", "myData", expires);</pre>
<p>And kept wondering why the cookie never got stored.</p>
<p>And finally created a simple test case like this:</p>
<pre>Date today = new Date();
Date tomorrow = new Date(today.getTime() + 1000 * 60 * 60 * 24);
Date nextMonth = new Date(today.getTime() + 1000 * 60 * 60 * 24 * 30);</pre>
<p>And got following dates:</p>
<pre>today=Mon Feb 07 14:27:50 CET 2011
tomorrow=Tue Feb 08 14:27:50 CET 2011
nextMonth=Tue Jan 18 21:25:02 CET 2011</pre>
<p>According to Java&#8217;s calculation, the cookie was expired already before even being set. </p>
<p>Took me a bit to understand why:<br />
1000 * 60 * 60 * 24 * 30 = 2,592,000,000 = 0x9A7EC800<br />
Thus, the first bit got set to one&#8230; a classical overflow causing the integer value to become negative &#8211; just try:</p>
<pre>System.out.println(1000 * 60 * 60 * 24 * 30);</pre>
<p>It will print out <code>-1702967296</code>.</p>
<p>Fix: Add a little <code>L</code> will solve the issue by forcing the compiler to calculate using the scope of <code>long</code>:</p>
<pre>Date nextMonthLong = new Date(today.getTime() + 1000L * 60 * 60 * 24 * 30);</pre>
<p>I guess I will fall for that one again sometime as the error is not obvious in my opinion — especially because <code>getTime()</code> returns a <code>long</code> and still, the compiler sticks with an <code>int</code> for the multiplication part. </p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/java-going-back-to-the-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GWT Error Message &#8220;Asked for attribute parser of no type&#8221;</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/gwt-error-message-asked-for-attribute-parser-of-no-type/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/gwt-error-message-asked-for-attribute-parser-of-no-type/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 22:45:05 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=936</guid>
		<description><![CDATA[Example: public boolean isCollapsed() { return panel.isVisible(); } public void setCollapsed() { panel.setVisible(false); } Seen it? Despite the complicated and cryptic error message, the mistake is rather simple: the setter method is missing a parameter, i.e. &#8220;public void setCollapsed(boolean collapsed) {&#8220;.]]></description>
			<content:encoded><![CDATA[<p>Example:</p>
<pre>public boolean isCollapsed() {
	return panel.isVisible();
}

public void setCollapsed() {
	panel.setVisible(false);
}</pre>
<p>Seen it? Despite the complicated and cryptic error message, the mistake is rather simple: the setter method is missing a parameter, i.e. &#8220;public void setCollapsed(boolean collapsed) {&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/gwt-error-message-asked-for-attribute-parser-of-no-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Casting collections in Java</title>
		<link>http://svenbuschbeck.net/wordpress/2010/12/casting-collections-in-java/</link>
		<comments>http://svenbuschbeck.net/wordpress/2010/12/casting-collections-in-java/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 10:49:13 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=937</guid>
		<description><![CDATA[Assuming two classes A and B as class A {} class B extends A {} It is just logical that casting B to A works fine: A anObjectOfClassA = new B(); But when it comes to collections of As and Bs, a strange phenomenon appears in Java: Collection&#60;B&#62; collectionOfBs = new LinkedList&#60;B&#62;(); Collection&#60;A&#62; collectionOfAs = [...]]]></description>
			<content:encoded><![CDATA[<p>Assuming two classes A and B as</p>
<pre>class A {}
class B extends A {}</pre>
</p>
<p>It is just logical that casting B to A works fine:</p>
<pre>A anObjectOfClassA = new B();</pre>
</p>
<p>But when it comes to collections of As and Bs, a strange phenomenon appears in Java:</p>
<pre>Collection&lt;B&gt; collectionOfBs = new LinkedList&lt;B&gt;();
Collection&lt;A&gt; collectionOfAs = (Collection&lt;A&gt;)collectionOfBs; // this line does not compile!</pre>
<p>That is, though the collection wrapper (the java.util.Collection class) is the same and B extends A, casting a collection of objects of class B to a collection of objects of class A throws an compile-time error.
</p>
<p>But it works using generics (the whole class for the sake of completeness and reusability):</p>
<pre>import java.util.Collection;
import java.util.LinkedList;

public class CollectionCastingExample {

  class A {}
  class B extends A {}

  Collection&lt;B&gt; collectionOfBs = new LinkedList&lt;B&gt;();
//  Collection&lt;A&gt; collectionOfAs = (Collection&lt;A&gt;)collectionOfBs;

  Collection&lt;A&gt; collectionOfAs = downCastCollection(collectionOfBs, A.class);

  /**
   * Casts a collection of objects of class B where B extends A to a collection of objects of class A.
   *
   * @param &lt;T&gt; Base class
   * @param collection Collection of objects of a class extending T
   * @param aClass Representation of T
   * @return Collection of objects of T casted from given collection of objects of a class extending T.
   */
  @SuppressWarnings("unchecked")
  public static &lt;T&gt; Collection&lt;T> downCastCollection(Collection&lt;? extends T&gt; collection,
      Class&lt;T&gt; aClass) {
    return (Collection&lt;T&gt;) collection;
  }
}</pre>
<p>Despite the fact that a <code>@SuppressWarnings("unchecked")</code> is required, it avoids iterating over the whole collection of Bs and casting each of them from B to A plus adding them to a new collection of As.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2010/12/casting-collections-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uploading File to Server: Access Denied</title>
		<link>http://svenbuschbeck.net/wordpress/2010/09/uploading-file-to-server-access-denied/</link>
		<comments>http://svenbuschbeck.net/wordpress/2010/09/uploading-file-to-server-access-denied/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 14:49:35 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[GAE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=880</guid>
		<description><![CDATA[Simple task: upload a file to the server. Achieved so far: upload form works and the file gets transferred to the server. But as soon as the file is written, I get one of that: &#8220;java.security.AccessControlException: access denied (java.io.FilePermission /some/folder/upload__71c20601_12b1b66bc39__7ffa_00000000.tmp write)&#8221; I am amazed how much searching is required to find some information about how [...]]]></description>
			<content:encoded><![CDATA[<p>Simple task: upload a file to the server. Achieved so far: upload form works and the file gets transferred to the server.<br />
But as soon as the file is written, I get one of that:<br />
&#8220;java.security.AccessControlException: access denied (java.io.FilePermission /some/folder/upload__71c20601_12b1b66bc39__7ffa_00000000.tmp write)&#8221;<br />
I am amazed how much searching is required to find some information about how to modify the file permissions for the local app engine! And in the end, it turns out that there is an issue with the GAE on Mac but without a way to configure the local Jetty server to allow write access. <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
As soon as I deploy the app to a Tomcat on Linux, it works like a charm!</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2010/09/uploading-file-to-server-access-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GWT FileUpload: Adding Widgets to a FormPanel</title>
		<link>http://svenbuschbeck.net/wordpress/2010/09/fileupload-file-not-sent-to-server/</link>
		<comments>http://svenbuschbeck.net/wordpress/2010/09/fileupload-file-not-sent-to-server/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 17:02:53 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[jobs]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[gwt]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=861</guid>
		<description><![CDATA[If you build your first GWT form, for example something like that: &#60;!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"&#62; &#60;ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"&#62; &#60;g:HTMLPanel&#62; &#60;g:FormPanel ui:field="form"&#62;  &#60;g:FileUpload ui:field="uploadField" name="file"/&#62; &#60;g:SubmitButton ui:field="submitButton"&#62;Upload&#60;/g:SubmitButton&#62; &#60;/g:FormPanel&#62; &#60;/g:HTMLPanel&#62; &#60;/ui:UiBinder&#62; And your console keeps telling you during runtime something like this: &#8220;java.lang.IllegalStateException: SimplePanel can only contain one child widget&#8221;. Instead of writing a long page [...]]]></description>
			<content:encoded><![CDATA[<p>If you build your first GWT form, for example something like that:</p>
<pre>&lt;!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"&gt;
&lt;ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"&gt;
&lt;g:HTMLPanel&gt;
&lt;g:FormPanel ui:field="form"&gt; 
&lt;g:FileUpload ui:field="uploadField" name="file"/&gt;
&lt;g:SubmitButton ui:field="submitButton"&gt;Upload&lt;/g:SubmitButton&gt;
&lt;/g:FormPanel&gt;
&lt;/g:HTMLPanel&gt;
&lt;/ui:UiBinder&gt;</pre>
<p>And your console keeps telling you during runtime something like this:  &#8220;java.lang.IllegalStateException: SimplePanel can only contain one child  widget&#8221;. Instead of writing a long page of explanations and complaints like I did before, it&#8217;s simply like that:</p>
<p>&#8220;Just put all your widgets in a panel (like HorizontalPanel) and add that panel to the FormPanel.&#8221; (Jake − cf. comment below)</p>
<p>Thanks Jake! <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2010/09/fileupload-file-not-sent-to-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>GWT Does Not Load Module in Local AppEngine</title>
		<link>http://svenbuschbeck.net/wordpress/2010/09/gwt-can-not-load-module-in-local-appengine/</link>
		<comments>http://svenbuschbeck.net/wordpress/2010/09/gwt-can-not-load-module-in-local-appengine/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 15:48:48 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[jobs]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[gwt]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=857</guid>
		<description><![CDATA[The issue arose after I renamed the module file (ending with .gwt.xml) to better represent the module functionality. I also updated all relevant files in the project (search for files containing the old name to find them) accordingly. Starting the application after that modifications ended up in an error (&#8220;[ERROR] Unable to find &#8216;&#60;old module [...]]]></description>
			<content:encoded><![CDATA[<p>The issue arose after I renamed the module file (ending with .gwt.xml) to better represent the module functionality. I also updated all relevant files in the project (search for files containing the old name to find them) accordingly.</p>
<p>Starting the application after that modifications ended up in an error (&#8220;[ERROR] Unable to find &#8216;&lt;old module name&gt;.gwt.xml&#8217; on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?&#8221;) as the AppEngine tried loading the module by its old name.</p>
<p>Solution: Delete the launch profile for the project (by choosing &#8220;Run As&#8230;&#8221; -&gt; &#8220;Run Configurations&#8230;&#8221; from the context menu).</p>
<p>Obviously the GWT does not check nor update the automatically generated launch profile thus you need to delete it to force the GWT to create a new profile from scratch taking the project changes into account. You might also adjust the profile according to the changes made, but deleting it is the safe and easy way.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2010/09/gwt-can-not-load-module-in-local-appengine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First GWT Steps</title>
		<link>http://svenbuschbeck.net/wordpress/2010/08/first-gwt-steps/</link>
		<comments>http://svenbuschbeck.net/wordpress/2010/08/first-gwt-steps/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 09:41:44 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[jobs]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[gwt]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=855</guid>
		<description><![CDATA[Just started to work with GWT – a pretty interesting approach for web development compared to PHP or JSF. The whole Application engine is quite impressive especially allowing you to quickly test your applications locally by supporting automatic hot deployment after each code update. One thing that took me a while was one of that [...]]]></description>
			<content:encoded><![CDATA[<p>Just started to work with GWT – a pretty interesting approach for web development compared to PHP or JSF. The whole Application engine is quite impressive especially allowing you to quickly test your applications locally by supporting automatic hot deployment after each code update.<br />
One thing that took me a while was one of that &#8220;[ERROR] Unable to find &#8217;[some-file].xml&#8217; on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?&#8221; errors. If you are sure the file is in place, I realized restarting the App Engine or Eclipse mostly solves that problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2010/08/first-gwt-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

