<?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>Fri, 05 Feb 2010 16:34:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-5319</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Mon, 25 Jan 2010 16:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-5319</guid>
		<description>Hi Markus,

I&#039;ve never tried to do this, but you might want to look at adding some logic to the customTargets.xml file to copy the tmp directory someplace before it&#039;s deleted.

Also, it might be worthwhile talking about what you need to save in the tmp directory, and if there&#039;s another way to meet your needs. If you want to talk about it offline, feel free to send me an email.

Regards,

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Markus,</p>
<p>I&#8217;ve never tried to do this, but you might want to look at adding some logic to the customTargets.xml file to copy the tmp directory someplace before it&#8217;s deleted.</p>
<p>Also, it might be worthwhile talking about what you need to save in the tmp directory, and if there&#8217;s another way to meet your needs. If you want to talk about it offline, feel free to send me an email.</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-5312</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Mon, 25 Jan 2010 09:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-5312</guid>
		<description>Hello Patrick,

thank you for this great guide it helped me a lot! It&#039;s hard to find usefull help if it comes to pde and headless building so I&#039;m glad you took the time to explain the most important part here.

But I still have a problem. The build works and everything, but I want to keep the generated tmp dir or in particular one of the plugins in it. I copyied the customTargets.xml into my configuration dir and deleted the clean target and it&#039;s call (postGenerate target)but it still deletes the tmp dir at the end of the build. 

