<?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 for Modular Mind</title>
	<atom:link href="http://www.modumind.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modumind.com</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>Comment on Plug-in Best Practices for RCP by Patrick</title>
		<link>http://www.modumind.com/2007/11/07/plug-in-best-practices-for-rcp/comment-page-1/#comment-6702</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/11/07/plug-in-best-practices-for-rcp/#comment-6702</guid>
		<description>Hi Geejay, 

A common approach is to use a splash handler to manage login. Splash handlers execute after the workbench has been started.

Login logic can also be tied to JAAS, if you&#039;re interested in that. Check out this link for more details:

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/login_extensions.html

Hope this helps,

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Geejay, </p>
<p>A common approach is to use a splash handler to manage login. Splash handlers execute after the workbench has been started.</p>
<p>Login logic can also be tied to JAAS, if you&#8217;re interested in that. Check out this link for more details:</p>
<p><a href="http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/login_extensions.html" rel="nofollow">http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/login_extensions.html</a></p>
<p>Hope this helps,</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Plug-in Best Practices for RCP by Geejay</title>
		<link>http://www.modumind.com/2007/11/07/plug-in-best-practices-for-rcp/comment-page-1/#comment-6695</link>
		<dc:creator>Geejay</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/11/07/plug-in-best-practices-for-rcp/#comment-6695</guid>
		<description>Hi

Thanks for the best practices! I hope I can use them down the track...

I am only starting with RCP/OSGi/Java actually. I come from a .NET Windows Forms /ASP.NET world.

The first hurdle I have encountered is authentication with a Login screen. I noticed I can&#039;t access services until the workbench has been started, so I&#039;m not sure what the normal &quot;practice&quot; is here. How do you do authentication with RCP?</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thanks for the best practices! I hope I can use them down the track&#8230;</p>
<p>I am only starting with RCP/OSGi/Java actually. I come from a .NET Windows Forms /ASP.NET world.</p>
<p>The first hurdle I have encountered is authentication with a Login screen. I noticed I can&#8217;t access services until the workbench has been started, so I&#8217;m not sure what the normal &#8220;practice&#8221; is here. How do you do authentication with RCP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Patrick</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6662</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6662</guid>
		<description>Hi Diana,

Based on my tests, it appears that the new version of the bundle (from source) is included in the distribution. As a best practice, I would avoid having the bundle in both places, though.

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Diana,</p>
<p>Based on my tests, it appears that the new version of the bundle (from source) is included in the distribution. As a best practice, I would avoid having the bundle in both places, though.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Diana</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6655</link>
		<dc:creator>Diana</dc:creator>
		<pubDate>Mon, 08 Mar 2010 09:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6655</guid>
		<description>Hi Patrick,
regarding the 2 plugins. They have the following in common: no plugin.xml exists for them. After I have generated a &quot;dummy&quot; plugin.xml, (added an EP then removed it).After redeploying the jars into eclipse/plugins, the 2 were recognised.

Another question: when doing headless builds, are the plugins in the buildDirectory taken into consideration by eclipse with higher priority then the ones found in the eclipse/plugins directory.
Example:
1. I have deployed the de.inframe.synapse.client.jobmanager_3.0.0.beta-002.jar into eclipse/plugins.
2. In the buildDirectory the same plugin project exists.
When I run the build I the lines above in the log.

     [java] [eclipse.buildScript] Bundle de.inframe.synapse.client.jobmanager:
     [java] [eclipse.buildScript] 	Another singleton version selected: de.inframe.synapse.client.jobmanager_3.0.0.beta-002

Does this mean that eclipse will use the plugin found in its eclipse/plugins directory. If yes, why gets this plugin recompiled?

Thanks!
Diana.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,<br />
regarding the 2 plugins. They have the following in common: no plugin.xml exists for them. After I have generated a &#8220;dummy&#8221; plugin.xml, (added an EP then removed it).After redeploying the jars into eclipse/plugins, the 2 were recognised.</p>
<p>Another question: when doing headless builds, are the plugins in the buildDirectory taken into consideration by eclipse with higher priority then the ones found in the eclipse/plugins directory.<br />
Example:<br />
1. I have deployed the de.inframe.synapse.client.jobmanager_3.0.0.beta-002.jar into eclipse/plugins.<br />
2. In the buildDirectory the same plugin project exists.<br />
When I run the build I the lines above in the log.</p>
<p>     [java] [eclipse.buildScript] Bundle de.inframe.synapse.client.jobmanager:<br />
     [java] [eclipse.buildScript] 	Another singleton version selected: de.inframe.synapse.client.jobmanager_3.0.0.beta-002</p>
