No executable after headless pde product build

If you go to build a product by calling the productBuild.xml of the org.eclipse.pde.build Bundle you will get a product packed into a zip. But inside there is no executable. If you take the product-editor and export a product out of eclipse you will got it! The different is:

  • The export via product-editor handles your product-root-files (the exe is included) automatically
  • In headless mode you have to handle the product-root-files by your self

more…

To copy the eclipse.exe to the right place you need to write a customAssembly.xml (a template can be found at org.eclipse.pde.build_*/scripts/templates/headless-build/customAssembly.xml). There you need to copy the eclipse.exe in the post.jarUp-Task to ${eclipse.base}/${os}.${ws}.${arch}/${collectingFolder}. Then pde will pack it into your product.

be happy until cancelled,
Your Codescale Team

    • Andres Olarte
    • December 28th, 2009

    This article is wrong (at least in 3.5 SR1). The correct method is to install the RCP delta pack. Install this onto your eclipse installation, and the PDE build will include the exe automatically.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.