<?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: Getting started with PDE Build</title>
	<atom:link href="http://www.modumind.com/2007/06/06/getting-started-with-pde-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/</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/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>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>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>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>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>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>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>By: Markus</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-5558</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Mon, 01 Feb 2010 08:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-5558</guid>
		<description>Hey Patrick,

no, sadly, an additional project is not an option. Your suggestion about the custom task could be it. 
However I solved this in a different way. As we use maven 2 to automatically build the projects I used the maven bundle plugin to build the bundle of the project on mvn install and after that the build.xml (headless build) is executed using the exec-maven-plugin. The headless build then uses the build bundle.

All in all it was quite a fight but thanks to your article and the comments here it was less a hell than it could be.

Thanks again :)</description>
		<content:encoded><![CDATA[<p>Hey Patrick,</p>
<p>no, sadly, an additional project is not an option. Your suggestion about the custom task could be it.<br />
However I solved this in a different way. As we use maven 2 to automatically build the projects I used the maven bundle plugin to build the bundle of the project on mvn install and after that the build.xml (headless build) is executed using the exec-maven-plugin. The headless build then uses the build bundle.</p>
<p>All in all it was quite a fight but thanks to your article and the comments here it was less a hell than it could be.</p>
<p>Thanks again :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-5474</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 29 Jan 2010 19:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-5474</guid>
		<description>Hi Markus,

Perhaps one option would be to move the build configuration area out of the product bundle. I usually create a com.mycompany.myapp.build project for each application. This project is not a bundle, just a regular project that contains build-related files such as build.properties. This project also serves as the config area for PDE Build.

I&#039;ve never had any problems with this approach, and you definitely shouldn&#039;t have to go through the process you describe. If creating a separate build project isn&#039;t an option, I guess you&#039;ll need to try the solution I suggest above (custom task to copy the tmp folder).

Regards,

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Markus,</p>
<p>Perhaps one option would be to move the build configuration area out of the product bundle. I usually create a com.mycompany.myapp.build project for each application. This project is not a bundle, just a regular project that contains build-related files such as build.properties. This project also serves as the config area for PDE Build.</p>
<p>I&#8217;ve never had any problems with this approach, and you definitely shouldn&#8217;t have to go through the process you describe. If creating a separate build project isn&#8217;t an option, I guess you&#8217;ll need to try the solution I suggest above (custom task to copy the tmp folder).</p>
<p>Regards,</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-5460</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Fri, 29 Jan 2010 10:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-5460</guid>
		<description>Hi Patrick,

thank you for your answer.

My situation: 
The headless build is beeing started from within the plugin project with the .product. Therefore the headless build can&#039;t find the defining plugin (the one with the .product as it is not build yet and the headless build is taking place in it). Currently I added the root path of the project as a plugin path to the build.properties so the pde builds a bundle of the project automatically before the headless build itself begins and then grabs this bundle during the build.
The automatically build bundle is located temporary in a tmp directory. After the headless build the tmp directory is beeing cleaned so the bundle is deleted. I want to avoid this as I want to keep this bundle.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>thank you for your answer.</p>
<p>My situation:<br />
The headless build is beeing started from within the plugin project with the .product. Therefore the headless build can&#8217;t find the defining plugin (the one with the .product as it is not build yet and the headless build is taking place in it). Currently I added the root path of the project as a plugin path to the build.properties so the pde builds a bundle of the project automatically before the headless build itself begins and then grabs this bundle during the build.<br />
The automatically build bundle is located temporary in a tmp directory. After the headless build the tmp directory is beeing cleaned so the bundle is deleted. I want to avoid this as I want to keep this bundle.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