<p>Does this mean that eclipse will use the plugin found in its eclipse/plugins directory. If yes, why gets this plugin recompiled?</p>
<p>Thanks!<br />
Diana.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Patrick</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6469</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 02 Mar 2010 16:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6469</guid>
		<description>Hi Diana,

It&#039;s a common case to want to build on top of other resources that have already been built. And yes, moving these pre-built resources into your build target is the way to go. BTW, it&#039;s generally not a good idea to use your Eclipse install as the build target (baseLocation property).

It&#039;s much better to create a separate directory and unpack the RCP SDK, RCP Delta Pack, and whatever you need into it. It&#039;s also a good idea to create the build target from scratch during a build because (as you&#039;ve seen) it can vary from build to build.

As for the 2 plugins that it&#039;s taking from the buildDirectory, I&#039;m guessing these are neither of these is the plugin you&#039;re trying to build. Is that right? Is there anything these two plug-ins have in common?

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Diana,</p>
<p>It&#8217;s a common case to want to build on top of other resources that have already been built. And yes, moving these pre-built resources into your build target is the way to go. BTW, it&#8217;s generally not a good idea to use your Eclipse install as the build target (baseLocation property).</p>
<p>It&#8217;s much better to create a separate directory and unpack the RCP SDK, RCP Delta Pack, and whatever you need into it. It&#8217;s also a good idea to create the build target from scratch during a build because (as you&#8217;ve seen) it can vary from build to build.</p>
<p>As for the 2 plugins that it&#8217;s taking from the buildDirectory, I&#8217;m guessing these are neither of these is the plugin you&#8217;re trying to build. Is that right? Is there anything these two plug-ins have in common?</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Diana</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6466</link>
		<dc:creator>Diana</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6466</guid>
		<description>Hi again,

Regarding my building issue problem, I have tried out this solution. (I will explain it in very short steps, and I need somebody to review it :) )

