<?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>Service Geist &#187; Eclipse</title>
	<atom:link href="http://www.service-geist.de/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.service-geist.de</link>
	<description>Tom's Blog &#38; Home of iPlode</description>
	<lastBuildDate>Sun, 02 May 2010 16:05:47 +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>Eclipse Runnable JAR File &#8211; SWT Applikation langsam unter Mac OS</title>
		<link>http://www.service-geist.de/2009/01/13/eclipse-runnable-jar-file-swt-applikation-langsam-unter-mac-os/</link>
		<comments>http://www.service-geist.de/2009/01/13/eclipse-runnable-jar-file-swt-applikation-langsam-unter-mac-os/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 21:14:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Software-Entwicklung]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[SWT]]></category>

		<guid isPermaLink="false">http://www.service-geist.de/?p=358</guid>
		<description><![CDATA[Bei dem Versuch unter Mac OS mit Eclipse ein Runnable JAR File zu exportieren bin ich heute auf ein Problem gestossen. Der Export an sich klappt problemlos, doch wenn man das JAR dann gestartet hat &#8211; eine SWT Applikation &#8211; war die Applikation langsam bis hin zur Unbrauchbarkeit. Da dieses Problem nicht auftritt wenn die [...]]]></description>
			<content:encoded><![CDATA[<p>Bei dem Versuch unter Mac OS mit Eclipse ein <em>Runnable JAR File</em> zu exportieren bin ich heute auf ein Problem gestossen. Der Export an sich klappt problemlos, doch wenn man das JAR dann gestartet hat &#8211; eine <a href="http://www.eclipse.org/swt/">SWT</a> Applikation &#8211; war die Applikation langsam bis hin zur Unbrauchbarkeit. </p>
<p>Da dieses Problem nicht auftritt wenn die Applikation aus Eclipse heraus gestartet wird, habe ich im Terminal ein wenig mit <a href="http://de.wikipedia.org/wiki/Ps_(Unix)">ps</a> gespielt und herausgefunden, dass Eclipse per default die folgenden Java Option setzt <em>-XstartOnFirstThread</em>. Startet man das Runnable JAR direkt (per Doppelklick) fehlt diese Option.</p>
<p>Dieses Problem wird auch im <a href="http://www.eclipse.org/swt/faq.php#carbonapp">SWT FAQ</a> behandelt, aber das habe ich erst hinterher gefunden ;):</p>
<blockquote><p>
Q: On Mac Carbon, how do I run an SWT application from the command line?<br />
A: If you run a Java application that uses Carbon via JNI, the application is not registered with the OS as a &#8216;normal&#8217; UI application. As a consequence, it has no entry in the dock and it cannot be activated. AWT (or Swing) based applications don&#8217;t have this problem because they seem to use undocumented SPI to register themselves.<br />
To work around this problem you&#8217;ll have to pass the -XstartOnFirstThread option to the java executable as follows:</p>
<p>         java -XstartOnFirstThread -cp swt.jar:. ControlExample</p>
<p>If you want to run a bundled application, take a look at this article.
</p></blockquote>
<p>Zum Glück führt das FAQ dann auch direkt zu diesem <a href="http://www.eclipse.org/swt/macosx/">Artikel</a>, der beschreibt wie man aus einem Runnable JAR ein Mac OS Bundle machen kann. Das ist genau die Information, die mir noch gefehlt hat und das werde ich natürlich vorm Release von <a href="http://www.service-geist.de/iplode/">iPlode</a> noch ausprobieren und dann berichten; ich hoffe vielmehr man kann das Ergebnis dann hier bewundern :).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.service-geist.de/2009/01/13/eclipse-runnable-jar-file-swt-applikation-langsam-unter-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPlode für Windows</title>
		<link>http://www.service-geist.de/2009/01/11/iplode-fur-windows/</link>
		<comments>http://www.service-geist.de/2009/01/11/iplode-fur-windows/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 17:49:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Aktuell]]></category>
		<category><![CDATA[iPlode]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.service-geist.de/?p=347</guid>
		<description><![CDATA[Das ging wie erhofft und doch einfacher als gedacht. Den Eclipse Workspace unter Windows (VMWare sei dank ruck-zuck) dupliziert und dann die Mac OS SWT-Libraries gegen die entsprechenden Windows-Libraries ausgetauscht im Projekt und fertig :). Dann sollte dem gleichzeitigen &#8220;Release&#8221; ja nichts mehr im Wege stehen. (Hier nochmal der entsprechende Screenshot in Mac OS Optik.)]]></description>
			<content:encoded><![CDATA[<p>Das ging wie erhofft und doch einfacher als gedacht. Den Eclipse Workspace unter Windows (VMWare sei dank ruck-zuck) dupliziert und dann die Mac OS SWT-Libraries gegen die entsprechenden Windows-Libraries ausgetauscht im Projekt und fertig :). </p>
<p><a href="http://www.service-geist.de/wp-content/uploads/2009/01/iplode_screenshot4.png"><img src="http://www.service-geist.de/wp-content/uploads/2009/01/iplode_screenshot4-265x300.png" alt="" title="iplode_screenshot4" width="265" height="300" class="alignnone size-medium wp-image-348" /></a></p>
<p>Dann sollte dem gleichzeitigen &#8220;Release&#8221; ja nichts mehr im Wege stehen. (Hier nochmal der entsprechende <a href="http://www.service-geist.de/2009/01/10/iplode-fortschritte/">Screenshot</a> in Mac OS Optik.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.service-geist.de/2009/01/11/iplode-fur-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
