<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating an Eclipse RCP target platform</title>
	<atom:link href="http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/</link>
	<description>Eclipse RCP and OSGi training - online or onsite</description>
	<lastBuildDate>Tue, 07 Sep 2010 11:09:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Contributing to JSDT: Setting up Build Target &#171; Eclipsed</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-11055</link>
		<dc:creator>Contributing to JSDT: Setting up Build Target &#171; Eclipsed</dc:creator>
		<pubDate>Tue, 31 Aug 2010 01:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-11055</guid>
		<description>[...] Modular Mind has some great articles on PDE build targets. [...]</description>
		<content:encoded><![CDATA[<p>[...] Modular Mind has some great articles on PDE build targets. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-7880</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 14 Apr 2010 18:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-7880</guid>
		<description>Hi Ryan,

Ah, I understand what you mean. Occasionally it makes sense to add bundles to your own features, especially if you only need a few from a particular eclipse feature. Bringing in org.eclipse.platform is usually overkill for most RCP apps.

I often create a &quot;support&quot; feature for the third party (including Eclipse) bundles I need for a given feature. For example:

com.modumind.myapp.feature
com.modumind.myapp.support.feature

I usually create a separate folder to hold the support bundles for each feature, and these can be versioned if you like. These folders can then be added to your target platform in the normal way.

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Ah, I understand what you mean. Occasionally it makes sense to add bundles to your own features, especially if you only need a few from a particular eclipse feature. Bringing in org.eclipse.platform is usually overkill for most RCP apps.</p>
<p>I often create a &#8220;support&#8221; feature for the third party (including Eclipse) bundles I need for a given feature. For example:</p>
<p>com.modumind.myapp.feature<br />
com.modumind.myapp.support.feature</p>
<p>I usually create a separate folder to hold the support bundles for each feature, and these can be versioned if you like. These folders can then be added to your target platform in the normal way.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-7878</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 14 Apr 2010 16:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-7878</guid>
		<description>Hi Patrick,
I setup a test project with only the runtime bundles and quickly realized why you want the SDKs.

I agree that managing the target is easier with features, but what I was trying to figure out was the mapping between a required plug-in in my run configuration and what feature it was in (so I could add that feature to my target).  I&#039;ve been developing against my (bloated?) eclipse install for quite some time, so I had some plug-ins I wasn&#039;t sure what feature they were in.  Eg. org.hamcrest.core... turns out that plug-in is in the eclipse platform.  It&#039;s how to determine what feature that plug-in is included in that I wasn&#039;t sure about.  In that case, I was just looking through the eclipse platform, rcp, pde, etc. zip packages from that site and saw it in there.

Ryan</description>
		<content:encoded><![CDATA[<p>Hi Patrick,<br />
I setup a test project with only the runtime bundles and quickly realized why you want the SDKs.</p>
<p>I agree that managing the target is easier with features, but what I was trying to figure out was the mapping between a required plug-in in my run configuration and what feature it was in (so I could add that feature to my target).  I&#8217;ve been developing against my (bloated?) eclipse install for quite some time, so I had some plug-ins I wasn&#8217;t sure what feature they were in.  Eg. org.hamcrest.core&#8230; turns out that plug-in is in the eclipse platform.  It&#8217;s how to determine what feature that plug-in is included in that I wasn&#8217;t sure about.  In that case, I was just looking through the eclipse platform, rcp, pde, etc. zip packages from that site and saw it in there.</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-7876</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 14 Apr 2010 15:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-7876</guid>
		<description>Hi Ryan,

Here are my thoughts on your questions:

1. The RCP SDK contains source bundles. When you&#039;re creating a target platform for development use, you want source bundles so you can browse and debug into it. The source bundles also provide the extension point definitions and it&#039;s difficult to developer RCP apps without them. For a build machine, I would generally use the regular RCP Runtime + Delta Pack.

2. It&#039;s no problem to just download the RCP SDK, extract it, and then add that file to your target platform definition. It&#039;s true that the RCP SDK (and Runtime) are platform independent and that does seem strange. I suppose it makes it possible to export your app from the IDE, though PDE Build will still fail. Anyway, you only need the RCP SDK for development, RCP Runtime + Delta Pack for a build machine.

3. The link in your post is the correct place to download any of the RCP-related zip files.

4. Generally it&#039;s easier to manage your target platform at the feature level. This means that even if certain bundles are not required by the run configuration, they are still part of your target platform. It&#039;s possible that you could weed out the bundles that are not required, but in my opinion it&#039;s better to think of features as the real building blocks for RCP apps and to leave them intact in the target platform.

I hope this helps, 

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Here are my thoughts on your questions:</p>
<p>1. The RCP SDK contains source bundles. When you&#8217;re creating a target platform for development use, you want source bundles so you can browse and debug into it. The source bundles also provide the extension point definitions and it&#8217;s difficult to developer RCP apps without them. For a build machine, I would generally use the regular RCP Runtime + Delta Pack.</p>
<p>2. It&#8217;s no problem to just download the RCP SDK, extract it, and then add that file to your target platform definition. It&#8217;s true that the RCP SDK (and Runtime) are platform independent and that does seem strange. I suppose it makes it possible to export your app from the IDE, though PDE Build will still fail. Anyway, you only need the RCP SDK for development, RCP Runtime + Delta Pack for a build machine.</p>
<p>3. The link in your post is the correct place to download any of the RCP-related zip files.</p>
<p>4. Generally it&#8217;s easier to manage your target platform at the feature level. This means that even if certain bundles are not required by the run configuration, they are still part of your target platform. It&#8217;s possible that you could weed out the bundles that are not required, but in my opinion it&#8217;s better to think of features as the real building blocks for RCP apps and to leave them intact in the target platform.</p>
<p>I hope this helps, </p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-7848</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 13 Apr 2010 14:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-7848</guid>
		<description>Hi Patrick,
I&#039;ve been trying to get my project switched over to a target file and have a several questions.
First, why do you pick the RCP SDK instead of just the RCP package?  It seems like for a target, you&#039;d only need the runtime, not the source.
Second, is there a way to just download the RCP and use the add directory option, and not use the update site?  This site http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php lists the RCP, but it seems to be platform dependent; I thought that it would be platform independent with the delta pack holding all the platform dependent bits.  This goes for all the other packages listed by the Galileo update site; where do I download them so I don&#039;t depend on the update site for my target file.
And finally, I&#039;ve deselected all plug-ins in my run configuration and clicked &quot;Add Required&quot;.  How do I go from the package/plug-ins listed in my run configuration to the eclipse project I need to add to my target file?

Thanks,
Ryan</description>
		<content:encoded><![CDATA[<p>Hi Patrick,<br />
I&#8217;ve been trying to get my project switched over to a target file and have a several questions.<br />
First, why do you pick the RCP SDK instead of just the RCP package?  It seems like for a target, you&#8217;d only need the runtime, not the source.<br />
Second, is there a way to just download the RCP and use the add directory option, and not use the update site?  This site <a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php" rel="nofollow">http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php</a> lists the RCP, but it seems to be platform dependent; I thought that it would be platform independent with the delta pack holding all the platform dependent bits.  This goes for all the other packages listed by the Galileo update site; where do I download them so I don&#8217;t depend on the update site for my target file.<br />
And finally, I&#8217;ve deselected all plug-ins in my run configuration and clicked &#8220;Add Required&#8221;.  How do I go from the package/plug-ins listed in my run configuration to the eclipse project I need to add to my target file?</p>
<p>Thanks,<br />
Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-3793</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 09 Dec 2009 22:42:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-3793</guid>
		<description>HI Martin,

There&#039;s no way I know of to link target platforms and product definitions. The target platform specifies all of the bundles which *may* become part of your product. The product definition specifies the bundles that *are* part of your product. 

I agree that there is some redundancy here and it would be nice if you could simply specify things once. 

--- Patrick</description>
		<content:encoded><![CDATA[<p>HI Martin,</p>
<p>There&#8217;s no way I know of to link target platforms and product definitions. The target platform specifies all of the bundles which *may* become part of your product. The product definition specifies the bundles that *are* part of your product. </p>
<p>I agree that there is some redundancy here and it would be nice if you could simply specify things once. </p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Roberts</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-3781</link>
		<dc:creator>Martin Roberts</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-3781</guid>
		<description>Hi,
  how do I get the target platform and a product definition linked together?

Martin</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  how do I get the target platform and a product definition linked together?</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1724</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 18 Sep 2009 17:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1724</guid>
		<description>Hi Paul,

Yes, you will almost always need to add other bundles to your target platform. JUnit is a common one, third party libraries will need to be added as well.

You can structure these additions in various ways. For some, you may want to create a directory and place the bundles there. For others (JUnit for example), you may want to point at an installation and select the bundles you need.

One thing to be careful of is to add only the bundles you really need. Adding the EclipseSDK to your target platform is usually unnecessary. Remember that you don&#039;t have to limit a target platform to features, it can contain individual bundles as well. You&#039;ll want to create your own features to contain those bundles. For example, you may want to create a com.mycompany.myproduct.test feature to reference your JUnit bundle.

Regards,

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Yes, you will almost always need to add other bundles to your target platform. JUnit is a common one, third party libraries will need to be added as well.</p>
<p>You can structure these additions in various ways. For some, you may want to create a directory and place the bundles there. For others (JUnit for example), you may want to point at an installation and select the bundles you need.</p>
<p>One thing to be careful of is to add only the bundles you really need. Adding the EclipseSDK to your target platform is usually unnecessary. Remember that you don&#8217;t have to limit a target platform to features, it can contain individual bundles as well. You&#8217;ll want to create your own features to contain those bundles. For example, you may want to create a com.mycompany.myproduct.test feature to reference your JUnit bundle.</p>
<p>Regards,</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1713</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 18 Sep 2009 06:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1713</guid>
		<description>Hi Patrick,

one little remark I have realized when playing around with target platform ...
As long as I only have my RCP application in my Eclipse workspace everything is OK. But as soon as I want to add some junit test to my code the target platform in not sufficient any more. If I want to run pure java unit test as well as plugin junit tests I need to expand the target platform further. I ended up using the at least the EclipseSDK package as target platform, in order to work as usual!
Nevertheless, I still think that the concept of target platform is very valuable.

What are your experience in this area? Any possibilities I have missed?

Regards
Paul</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>one little remark I have realized when playing around with target platform &#8230;<br />
As long as I only have my RCP application in my Eclipse workspace everything is OK. But as soon as I want to add some junit test to my code the target platform in not sufficient any more. If I want to run pure java unit test as well as plugin junit tests I need to expand the target platform further. I ended up using the at least the EclipseSDK package as target platform, in order to work as usual!<br />
Nevertheless, I still think that the concept of target platform is very valuable.</p>
<p>What are your experience in this area? Any possibilities I have missed?</p>
<p>Regards<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1494</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 03 Sep 2009 22:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1494</guid>
		<description>Hi Alex, 

That would be a good question to ask the Eclipse Foundation, but I doubt if they would provide a guarantee. I was talking to Jeff McAffer at EclipseCon about this issue and he suggested Yoxos as a solution. This is really the same problem as depending on a Maven repository for builds, but they have a longer track record of supporting this type of thing.

In my work, I do not yet use update sites for build targets, only for development. I usually construct build targets locally and then archive them along with my source code.

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Alex, </p>
<p>That would be a good question to ask the Eclipse Foundation, but I doubt if they would provide a guarantee. I was talking to Jeff McAffer at EclipseCon about this issue and he suggested Yoxos as a solution. This is really the same problem as depending on a Maven repository for builds, but they have a longer track record of supporting this type of thing.</p>
<p>In my work, I do not yet use update sites for build targets, only for development. I usually construct build targets locally and then archive them along with my source code.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
</channel>
</rss>