1. in the build_directory/plugins update plugins that have been modified
2. copy all unmodified plugins to the headless-eclipse/plugins directory
3. run build (at this step all the plugins that eclipse finds in its &quot;plugins&quot; directory will be used in the build process i.e &quot;Another singleton	version selected&quot; will appear for each unmodified plugin?- correct me if I&#039;m wrong)

What do you think about the above steps? Will I manage to avoid the compiling step for the unmodified plugins?
-----------------------------------------------------------

I have put in practice the steps described above and copied all of the jars generated by the feature build, unpacked them to eclipse plugins directory. For 2 plugins out of 62, eclipse doesn&#039;t use the plugins from its directory but takes the 2 plugins from the buildDirectory :((
Could it be that the 2 jars for haven&#039;t been correctly build. After what details should I look in order to find the cause?

Thank you!
Regards,
Diana.</description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>Regarding my building issue problem, I have tried out this solution. (I will explain it in very short steps, and I need somebody to review it :) )</p>
<p>1. in the build_directory/plugins update plugins that have been modified<br />
2. copy all unmodified plugins to the headless-eclipse/plugins directory<br />
3. run build (at this step all the plugins that eclipse finds in its &#8220;plugins&#8221; directory will be used in the build process i.e &#8220;Another singleton	version selected&#8221; will appear for each unmodified plugin?- correct me if I&#8217;m wrong)</p>
<p>What do you think about the above steps? Will I manage to avoid the compiling step for the unmodified plugins?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>I have put in practice the steps described above and copied all of the jars generated by the feature build, unpacked them to eclipse plugins directory. For 2 plugins out of 62, eclipse doesn&#8217;t use the plugins from its directory but takes the 2 plugins from the buildDirectory :((<br />
Could it be that the 2 jars for haven&#8217;t been correctly build. After what details should I look in order to find the cause?</p>
<p>Thank you!<br />
Regards,<br />
Diana.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Diana</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6463</link>
		<dc:creator>Diana</dc:creator>
		<pubDate>Tue, 02 Mar 2010 13:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6463</guid>
		<description>Hi Patrick,

Thank you very kindly for your answer, I have tried out your first suggestion on the build directory. More precisely I have changed the following 2 lines in the build.properties file.

topLevelElementType = plugin
topLevelElementId = de.inframe.synapse.client.framework

The compilation seemed to work OK but at the assamble-step I received the following error:

  [java] init:
     [java] assembleElement:
     [java] Java Result: 13
     [echo] BUILD FAILED
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\build.xml:27: The following error occurred while executing this line:
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\build.xml:92: The following error occurred while executing this line:
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\customTargets.xml:12: The following error occurred while executing this line:
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\allElements.xml:16: The following error occurred while executing this line:
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\genericTargets.xml:134: The following error occurred while executing this line:
     [echo] java.io.FileNotFoundException: C:\builds\featurebuilder\assemble.de.inframe.synapse.client.framework.all.xml (Das System kann die angegebene Datei nicht finden)

Do you have any clue why?

Thanks again,
Diana.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Thank you very kindly for your answer, I have tried out your first suggestion on the build directory. More precisely I have changed the following 2 lines in the build.properties file.</p>
<p>topLevelElementType = plugin<br />
topLevelElementId = de.inframe.synapse.client.framework</p>
<p>The compilation seemed to work OK but at the assamble-step I received the following error:</p>
<p>  [java] init:<br />
     [java] assembleElement:<br />
     [java] Java Result: 13<br />
     [echo] BUILD FAILED<br />
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\build.xml:27: The following error occurred while executing this line:<br />
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\build.xml:92: The following error occurred while executing this line:<br />
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\customTargets.xml:12: The following error occurred while executing this line:<br />
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\allElements.xml:16: The following error occurred while executing this line:<br />
     [echo] C:\builds\workspace\de.inframe.synapse.client.builder.simple\featurebuilder\genericTargets.xml:134: The following error occurred while executing this line:<br />
     [echo] java.io.FileNotFoundException: C:\builds\featurebuilder\assemble.de.inframe.synapse.client.framework.all.xml (Das System kann die angegebene Datei nicht finden)</p>
<p>Do you have any clue why?</p>
<p>Thanks again,<br />
Diana.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Patrick</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6443</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Mon, 01 Mar 2010 19:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6443</guid>
		<description>Hi Diana,

PDE Build can build a specific plug-in. You can use the topLevelElementType and topLevelElementId properties to set this up, and I imagine you could use variable substitution in an Ant script to build one or more plug-ins that have changed.

Whether this will work or not depends on your goals for the build. If you&#039;re building to verify the process and run unit tests, this shouldn&#039;t be a problem. If you&#039;re building to deploy (e.g. to a p2 repository), then the feature version will need to be incremented every time a plug-in is built, even if this is only the qualifier section.

Another alternative might be to create more fine-grained features.

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Diana,</p>
<p>PDE Build can build a specific plug-in. You can use the topLevelElementType and topLevelElementId properties to set this up, and I imagine you could use variable substitution in an Ant script to build one or more plug-ins that have changed.</p>
<p>Whether this will work or not depends on your goals for the build. If you&#8217;re building to verify the process and run unit tests, this shouldn&#8217;t be a problem. If you&#8217;re building to deploy (e.g. to a p2 repository), then the feature version will need to be incremented every time a plug-in is built, even if this is only the qualifier section.</p>
<p>Another alternative might be to create more fine-grained features.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with PDE Build by Diana</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-6436</link>
		<dc:creator>Diana</dc:creator>
		<pubDate>Mon, 01 Mar 2010 10:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-6436</guid>
		<description>Hi Patrick,

I use a feature-build that manages more then 60 eclipse plugins. When somebody makes changes on one plugin, the build process is triggered for all the plugins in the feature.
Do you know if there is a way to customize the headless builds in such a way that only the plugins changed through the last commit are re-build?

Thanks,
Diana.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>I use a feature-build that manages more then 60 eclipse plugins. When somebody makes changes on one plugin, the build process is triggered for all the plugins in the feature.<br />
Do you know if there is a way to customize the headless builds in such a way that only the plugins changed through the last commit are re-build?</p>
<p>Thanks,<br />
Diana.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updated PDE Build and Test Example by Anthony</title>
		<link>http://www.modumind.com/2008/08/04/updated-pde-build-and-test-example/comment-page-2/#comment-6250</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Tue, 23 Feb 2010 16:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/?p=100#comment-6250</guid>
		<description>Hello !
well, besides this exception, no warnings nor errors are mentioned during the build.
The failure occurs during the target &quot;java-test&quot; called by &quot;core-test&quot;, located in ${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml called by your build.xml.
the thing is, my test plugins project still define dependencies to corona.test.application , I tried to add dependencies to org.eclipse.core.runtime (just like you did in your helloworld project), but the error remained...
I shall try it on a smaller project, mine contains more than 20 bundles
Thanks for the help ! Much appreciated !</description>
		<content:encoded><![CDATA[<p>Hello !<br />
well, besides this exception, no warnings nor errors are mentioned during the build.<br />
The failure occurs during the target &#8220;java-test&#8221; called by &#8220;core-test&#8221;, located in ${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml called by your build.xml.<br />
the thing is, my test plugins project still define dependencies to corona.test.application , I tried to add dependencies to org.eclipse.core.runtime (just like you did in your helloworld project), but the error remained&#8230;<br />
I shall try it on a smaller project, mine contains more than 20 bundles<br />
Thanks for the help ! Much appreciated !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