Do you have an advice how to do this?</description>
		<content:encoded><![CDATA[<p>Hello Patrick,</p>
<p>thank you for this great guide it helped me a lot! It&#8217;s hard to find usefull help if it comes to pde and headless building so I&#8217;m glad you took the time to explain the most important part here.</p>
<p>But I still have a problem. The build works and everything, but I want to keep the generated tmp dir or in particular one of the plugins in it. I copyied the customTargets.xml into my configuration dir and deleted the clean target and it&#8217;s call (postGenerate target)but it still deletes the tmp dir at the end of the build. </p>
<p>Do you have an advice how to do this?</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-4655</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 08 Jan 2010 19:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-4655</guid>
		<description>For anyone following along, Georges problem was fixed by updating the version number of the org.eclipse.rcp feature in the product definition.

This is a common problem when upgrading from one version of RCP to another. The version number is embedded in the product definition and needs to be changed when upgrading. The simplest way to do this is to remove the org.eclipse.rcp feature from your product and then re-add it.

Hope this helps anyone facing a similar problem.

--- Patrick</description>
		<content:encoded><![CDATA[<p>For anyone following along, Georges problem was fixed by updating the version number of the org.eclipse.rcp feature in the product definition.</p>
<p>This is a common problem when upgrading from one version of RCP to another. The version number is embedded in the product definition and needs to be changed when upgrading. The simplest way to do this is to remove the org.eclipse.rcp feature from your product and then re-add it.</p>
<p>Hope this helps anyone facing a similar problem.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georges</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-4617</link>
		<dc:creator>Georges</dc:creator>
		<pubDate>Thu, 07 Jan 2010 14:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-4617</guid>
		<description>Hi Patrick,

You helped us two years ago to set up our PDE build process for Europa.
We want to upgrade our Eclipse platform from Europa to Galileo. Our headless PDE build process works fine with Europa but fails with Galileo. Your example, updated for Eclipse 3.5.1 builds with no problem on our Galileo.

On our project, the build process stops on a generateFeature step with Java error code 13 and we get the following error message: Unable to find feature &quot;feature_com.xxx.metatest.jniusbasic&quot; with version in range [1.0.0,1.0.0]

I am totally stuck on this! I send you the build log file through email. Could you please give us some direction or some point to look at?

Thanks a lot in advance for your time!

Georges</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>You helped us two years ago to set up our PDE build process for Europa.<br />
We want to upgrade our Eclipse platform from Europa to Galileo. Our headless PDE build process works fine with Europa but fails with Galileo. Your example, updated for Eclipse 3.5.1 builds with no problem on our Galileo.</p>
<p>On our project, the build process stops on a generateFeature step with Java error code 13 and we get the following error message: Unable to find feature &#8220;feature_com.xxx.metatest.jniusbasic&#8221; with version in range [1.0.0,1.0.0]</p>
<p>I am totally stuck on this! I send you the build log file through email. Could you please give us some direction or some point to look at?</p>
<p>Thanks a lot in advance for your time!</p>
<p>Georges</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-4214</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Tue, 22 Dec 2009 08:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-4214</guid>
		<description>Hi Patrick,
I was using the pde-maven plugin for building my eclipse rcp app.Following is the pom entry for it:-
 
                org.codehaus.mojo
                pde-maven-plugin
                1.0-alpha-2-SNAPSHOT
				true
                
                    
                        ${pde.build.label}
                        ${pde.java.source}
                        ${pde.java.target}
                        ${pde.pluginpath}
                        ${pde.base}
                        ${pde.baselocation}
                        ${pde.baseos}
                        ${pde.basews}
                        ${pde.basearch}
                        &lt;!--win32,win32,x86--&gt;
                    
                    ${pde.eclipseInstall}
                    ${pde.product.finalname}
                    ${pde.build.version}
					1.0.201.R35x_v20090715
                
            

But I was getting the error 
java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.eclipse.equinox.launcher.Main.  Program will exit.
I have tried googling a lot but with no success.As given in the comment above,Govind had got the same error.
After a long hit and trial,I found that the problem was that due to that we have two jars in eclipse/plugins folder org.eclipse.equinox.launcher.source_1.0.201.R35x_v20090715.jar and org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar.When I removed the org.eclipse.equinox.launcher.source_1.0.201.R35x_v20090715.jar,it tried to find a org.eclipse.equinox.launcher.Main class in org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar and it finds that class in org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar and finally the problem got resolved.

Posting it so that if anyone facing a same problem,it might be the reason for it.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,<br />
I was using the pde-maven plugin for building my eclipse rcp app.Following is the pom entry for it:-</p>
<p>                org.codehaus.mojo<br />
                pde-maven-plugin<br />
                1.0-alpha-2-SNAPSHOT<br />
				true</p>
<p>                        ${pde.build.label}<br />
                        ${pde.java.source}<br />
                        ${pde.java.target}<br />
                        ${pde.pluginpath}<br />
                        ${pde.base}<br />
                        ${pde.baselocation}<br />
                        ${pde.baseos}<br />
                        ${pde.basews}<br />
                        ${pde.basearch}<br />
                        &lt;!&#8211;win32,win32,x86&#8211;&gt;</p>
<p>                    ${pde.eclipseInstall}<br />
                    ${pde.product.finalname}<br />
                    ${pde.build.version}<br />
					1.0.201.R35x_v20090715</p>
<p>But I was getting the error<br />
java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main<br />
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main<br />
        at java.net.URLClassLoader$1.run(Unknown Source)<br />
        at java.security.AccessController.doPrivileged(Native Method)<br />
        at java.net.URLClassLoader.findClass(Unknown Source)<br />
        at java.lang.ClassLoader.loadClass(Unknown Source)<br />
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<br />
        at java.lang.ClassLoader.loadClass(Unknown Source)<br />
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />
Could not find the main class: org.eclipse.equinox.launcher.Main.  Program will exit.<br />
I have tried googling a lot but with no success.As given in the comment above,Govind had got the same error.<br />
After a long hit and trial,I found that the problem was that due to that we have two jars in eclipse/plugins folder org.eclipse.equinox.launcher.source_1.0.201.R35x_v20090715.jar and org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar.When I removed the org.eclipse.equinox.launcher.source_1.0.201.R35x_v20090715.jar,it tried to find a org.eclipse.equinox.launcher.Main class in org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar and it finds that class in org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar and finally the problem got resolved.</p>
<p>Posting it so that if anyone facing a same problem,it might be the reason for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joep</title>
		<link>http://www.modumind.com/2007/06/06/getting-started-with-pde-build/comment-page-6/#comment-4005</link>
		<dc:creator>Joep</dc:creator>
		<pubDate>Wed, 16 Dec 2009 03:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-4005</guid>
		<description>Turns out that the launch.ini file has nothing to do with the generated jnlp file.
The launch.ini file is simply there to help run Equinox from a Jar. We&#039;re using that to host the help pages from a web-server.

I&#039;m adding an additional property in the resources section of the JNLP file and adding the jnlp.jar as on the rcp bundle&#039;s local classpath.

    
    
    
    
   	&lt;!--  Telling Equinox to load javax.jnlp classes from boot classloader which will be provided by WebStart --&gt;
    
  

Cheers,

Joep</description>
		<content:encoded><![CDATA[<p>Turns out that the launch.ini file has nothing to do with the generated jnlp file.<br />
The launch.ini file is simply there to help run Equinox from a Jar. We&#8217;re using that to host the help pages from a web-server.</p>
<p>I&#8217;m adding an additional property in the resources section of the JNLP file and adding the jnlp.jar as on the rcp bundle&#8217;s local classpath.</p>
<p>   	<!--  Telling Equinox to load javax.jnlp classes from boot classloader which will be provided by WebStart --></p>
<p>Cheers,</p>
<p>Joep</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-3866</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 11 Dec 2009 18:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/06/06/getting-started-with-pde-build/#comment-3866</guid>
		<description>Hi Joep,

I&#039;m sorry to say I haven&#039;t worked with JNLP before. You might have better luck asking on the RCP mailing list, if you haven&#039;t already.

Sorry I can&#039;t be more help with this.

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Joep,</p>
<p>I&#8217;m sorry to say I haven&#8217;t worked with JNLP before. You might have better luck asking on the RCP mailing list, if you haven&#8217;t already.</p>
<p>Sorry I can&#8217;t be more help with this.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
</channel>
</rss>
