<?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, 09 Mar 2010 15:55:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Alexander Malic</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1493</link>
		<dc:creator>Alexander Malic</dc:creator>
		<pubDate>Thu, 03 Sep 2009 21:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1493</guid>
		<description>hi patrick,

Is there a guarantee that the Target Platform will be hosted by Eclipse.

e.g.: i develop a rcp-application
in 5 years i have to implement some new features. will i be able to build my application against the target definition pointing to the eclipse galileo update site?

if not, what would you suggest instead?

at our company we are allready using a target platform. we just used all the plugins from the ganymede release for 3.4 target platform. but it&#039;s huge and there are lots of unneeded plugins in it. i&#039;ve tried to minimize it, but from a certain point i was able to build our applications, but unable to launch them. and the error message didn&#039;t tell me what.

alex</description>
		<content:encoded><![CDATA[<p>hi patrick,</p>
<p>Is there a guarantee that the Target Platform will be hosted by Eclipse.</p>
<p>e.g.: i develop a rcp-application<br />
in 5 years i have to implement some new features. will i be able to build my application against the target definition pointing to the eclipse galileo update site?</p>
<p>if not, what would you suggest instead?</p>
<p>at our company we are allready using a target platform. we just used all the plugins from the ganymede release for 3.4 target platform. but it&#8217;s huge and there are lots of unneeded plugins in it. i&#8217;ve tried to minimize it, but from a certain point i was able to build our applications, but unable to launch them. and the error message didn&#8217;t tell me what.</p>
<p>alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1484</link>
		<dc:creator>Kai</dc:creator>
		<pubDate>Thu, 03 Sep 2009 08:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1484</guid>
		<description>Hi Patrick,

Thanks for your answer - at least I now know that I didn&#039;t miss anything important ;-)
I very much agree that products should be specified using features; the only drawback which I see with this is that your RCP app becomes more bloated than it is necessary (as many features also contain plugins that you normally would not want to add). Still, trying to maintain the complete list of plugins is a real nightmare, so I opted for the features :-)

Kai</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Thanks for your answer &#8211; at least I now know that I didn&#8217;t miss anything important ;-)<br />
I very much agree that products should be specified using features; the only drawback which I see with this is that your RCP app becomes more bloated than it is necessary (as many features also contain plugins that you normally would not want to add). Still, trying to maintain the complete list of plugins is a real nightmare, so I opted for the features :-)</p>
<p>Kai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Dilger</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1475</link>
		<dc:creator>Martin Dilger</dc:creator>
		<pubDate>Wed, 02 Sep 2009 20:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1475</guid>
		<description>Hi Patrick, 

thanks for this useful hint!

Martin</description>
		<content:encoded><![CDATA[<p>Hi Patrick, </p>
<p>thanks for this useful hint!</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-1471</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 02 Sep 2009 16:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1471</guid>
		<description>Hi Kai,

I agree that it would be nice to specify dependency information in one place and reuse it for development and builds. Maybe some day we&#039;ll get to a Maven-like dependency approach. Also, it should be noted that currently a product definition is a concatenation of target platform and workspace resources, so it&#039;s not a one-to-one mapping.

Currently, there&#039;s no way that I&#039;m aware of to avoid duplicating the information. I highly suggest basing product definitions on features instead of bundles, which makes a definition simpler and easier to maintain.

Regards,

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Kai,</p>
<p>I agree that it would be nice to specify dependency information in one place and reuse it for development and builds. Maybe some day we&#8217;ll get to a Maven-like dependency approach. Also, it should be noted that currently a product definition is a concatenation of target platform and workspace resources, so it&#8217;s not a one-to-one mapping.</p>
<p>Currently, there&#8217;s no way that I&#8217;m aware of to avoid duplicating the information. I highly suggest basing product definitions on features instead of bundles, which makes a definition simpler and easier to maintain.</p>
<p>Regards,</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai</title>
		<link>http://www.modumind.com/2009/09/01/creating-an-eclipse-rcp-target-platform/comment-page-1/#comment-1462</link>
		<dc:creator>Kai</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.modumind.com/?p=828#comment-1462</guid>
		<description>Hi Patrick,

These target platforms are a very useful feature indeed. Thanks for the hint to the target file, now I also know how this setup can be easily shared among the team members :-)

There is just one thing I ask myself: What is the best way to keep this target platform definition and my RCP product definition in sync? In the .product file you also list all features/plugins that make up your application (e.g. org.eclipse.rcp) and thus this information is very close to the content of the target file.

What is your suggestion to deal with this?

Cheers,
Kai</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>These target platforms are a very useful feature indeed. Thanks for the hint to the target file, now I also know how this setup can be easily shared among the team members :-)</p>
<p>There is just one thing I ask myself: What is the best way to keep this target platform definition and my RCP product definition in sync? In the .product file you also list all features/plugins that make up your application (e.g. org.eclipse.rcp) and thus this information is very close to the content of the target file.</p>
<p>What is your suggestion to deal with this?</p>
<p>Cheers,<br />
Kai</p>
]]></content:encoded>
	</item>
</channel>
</rss>
