<?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>Radek's Tech Blog &#187; exe</title>
	<atom:link href="http://urbas.tk/index.php/tag/exe/feed/" rel="self" type="application/rss+xml" />
	<link>http://urbas.tk</link>
	<description>Radoslaw H. Urbas homepage / blog</description>
	<lastBuildDate>Tue, 01 Jun 2010 20:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Eclipse RCP launcher icon</title>
		<link>http://urbas.tk/index.php/2008/08/12/eclipse-rcp-launcher-icon/</link>
		<comments>http://urbas.tk/index.php/2008/08/12/eclipse-rcp-launcher-icon/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 00:43:56 +0000</pubDate>
		<dc:creator>Radoslaw Urbas</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[exe]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[launcher]]></category>
		<category><![CDATA[rcp]]></category>

		<guid isPermaLink="false">http://urbas.tk/?p=43</guid>
		<description><![CDATA[Eclipse RCP allows easily create an application. Additional advantage of the platform is a native launcher of the application which allows it to behave more like &#8220;native&#8221; application. It much better to have a process called your_application.exe running instead of another java.exe process.  You will probably also want to have some nice icon attached to [...]]]></description>
			<content:encoded><![CDATA[<p>Eclipse RCP allows easily create an application. Additional advantage of the platform is a native launcher of the application which allows it to behave more like &#8220;native&#8221; application. It much better to have a process called your_application.exe running instead of another java.exe process.  You will probably also want to have some nice icon attached to *.exe file of your application. This can be done easily in Eclipse 3.4. First you need to create *.ico file (containing all necassary images inside) &#8211; one of the generators available on the web can be used for this (<a href="http://www.convertico.com/" title="convertico.com" target="_blank">for example</a>).</p>
<p>Next step is configuration in *.product file:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;launcher</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;caracal&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;solaris<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;win</span> <span style="color: #000066;">useico</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ico</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;/pl.edu.agh.caracal.application/icons/caracal.ico&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/ico<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bmp<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/bmp<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/win<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/solaris<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/launcher<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>You can also use product file editor for this (a lot of enhancements were added in Eclipse 3.4):</p>
<p><img src="http://urbas.tk/wp-content/rcp_launcher_icon.PNG" alt="Launcher icon configuration" width="356" height="133" /></p>
<p>After building the application based on product file launcher will have your custom icon. No resource hacking, nor recompiling native C code is required!</p>
<p><img src="http://urbas.tk/wp-content/rcp_launcher_icon2.PNG" alt="Launcher custom icon" width="404" height="122" /></p>
]]></content:encoded>
			<wfw:commentRss>http://urbas.tk/index.php/2008/08/12/eclipse-rcp-launcher-icon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

