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
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
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.
You’r right. This description is based on version 3.4